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

Issue 2064133002: [DevTools] Explicitly reset context group when clearing ScriptController. (Closed)

Created:
4 years, 6 months ago by dgozman
Modified:
4 years, 6 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, caseq+blink_chromium.org, creis+watch_chromium.org, pfeldman+blink_chromium.org, nasko+codewatch_chromium.org, jam, tyoshino+watch_chromium.org, lushnikov+blink_chromium.org, blink-reviews, darin-cc_chromium.org, gavinp+loader_chromium.org, devtools-reviews_chromium.org, mkwst+moarreviews-renderer_chromium.org, apavlov+blink_chromium.org, sergeyv+blink_chromium.org, Nate Chapin, loading-reviews_chromium.org, kozyatinskiy+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] Explicitly reset context group when clearing ScriptController. Previously, we assumed that main world context creation means reset. This is not the case when content script is executed before main world script, and we ended up with content script context being cleared from debugger. Now we get explicit notification from ScriptController to reset (mainly on navigation). BUG=617530 Committed: https://crrev.com/151d5d907870e262ff7f94fd4b1f1e5ef887e96d Cr-Commit-Position: refs/heads/master@{#400770}

Patch Set 1 #

Patch Set 2 : updateDocument #

Patch Set 3 : clear #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -13 lines) Patch
M content/renderer/render_view_browsertest.cc View 7 chunks +53 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/MainThreadDebugger.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp View 1 2 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (16 generated)
dgozman
Could you please take a look?
4 years, 6 months ago (2016-06-14 14:11:46 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064133002/1
4 years, 6 months ago (2016-06-14 14:12:05 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/175746)
4 years, 6 months ago (2016-06-14 14:39:25 UTC) #6
dgozman
On 2016/06/14 14:39:25, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 6 months ago (2016-06-14 15:38:02 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064133002/20001
4 years, 6 months ago (2016-06-14 16:02:14 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/246252)
4 years, 6 months ago (2016-06-14 17:30:45 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064133002/20001
4 years, 6 months ago (2016-06-15 04:22:36 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/246689)
4 years, 6 months ago (2016-06-15 05:54:09 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064133002/40001
4 years, 6 months ago (2016-06-15 10:04:29 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-15 14:19:33 UTC) #21
dgozman
Ready for review. Please take a look.
4 years, 6 months ago (2016-06-15 14:22:33 UTC) #22
pfeldman
lgtm
4 years, 6 months ago (2016-06-20 08:27:43 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064133002/40001
4 years, 6 months ago (2016-06-20 15:43:36 UTC) #25
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/241678)
4 years, 6 months ago (2016-06-20 18:54:10 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064133002/40001
4 years, 6 months ago (2016-06-20 19:01:52 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-20 20:35:19 UTC) #31
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 20:41:17 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/151d5d907870e262ff7f94fd4b1f1e5ef887e96d
Cr-Commit-Position: refs/heads/master@{#400770}

Powered by Google App Engine
This is Rietveld 408576698