Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html

Issue 2376583002: DevTools: remove WI.NetworkMapping.networkURL (Closed)
Patch Set: do not blackbox fs uiSourceCodes Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698