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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/sass-highlighter.html

Issue 2889013002: DevTools: introduce uiSourceCode.mimeType() method (Closed)
Patch Set: address comments Created 3 years, 7 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 3
4 <link rel="stylesheet" href="resources/empty.css"> 4 <link rel="stylesheet" href="resources/empty.css">
5 5
6 <script src="../../http/tests/inspector/inspector-test.js"></script> 6 <script src="../../http/tests/inspector/inspector-test.js"></script>
7 <script src="../../http/tests/inspector/debugger-test.js"></script> 7 <script src="../../http/tests/inspector/debugger-test.js"></script>
8 <script> 8 <script>
9 9
10 function test() 10 function test()
11 { 11 {
12 InspectorTest.showScriptSource("empty.scss", onSourceShown); 12 InspectorTest.showScriptSource("empty.scss", onSourceShown);
13 function onSourceShown(uiSourceCodeFrame) 13 function onSourceShown(uiSourceCodeFrame)
14 { 14 {
15 var uiSourceCode = uiSourceCodeFrame.uiSourceCode(); 15 var uiSourceCode = uiSourceCodeFrame.uiSourceCode();
16 InspectorTest.addResult(Bindings.NetworkProject.uiSourceCodeMimeType(uiS ourceCode)); 16 InspectorTest.addResult(uiSourceCode.mimeType());
17 InspectorTest.completeTest(); 17 InspectorTest.completeTest();
18 } 18 }
19 } 19 }
20 20
21 </script> 21 </script>
22 22
23 </head> 23 </head>
24 24
25 <body onload="runTest()"> 25 <body onload="runTest()">
26 <p>Verify that highlighter type for SCSS file loaded via sourceMap is correct.</ p> 26 <p>Verify that highlighter type for SCSS file loaded via sourceMap is correct.</ p>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698