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

Side by Side Diff: LayoutTests/inspector/editor/php-highlighter.html

Issue 1208423005: [DevTools] Add test checking that codemirror-based highlighter is loaded. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/editor/php-highlighter-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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()
7 {
8 var mimeType = "text/x-php";
9 var textEditor = InspectorTest.createTestEditor();
10 InspectorTest.addSniffer(textEditor, "_mimeTypeModesLoaded", onModesLoaded);
11 textEditor.setMimeType(mimeType);
12
13 function onModesLoaded()
14 {
15 InspectorTest.addResult("Mode loaded: " + !!CodeMirror.mimeModes[mimeTyp e]);
16 InspectorTest.completeTest();
17 }
18 }
19
20 </script>
21 </head>
22
23 <body onload="runTest()">
24 <p>
25 Tests that php highlighter loads successfully.
26 </p>
27 </body>
28 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/editor/php-highlighter-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698