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

Unified Diff: third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html

Issue 2385793003: DevTools: Fix visible whitespace for cm_modes (Closed)
Patch Set: Use promises Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html b/third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html
index 86e276d71cc3dc6af9550c6491bbfadef160f579..57e54a6ac586217afd676ec00d1265c443514f49 100644
--- a/third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html
+++ b/third_party/WebKit/LayoutTests/inspector/editor/php-highlighter.html
@@ -7,8 +7,7 @@ function test()
{
var mimeType = "text/x-php";
var textEditor = InspectorTest.createTestEditor();
- InspectorTest.addSniffer(textEditor, "_mimeTypeModesLoadedForTest", onModesLoaded);
- textEditor.setMimeType(mimeType);
+ textEditor.setMimeType(mimeType).then(onModesLoaded);
function onModesLoaded()
{
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/editor/text-editor-token-at-position.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698