| OLD | NEW |
| 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> |
| OLD | NEW |