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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager-listeners-count.html

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/sources/debugger-breakpoints/breakpoint-manager-listeners-count.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager-listeners-count.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager-listeners-count.html
index 1bdf9d4ad64486769ba45a0e34ffa39cc5d7eefe..0dc8d4b55b881ce6ebf47c65cb8e14d3c2e876a9 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager-listeners-count.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager-listeners-count.html
@@ -27,7 +27,7 @@ function test()
function didShowScriptSourceAgain()
{
- var listeners = WebInspector.breakpointManager._listeners.get("breakpoint-added");
+ var listeners = WebInspector.breakpointManager._listeners.get(WebInspector.BreakpointManager.Events.BreakpointAdded);
// There should be 3 breakpoint-added event listeners:
// - BreakpointsSidebarPane
// - 2 shown tabs

Powered by Google App Engine
This is Rietveld 408576698