3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"editor-test.js"></script>
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();
23 <body onload=
"runTest()">
25 Tests that php highlighter loads successfully.