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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-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
Index: third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js b/third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js
index 652c407395069b903de7f43f8948854f30bf5fba..6cabf36eb8eb3e795c5c93744a1a55e029aa5091 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js
+++ b/third_party/WebKit/LayoutTests/inspector/elements/edit/set-outer-html-test.js
@@ -41,7 +41,7 @@ InspectorTest.recordEvent = function(eventName, event)
if (currentNode.getAttribute("id") === "output")
return;
}
- InspectorTest.events.push("Event " + eventName + ": " + node.nodeName());
+ InspectorTest.events.push("Event " + eventName.toString() + ": " + node.nodeName());
}
InspectorTest.patchOuterHTML = function(pattern, replacement, next)

Powered by Google App Engine
This is Rietveld 408576698