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

Unified Diff: LayoutTests/inspector/console/command-line-api-getEventListeners-expected.txt

Issue 145133008: DevTools: Make getEventListeners() of Console API work for window. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed Created 6 years, 11 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: LayoutTests/inspector/console/command-line-api-getEventListeners-expected.txt
diff --git a/LayoutTests/inspector/console/command-line-api-getEventListeners-expected.txt b/LayoutTests/inspector/console/command-line-api-getEventListeners-expected.txt
index b8b6e34d133c58a32f0dc6beae57784da1286a53..2459266bf99cfa2b5aad883663efd48744b4e5b2 100644
--- a/LayoutTests/inspector/console/command-line-api-getEventListeners-expected.txt
+++ b/LayoutTests/inspector/console/command-line-api-getEventListeners-expected.txt
@@ -67,6 +67,23 @@ mouseover: {
remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) }
}
}
+- window -
+load: {
+ 0: {
+ listener: function onload(event) { runTest() }
+ useCapture: false
+ type: "load"
+ remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) }
+ }
+}
+popstate: {
+ 0: {
+ listener: function listener1() { }
+ useCapture: false
+ type: "popstate"
+ remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) }
+ }
+}
- empty -
- invalid -
- object -
@@ -75,6 +92,4 @@ undefined
undefined
- undefined -
undefined
-- window -
-undefined

Powered by Google App Engine
This is Rietveld 408576698