| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../inspector-test.js"></script> | 3 <script src="../../inspector-test.js"></script> |
| 4 <script src="../../isolated-filesystem-test.js"></script> | 4 <script src="../../isolated-filesystem-test.js"></script> |
| 5 <script src="../../workspace-test.js"></script> | 5 <script src="../../workspace-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 function loadCSS() | 7 function loadCSS() |
| 8 { | 8 { |
| 9 var link = document.createElement("link"); | 9 var link = document.createElement("link"); |
| 10 link.rel = "stylesheet"; | 10 link.rel = "stylesheet"; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 InspectorTest.completeTest(); | 47 InspectorTest.completeTest(); |
| 48 } | 48 } |
| 49 | 49 |
| 50 function dumpLiveLocation() | 50 function dumpLiveLocation() |
| 51 { | 51 { |
| 52 var uiLocation = liveLocation.uiLocation(); | 52 var uiLocation = liveLocation.uiLocation(); |
| 53 if (!uiLocation) { | 53 if (!uiLocation) { |
| 54 InspectorTest.addResult("Null uiLocation"); | 54 InspectorTest.addResult("Null uiLocation"); |
| 55 return; | 55 return; |
| 56 } | 56 } |
| 57 var networkURL = WebInspector.networkMapping.networkURL(uiLocation.uiSou
rceCode); | 57 InspectorTest.addResult(uiLocation.uiSourceCode.url() + ":" + uiLocation
.lineNumber + ":" + uiLocation.columnNumber); |
| 58 InspectorTest.addResult(networkURL + ":" + uiLocation.lineNumber + ":" +
uiLocation.columnNumber); | |
| 59 } | 58 } |
| 60 }; | 59 }; |
| 61 </script> | 60 </script> |
| 62 </head> | 61 </head> |
| 63 <body onload="runTest()"> | 62 <body onload="runTest()"> |
| 64 <p>Tests that stylesheet LiveLocations are updated when an SCSS file is loaded f
rom the filesystem.</p> | 63 <p>Tests that stylesheet LiveLocations are updated when an SCSS file is loaded f
rom the filesystem.</p> |
| 65 </body> | 64 </body> |
| 66 </html> | 65 </html> |
| OLD | NEW |