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 97a01d073e1d33ef7965d9244349cf770be13358..b8b6e34d133c58a32f0dc6beae57784da1286a53 100644 |
--- a/LayoutTests/inspector/console/command-line-api-getEventListeners-expected.txt |
+++ b/LayoutTests/inspector/console/command-line-api-getEventListeners-expected.txt |
@@ -6,10 +6,23 @@ keydown: { |
0: { |
listener: function listener1() { } |
useCapture: false |
+ type: "keydown" |
+ remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) } |
} |
1: { |
listener: function listener2() { } |
useCapture: true |
+ type: "keydown" |
+ remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) } |
+ } |
+} |
+- inner after a removal - |
+keydown: { |
+ 0: { |
+ listener: function listener2() { } |
+ useCapture: true |
+ type: "keydown" |
+ remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) } |
} |
} |
- outer - |
@@ -17,18 +30,24 @@ mousemove: { |
0: { |
listener: function listener1() { } |
useCapture: false |
+ type: "mousemove" |
+ remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) } |
} |
} |
mousedown: { |
0: { |
listener: function listener2() { } |
useCapture: true |
+ type: "mousedown" |
+ remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) } |
} |
} |
keydown: { |
0: { |
listener: function listener2() { } |
useCapture: true |
+ type: "keydown" |
+ remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) } |
} |
} |
- attribute event listeners - |
@@ -36,12 +55,16 @@ click: { |
0: { |
listener: function onclick(event) { alert(1) } |
useCapture: false |
+ type: "click" |
+ remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) } |
} |
} |
mouseover: { |
0: { |
listener: function onmouseover(event) { listener2() } |
useCapture: false |
+ type: "mouseover" |
+ remove: function () { node.removeEventListener(this.type, this.listener, this.useCapture) } |
} |
} |
- empty - |