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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js

Issue 2261933002: DevTools: Use JS symbols instead of strings for eligible events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/elements/edit/set-outer-html-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
index 5863b5af83a2382802ead6cbdece212857a0ad19..a02bb30ec4a3bba79ff239169131da6f55dc4bd5 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
@@ -133,7 +133,7 @@ InspectorTest._defaultWorkspaceEventHandler = function(event)
return;
if (uiSourceCode.project().type() === WebInspector.projectTypes.Service)
return;
- InspectorTest.addResult("Workspace event: " + event.type + ": " + uiSourceCode.url() + ".");
+ InspectorTest.addResult(`Workspace event: ${event.type.toString()}: ${uiSourceCode.url()}.`);
}
InspectorTest.uiSourceCodeURL = function(uiSourceCode)
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698