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

Side by Side Diff: LayoutTests/inspector/elements/event-listener-sidebar-expected.txt

Issue 11434008: Merge 135720 - Web Inspector: object preview does not render node id, className; logs too many func… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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 unified diff | Download patch
OLDNEW
1 Tests event listeners output in the Elements sidebar panel. 1 Tests event listeners output in the Elements sidebar panel.
2 2
3 Inspect Me 3 Inspect Me
4 4
5 ======== click ======== 5 ======== click ========
6 [expanded] document event-listener-sidebar.html:19 6 [expanded] document event-listener-sidebar.html:19
7 isAttribute: false 7 isAttribute: false
8 lineNumber: 19 8 lineNumber: 19
9 listenerBody: function (event) { console.log("click - document - capturing") ; } 9 listenerBody: function (event) { console.log("click - document - capturing") ; }
10 node: #document 10 node: #document
11 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html 11 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html
12 type: click 12 type: click
13 useCapture: true 13 useCapture: true
14 [expanded] document (anonymous function) 14 [expanded] document (anonymous function)
15 isAttribute: false 15 isAttribute: false
16 listenerBody: ObjectHandler 16 listenerBody: ObjectHandler
17 node: #document 17 node: #document
18 type: click 18 type: click
19 useCapture: true 19 useCapture: true
20 [expanded] button#node event-listener-sidebar.html:15 20 [expanded] button#node event-listener-sidebar.html:15
21 isAttribute: false 21 isAttribute: false
22 lineNumber: 15 22 lineNumber: 15
23 listenerBody: function (event) { console.log("click - button - capturing"); } 23 listenerBody: function (event) { console.log("click - button - capturing"); }
24 node: <button> 24 node: button#node
25 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html 25 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html
26 type: click 26 type: click
27 useCapture: true 27 useCapture: true
28 [expanded] button#node event-listener-sidebar.html:12 28 [expanded] button#node event-listener-sidebar.html:12
29 isAttribute: false 29 isAttribute: false
30 lineNumber: 12 30 lineNumber: 12
31 listenerBody: function clickHandler(event) { console.log("click - button - b ubbling (registered before attribute)"); } 31 listenerBody: function clickHandler(event) { console.log("click - button - b ubbling (registered before attribute)"); }
32 node: <button> 32 node: button#node
33 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html 33 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html
34 type: click 34 type: click
35 useCapture: false 35 useCapture: false
36 [expanded] button#node event-listener-sidebar.html:16 36 [expanded] button#node event-listener-sidebar.html:16
37 isAttribute: true 37 isAttribute: true
38 lineNumber: 16 38 lineNumber: 16
39 listenerBody: function (event) { console.log("click - button - attribute"); } 39 listenerBody: function (event) { console.log("click - button - attribute"); }
40 node: <button> 40 node: button#node
41 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html 41 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html
42 type: click 42 type: click
43 useCapture: false 43 useCapture: false
44 [expanded] button#node event-listener-sidebar.html:17 44 [expanded] button#node event-listener-sidebar.html:17
45 isAttribute: false 45 isAttribute: false
46 lineNumber: 17 46 lineNumber: 17
47 listenerBody: function (event) { console.log("click - button - bubbling (reg istered after attribute)"); } 47 listenerBody: function (event) { console.log("click - button - bubbling (reg istered after attribute)"); }
48 node: <button> 48 node: button#node
49 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html 49 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html
50 type: click 50 type: click
51 useCapture: false 51 useCapture: false
52 [expanded] document event-listener-sidebar.html:6 52 [expanded] document event-listener-sidebar.html:6
53 isAttribute: true 53 isAttribute: true
54 lineNumber: 6 54 lineNumber: 6
55 listenerBody: function documentClickHandler(event) { console.log("click - do cument - attribute"); } 55 listenerBody: function documentClickHandler(event) { console.log("click - do cument - attribute"); }
56 node: #document 56 node: #document
57 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html 57 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html
58 type: click 58 type: click
59 useCapture: false 59 useCapture: false
60 60
61 ======== custom event ======== 61 ======== custom event ========
62 [expanded] body event-listener-sidebar.html:10 62 [expanded] body event-listener-sidebar.html:10
63 isAttribute: false 63 isAttribute: false
64 lineNumber: 10 64 lineNumber: 10
65 listenerBody: function f() {} 65 listenerBody: function f() {}
66 node: <body> 66 node: body
67 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html 67 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html
68 type: custom event 68 type: custom event
69 useCapture: true 69 useCapture: true
70 70
71 ======== hover ======== 71 ======== hover ========
72 [expanded] button#node event-listener-sidebar.html:14 72 [expanded] button#node event-listener-sidebar.html:14
73 isAttribute: false 73 isAttribute: false
74 lineNumber: 14 74 lineNumber: 14
75 listenerBody: function hoverHandler(event) { console.log("hover - button - b ubbling"); } 75 listenerBody: function hoverHandler(event) { console.log("hover - button - b ubbling"); }
76 node: <button> 76 node: button#node
77 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html 77 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html
78 type: hover 78 type: hover
79 useCapture: false 79 useCapture: false
80 80
81 ======== click ======== 81 ======== click ========
82 [expanded] document event-listener-sidebar.html:19 82 [expanded] document event-listener-sidebar.html:19
83 isAttribute: false 83 isAttribute: false
84 lineNumber: 19 84 lineNumber: 19
85 listenerBody: function (event) { console.log("click - document - capturing") ; } 85 listenerBody: function (event) { console.log("click - document - capturing") ; }
86 node: #document 86 node: #document
(...skipping 13 matching lines...) Expand all
100 node: #document 100 node: #document
101 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html 101 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html
102 type: click 102 type: click
103 useCapture: false 103 useCapture: false
104 104
105 ======== custom event ======== 105 ======== custom event ========
106 [expanded] body event-listener-sidebar.html:10 106 [expanded] body event-listener-sidebar.html:10
107 isAttribute: false 107 isAttribute: false
108 lineNumber: 10 108 lineNumber: 10
109 listenerBody: function f() {} 109 listenerBody: function f() {}
110 node: <body> 110 node: body
111 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html 111 sourceName: [clipped-for-test]/LayoutTests/inspector/elements/event-listener -sidebar.html
112 type: custom event 112 type: custom event
113 useCapture: true 113 useCapture: true
114 Listeners for selected node only(should be no listeners): 114 Listeners for selected node only(should be no listeners):
115 115
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698