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

Issue 1042853004: [DevTools] Event Listeners Sidebar shows window listeners (Closed)

Created:
5 years, 8 months ago by kozy
Modified:
5 years, 7 months ago
Reviewers:
lushnikov, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[DevTools] Event Listeners Sidebar shows window listeners BUG=469159 R=pfeldman@chromium.org

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : Fixed test #

Total comments: 22

Patch Set 4 : #

Patch Set 5 : Fixed tests #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : Extracted EventListenersTreeOutline to components #

Patch Set 9 : #

Patch Set 10 : Extracted eventListenersTreeOutline.css #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1107 lines, -437 lines) Patch
M LayoutTests/http/tests/inspector/elements-test.js View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M LayoutTests/inspector/elements/event-listener-sidebar.html View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M LayoutTests/inspector/elements/event-listener-sidebar-expected.txt View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptEventListener.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/core/v8/ScriptEventListener.cpp View 1 2 chunks +8 lines, -8 lines 0 comments Download
M Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A Source/core/inspector/EventListenerInfo.h View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
A Source/core/inspector/EventListenerInfo.cpp View 1 2 3 1 chunk +97 lines, -0 lines 0 comments Download
M Source/core/inspector/InjectedScript.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/inspector/InjectedScript.cpp View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/inspector/InjectedScriptHost.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/inspector/InjectedScriptHost.cpp View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorDOMAgent.h View 1 2 chunks +0 lines, -15 lines 0 comments Download
M Source/core/inspector/InspectorDOMAgent.cpp View 1 2 3 4 5 3 chunks +13 lines, -75 lines 0 comments Download
M Source/core/inspector/InspectorRuntimeAgent.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorRuntimeAgent.cpp View 1 2 3 2 chunks +58 lines, -0 lines 0 comments Download
M Source/devtools/devtools.gypi View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
A Source/devtools/front_end/components/EventListenersTreeOutline.js View 1 2 3 4 5 6 7 8 9 1 chunk +406 lines, -0 lines 0 comments Download
A Source/devtools/front_end/components/eventListenersTreeOutline.css View 1 2 3 4 5 6 7 8 9 1 chunk +36 lines, -0 lines 0 comments Download
M Source/devtools/front_end/components/module.json View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
A Source/devtools/front_end/elements/DOMEventListenersSidebarPane.js View 1 2 3 4 5 6 7 8 9 1 chunk +135 lines, -0 lines 0 comments Download
M Source/devtools/front_end/elements/ElementsPanel.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/elements/EventListenersSidebarPane.js View 1 2 3 4 5 6 7 1 chunk +0 lines, -264 lines 0 comments Download
M Source/devtools/front_end/elements/elementsPanel.css View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -32 lines 0 comments Download
M Source/devtools/front_end/elements/module.json View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/sdk/DOMModel.js View 1 2 3 4 5 3 chunks +42 lines, -31 lines 0 comments Download
M Source/devtools/front_end/sdk/RemoteObject.js View 1 2 3 4 5 2 chunks +45 lines, -0 lines 0 comments Download
M Source/devtools/front_end/sdk/RuntimeModel.js View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M Source/devtools/front_end/sdk/Target.js View 1 2 3 4 5 1 chunk +93 lines, -0 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 3 4 5 2 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
kozy
ptal.
5 years, 8 months ago (2015-03-30 13:40:38 UTC) #2
pfeldman
https://codereview.chromium.org/1042853004/diff/1/Source/devtools/protocol.json File Source/devtools/protocol.json (left): https://codereview.chromium.org/1042853004/diff/1/Source/devtools/protocol.json#oldcode2135 Source/devtools/protocol.json:2135: { "name": "nodeId", "$ref": "NodeId", "description": "Target <code>DOMNode</code> id." ...
5 years, 8 months ago (2015-03-30 14:36:20 UTC) #3
kozy
https://codereview.chromium.org/1042853004/diff/1/Source/devtools/protocol.json File Source/devtools/protocol.json (left): https://codereview.chromium.org/1042853004/diff/1/Source/devtools/protocol.json#oldcode2135 Source/devtools/protocol.json:2135: { "name": "nodeId", "$ref": "NodeId", "description": "Target <code>DOMNode</code> id." ...
5 years, 8 months ago (2015-03-31 20:09:16 UTC) #4
pfeldman
I don't see how supporting essential events such as "message", "error", etc. is a separate ...
5 years, 8 months ago (2015-04-01 08:46:45 UTC) #5
kozy
Pavel, please take a look.
5 years, 8 months ago (2015-04-09 11:04:34 UTC) #6
pfeldman
https://codereview.chromium.org/1042853004/diff/40001/Source/core/events/EventListenerMap.h File Source/core/events/EventListenerMap.h (right): https://codereview.chromium.org/1042853004/diff/40001/Source/core/events/EventListenerMap.h#newcode93 Source/core/events/EventListenerMap.h:93: struct EventListenerInfo { Extract into a separate class, place ...
5 years, 8 months ago (2015-04-10 08:45:12 UTC) #7
kozy
ptal. https://codereview.chromium.org/1042853004/diff/40001/Source/core/events/EventListenerMap.h File Source/core/events/EventListenerMap.h (right): https://codereview.chromium.org/1042853004/diff/40001/Source/core/events/EventListenerMap.h#newcode93 Source/core/events/EventListenerMap.h:93: struct EventListenerInfo { On 2015/04/10 08:45:11, pfeldman wrote: ...
5 years, 8 months ago (2015-04-13 14:26:54 UTC) #8
kozy
Screenshots: https://drive.google.com/a/chromium.org/file/d/0B7RLEApsOKBLU19xSmZSeHlXRVU/view?usp=sharing https://drive.google.com/a/chromium.org/file/d/0B7RLEApsOKBLTWYtYVp0emctalk/view?usp=sharing
5 years, 8 months ago (2015-04-14 08:10:10 UTC) #9
kozy
Please take a look! Window event listeners are added to event listeners sidebar in elements ...
5 years, 8 months ago (2015-04-17 12:24:13 UTC) #10
kozy
You can not look it now. I am going to reuse EventListenersSidebarPane.js in sources panel. ...
5 years, 8 months ago (2015-04-17 12:58:48 UTC) #11
kozy
Please take a look!
5 years, 8 months ago (2015-04-17 13:27:34 UTC) #12
pfeldman
5 years, 8 months ago (2015-04-17 16:22:06 UTC) #15
Please split this into a series of patches:
1) extract EventListenerInfo
2) agents code
3) refactor sidebar pane
4) glues everything together

Powered by Google App Engine
This is Rietveld 408576698