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

Issue 1668603003: Devtools: Switch JS execution context to match inspected node (Closed)

Created:
4 years, 10 months ago by samli
Modified:
4 years, 10 months ago
Reviewers:
pfeldman
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, sergeyv+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Devtools: Switch JS execution context to match inspected node Each time a new element is inspected, the JS context is switched to match the inspected frame. BUG=469618 Committed: https://crrev.com/886819ce7a81bf35682dc209094afbad37bced1f Cr-Commit-Position: refs/heads/master@{#377509}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Messages

Total messages: 27 (8 generated)
samli
4 years, 10 months ago (2016-02-03 20:03:00 UTC) #2
pfeldman
On 2016/02/03 20:03:00, samli wrote: This needs a test.
4 years, 10 months ago (2016-02-04 00:16:50 UTC) #3
pfeldman
https://codereview.chromium.org/1668603003/diff/1/third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js File third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js (right): https://codereview.chromium.org/1668603003/diff/1/third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js#newcode157 third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js:157: domModel.addEventListener(WebInspector.DOMModel.Events.NodeInspected, this._nodeInspected, this); This code should move to the ...
4 years, 10 months ago (2016-02-04 00:18:53 UTC) #4
samli
ptal https://codereview.chromium.org/1668603003/diff/1/third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js File third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js (right): https://codereview.chromium.org/1668603003/diff/1/third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js#newcode157 third_party/WebKit/Source/devtools/front_end/components/ExecutionContextModel.js:157: domModel.addEventListener(WebInspector.DOMModel.Events.NodeInspected, this._nodeInspected, this); On 2016/02/04 at 00:18:53, pfeldman ...
4 years, 10 months ago (2016-02-05 19:43:16 UTC) #5
pfeldman
https://codereview.chromium.org/1668603003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/1668603003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js#newcode392 third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js:392: if (context.frameId == selectedNode.frameId() || (!selectedNode.frameId() && !frame.parentFrame)) - ...
4 years, 10 months ago (2016-02-06 02:59:05 UTC) #6
samli
https://codereview.chromium.org/1668603003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/1668603003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js#newcode392 third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js:392: if (context.frameId == selectedNode.frameId() || (!selectedNode.frameId() && !frame.parentFrame)) On ...
4 years, 10 months ago (2016-02-08 03:53:50 UTC) #7
pfeldman
https://codereview.chromium.org/1668603003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/1668603003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js#newcode392 third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js:392: if (context.frameId == selectedNode.frameId() || (!selectedNode.frameId() && !frame.parentFrame)) nodes ...
4 years, 10 months ago (2016-02-11 21:47:34 UTC) #8
samli
https://codereview.chromium.org/1668603003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/1668603003/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js#newcode392 third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js:392: if (context.frameId == selectedNode.frameId() || (!selectedNode.frameId() && !frame.parentFrame)) On ...
4 years, 10 months ago (2016-02-15 00:40:13 UTC) #9
pfeldman
https://codereview.chromium.org/1668603003/diff/40001/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp (right): https://codereview.chromium.org/1668603003/diff/40001/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp#newcode1525 third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp:1525: if (node->parentNode() && node->parentNode()->isDocumentNode() && !node->parentNode()->parentNode()) { the last ...
4 years, 10 months ago (2016-02-17 01:18:46 UTC) #10
samli
https://codereview.chromium.org/1668603003/diff/40001/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp (right): https://codereview.chromium.org/1668603003/diff/40001/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp#newcode1525 third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp:1525: if (node->parentNode() && node->parentNode()->isDocumentNode() && !node->parentNode()->parentNode()) { On 2016/02/17 ...
4 years, 10 months ago (2016-02-18 02:14:36 UTC) #11
samli
ping
4 years, 10 months ago (2016-02-21 23:52:14 UTC) #12
pfeldman
lgtm
4 years, 10 months ago (2016-02-22 19:47:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1668603003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1668603003/60001
4 years, 10 months ago (2016-02-22 22:38:06 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/177587)
4 years, 10 months ago (2016-02-22 23:54:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1668603003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1668603003/80001
4 years, 10 months ago (2016-02-25 00:22:38 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/179158)
4 years, 10 months ago (2016-02-25 01:49:43 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1668603003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1668603003/80001
4 years, 10 months ago (2016-02-25 04:38:18 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-25 04:47:27 UTC) #25
commit-bot: I haz the power
4 years, 10 months ago (2016-02-25 04:48:17 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/886819ce7a81bf35682dc209094afbad37bced1f
Cr-Commit-Position: refs/heads/master@{#377509}

Powered by Google App Engine
This is Rietveld 408576698