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

Issue 2138003002: Remove DOMWindowProperty::willDetachGlobalObjectFromFrame (Closed)

Created:
4 years, 5 months ago by haraken
Modified:
4 years, 5 months ago
Reviewers:
dcheng
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, serviceworker-reviews, tzik, mlamouri+watch-blink_chromium.org, sof, eae+blinkwatch, nhiroki, blink-reviews-dom_chromium.org, dglazkov+blink, kinuko+serviceworker, blink-reviews, horo+watch_chromium.org, mvanouwerkerk+watch_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove DOMWindowProperty::willDetachGlobalObjectFromFrame DOMWindowProperty::willDetachGlobalObjectFromFrame is dispatched at the same timing as ContextLifecycleObserver::contextDestroyed (via Document::detach). Hence this CL replaces DOMWindowProperty::willDetachGlobalObjectFromFrame with ContextLifecycleObserver::contextDestroyed. BUG=610176 Committed: https://crrev.com/f18ffebd279ad21196d988f763313e4a460db316 Cr-Commit-Position: refs/heads/master@{#404961}

Patch Set 1 #

Total comments: 1

Patch Set 2 : temp #

Patch Set 3 : temp #

Patch Set 4 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -72 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMWindowProperty.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.h View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp View 1 2 5 chunks +14 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.h View 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp View 1 2 3 4 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/vibration/NavigatorVibration.h View 5 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp View 5 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/vibration/testing/InternalsVibration.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 44 (19 generated)
haraken
PTAL
4 years, 5 months ago (2016-07-11 13:20:34 UTC) #2
dcheng
LGTM, with one question https://codereview.chromium.org/2138003002/diff/1/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp File third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp (right): https://codereview.chromium.org/2138003002/diff/1/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp#newcode119 third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp:119: if (document && document->frame() && ...
4 years, 5 months ago (2016-07-11 13:38:21 UTC) #3
haraken
On 2016/07/11 13:38:21, dcheng wrote: > LGTM, with one question > > https://codereview.chromium.org/2138003002/diff/1/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp > File ...
4 years, 5 months ago (2016-07-11 23:18:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2138003002/20001
4 years, 5 months ago (2016-07-11 23:19:34 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/94533) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 5 months ago (2016-07-11 23:24:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2138003002/40001
4 years, 5 months ago (2016-07-11 23:29:13 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/199366)
4 years, 5 months ago (2016-07-12 00:54:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2138003002/40001
4 years, 5 months ago (2016-07-12 03:56:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2138003002/60001
4 years, 5 months ago (2016-07-12 04:02:58 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/260651)
4 years, 5 months ago (2016-07-12 05:30:19 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2138003002/60001
4 years, 5 months ago (2016-07-12 06:10:56 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/253827)
4 years, 5 months ago (2016-07-12 08:58:00 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2138003002/60001
4 years, 5 months ago (2016-07-12 09:07:11 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/253931)
4 years, 5 months ago (2016-07-12 10:35:19 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2138003002/60001
4 years, 5 months ago (2016-07-12 10:36:42 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/253982)
4 years, 5 months ago (2016-07-12 12:59:15 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2138003002/60001
4 years, 5 months ago (2016-07-13 00:07:30 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-13 03:28:48 UTC) #36
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 03:29:46 UTC) #37
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/f18ffebd279ad21196d988f763313e4a460db316 Cr-Commit-Position: refs/heads/master@{#404961}
4 years, 5 months ago (2016-07-13 03:30:23 UTC) #39
falken
On 2016/07/13 03:30:23, commit-bot: I haz the power wrote: > Patchset 4 (id:??) landed as ...
4 years, 5 months ago (2016-07-14 08:05:17 UTC) #40
haraken
On 2016/07/14 08:05:17, falken wrote: > On 2016/07/13 03:30:23, commit-bot: I haz the power wrote: ...
4 years, 5 months ago (2016-07-14 08:06:42 UTC) #41
haraken
On 2016/07/14 08:06:42, haraken wrote: > On 2016/07/14 08:05:17, falken wrote: > > On 2016/07/13 ...
4 years, 5 months ago (2016-07-14 08:28:00 UTC) #42
haraken
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2146343002/ by haraken@chromium.org. ...
4 years, 5 months ago (2016-07-14 08:28:42 UTC) #43
haraken
4 years, 5 months ago (2016-07-14 09:04:06 UTC) #44
Message was sent while issue was closed.
On 2016/07/14 08:28:42, haraken wrote:
> A revert of this CL (patchset #4 id:60001) has been created in
> https://codereview.chromium.org/2146343002/ by mailto:haraken@chromium.org.
> 
> The reason for reverting is: This CL caused flaky failures on
> http/tests/serviceworker.
> .

I uploaded a fix: https://codereview.chromium.org/2144213002/

Powered by Google App Engine
This is Rietveld 408576698