| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <link rel="stylesheet" href="resources/selector-line-sourcemap-header.php" /> | 3 <link rel="stylesheet" href="../styles/resources/selector-line-sourcemap-header.
php" /> |
| 4 <script src="../../inspector-test.js"></script> | 4 <script src="../../inspector-test.js"></script> |
| 5 <script src="../../elements-test.js"></script> | 5 <script src="../../elements-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 InspectorTest.selectNodeAndWaitForStyles("inspected", step1); | 10 InspectorTest.selectNodeAndWaitForStyles("inspected", step1); |
| 11 | 11 |
| 12 function step1() | 12 function step1() |
| 13 { | 13 { |
| 14 InspectorTest.dumpSelectedElementStyles(true); | 14 InspectorTest.dumpSelectedElementStyles(true); |
| 15 InspectorTest.completeTest(); | 15 InspectorTest.completeTest(); |
| 16 } | 16 } |
| 17 } | 17 } |
| 18 | 18 |
| 19 </script> | 19 </script> |
| 20 </head> | 20 </head> |
| 21 | 21 |
| 22 <body onload="runTest()"> | 22 <body onload="runTest()"> |
| 23 <p> | 23 <p> |
| 24 Tests that sourcemap is applied correctly when specified by the respective HTTP
header. | 24 Tests that sourcemap is applied correctly when specified by the respective HTTP
header. |
| 25 </p> | 25 </p> |
| 26 | 26 |
| 27 <div id="container"> | 27 <div id="container"> |
| 28 <div id="inspected">Text</div> | 28 <div id="inspected">Text</div> |
| 29 </div> | 29 </div> |
| 30 | 30 |
| 31 </body> | 31 </body> |
| 32 </html> | 32 </html> |
| OLD | NEW |