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

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

Issue 1688283002: [DevTools] Blackboxing in LiveLocations is supported in Linkifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-source-map-support-v3
Patch Set: Created 4 years, 10 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 function afterBind() 43 function afterBind()
44 { 44 {
45 InspectorTest.addResult("Source map was bound to the file loaded from fi lesystem:"); 45 InspectorTest.addResult("Source map was bound to the file loaded from fi lesystem:");
46 dumpLiveLocation(); 46 dumpLiveLocation();
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 var networkURL = WebInspector.networkMapping.networkURL(uiLocation.uiSou rceCode);
58 InspectorTest.addResult(networkURL + ":" + uiLocation.lineNumber + ":" + uiLocation.columnNumber); 58 InspectorTest.addResult(networkURL + ":" + uiLocation.lineNumber + ":" + uiLocation.columnNumber);
59 } 59 }
60 }; 60 };
61 </script> 61 </script>
62 </head> 62 </head>
63 <body onload="runTest()"> 63 <body onload="runTest()">
64 <p>Tests that stylesheet LiveLocations are updated when an SCSS file is loaded f rom the filesystem.</p> 64 <p>Tests that stylesheet LiveLocations are updated when an SCSS file is loaded f rom the filesystem.</p>
65 </body> 65 </body>
66 </html> 66 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698