Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / editor / php-highlighter.html
blob269df6465d0ddf8094f1f45a1c5ca6355ee9ccce
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="editor-test.js"></script>
5 <script>
6 function test()
8 var mimeType = "text/x-php";
9 var textEditor = InspectorTest.createTestEditor();
10 InspectorTest.addSniffer(textEditor, "_mimeTypeModesLoaded", onModesLoaded);
11 textEditor.setMimeType(mimeType);
13 function onModesLoaded()
15 InspectorTest.addResult("Mode loaded: " + !!CodeMirror.mimeModes[mimeType]);
16 InspectorTest.completeTest();
20 </script>
21 </head>
23 <body onload="runTest()">
24 <p>
25 Tests that php highlighter loads successfully.
26 </p>
27 </body>
28 </html>