| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../http/tests/inspector/debugger-test.js"></script> | 4 <script src="../../http/tests/inspector/debugger-test.js"></script> |
| 5 | 5 |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function testFunction() | 8 function testFunction() |
| 9 { | 9 { |
| 10 var x = Math.sqrt(10); | 10 var x = Math.sqrt(10); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 { | 47 { |
| 48 dumpBreakpointSidebarPane() | 48 dumpBreakpointSidebarPane() |
| 49 InspectorTest.addResult("Script execution resumed."); | 49 InspectorTest.addResult("Script execution resumed."); |
| 50 next(); | 50 next(); |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 ]); | 53 ]); |
| 54 | 54 |
| 55 function dumpBreakpointSidebarPane() | 55 function dumpBreakpointSidebarPane() |
| 56 { | 56 { |
| 57 var paneElement = WebInspector.panels.scripts.sidebarPanes.jsBreakpoints
.listElement | 57 var paneElement = WebInspector.panels.sources.sidebarPanes.jsBreakpoints
.listElement |
| 58 InspectorTest.addResult(""); | 58 InspectorTest.addResult(""); |
| 59 InspectorTest.addResult("Dump breakpoint sidebar pane:"); | 59 InspectorTest.addResult("Dump breakpoint sidebar pane:"); |
| 60 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(paneElem
ent)); | 60 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(paneElem
ent)); |
| 61 } | 61 } |
| 62 } | 62 } |
| 63 | 63 |
| 64 </script> | 64 </script> |
| 65 <style> | 65 <style> |
| 66 body { | 66 body { |
| 67 color: green; | 67 color: green; |
| 68 } | 68 } |
| 69 </style> | 69 </style> |
| 70 | 70 |
| 71 </head> | 71 </head> |
| 72 | 72 |
| 73 <body onload="runTest()"> | 73 <body onload="runTest()"> |
| 74 <p> | 74 <p> |
| 75 Tests that JS sourcemapping for inline scripts followed by inline stylesheets do
es not break. | 75 Tests that JS sourcemapping for inline scripts followed by inline stylesheets do
es not break. |
| 76 </p> | 76 </p> |
| 77 | 77 |
| 78 </body> | 78 </body> |
| 79 </html> | 79 </html> |
| OLD | NEW |