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

Issue 2580753004: Install supplements at every navigation (Closed)

Created:
4 years ago by haraken
Modified:
4 years ago
Reviewers:
sof, domenic, dcheng
CC:
chromium-reviews, blink-reviews, loading-reviews_chromium.org, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Install supplements at every navigation Currently supplement objects are reused when an initial empty document navigates to a same-origin document. This is problematic because ContextLifecycleObservers are detached when the initial empty document is destroyed. They cannot be used after the navigation. To fix the problem, we need to install supplements at every navigation. BUG=610176 Committed: https://crrev.com/dd2e0942b294948ee891b1e54ca17a195fc1f3a1 Cr-Commit-Position: refs/heads/master@{#439413}

Patch Set 1 #

Patch Set 2 : temp #

Patch Set 3 : temp #

Total comments: 3

Patch Set 4 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 40 (16 generated)
haraken
dcheng@: PTAL I confirmed that the CL passes all tests but I'm not sure if ...
4 years ago (2016-12-16 10:14:38 UTC) #7
haraken
Background: This CL is needed to replace DOMWindowProperty on ScreenOrientationControllerImpl with ContextLifecycleObserver.
4 years ago (2016-12-16 10:15:14 UTC) #8
sof
https://codereview.chromium.org/2580753004/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp File third_party/WebKit/Source/core/loader/DocumentLoader.cpp (right): https://codereview.chromium.org/2580753004/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp#newcode797 third_party/WebKit/Source/core/loader/DocumentLoader.cpp:797: if (!frame->loader().stateMachine()->isDisplayingInitialEmptyDocument()) I need to think about this some, ...
4 years ago (2016-12-16 10:57:52 UTC) #9
haraken
https://codereview.chromium.org/2580753004/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp File third_party/WebKit/Source/core/loader/DocumentLoader.cpp (right): https://codereview.chromium.org/2580753004/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp#newcode797 third_party/WebKit/Source/core/loader/DocumentLoader.cpp:797: if (!frame->loader().stateMachine()->isDisplayingInitialEmptyDocument()) On 2016/12/16 10:57:52, sof wrote: > I ...
4 years ago (2016-12-16 11:06:46 UTC) #10
sof
https://codereview.chromium.org/2580753004/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp File third_party/WebKit/Source/core/loader/DocumentLoader.cpp (right): https://codereview.chromium.org/2580753004/diff/40001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp#newcode797 third_party/WebKit/Source/core/loader/DocumentLoader.cpp:797: if (!frame->loader().stateMachine()->isDisplayingInitialEmptyDocument()) On 2016/12/16 11:06:46, haraken wrote: > On ...
4 years ago (2016-12-16 15:54:33 UTC) #11
dcheng
Isn't the root cause that we're calling contextDestroyed() when it's not really destroyed? It does ...
4 years ago (2016-12-16 18:13:13 UTC) #12
sof
On 2016/12/16 18:13:13, dcheng wrote: > Isn't the root cause that we're calling contextDestroyed() when ...
4 years ago (2016-12-16 18:42:33 UTC) #13
haraken
On 2016/12/16 18:13:13, dcheng wrote: > Isn't the root cause that we're calling contextDestroyed() when ...
4 years ago (2016-12-17 02:07:56 UTC) #14
dcheng
On 2016/12/17 02:07:56, haraken wrote: > On 2016/12/16 18:13:13, dcheng wrote: > > Isn't the ...
4 years ago (2016-12-17 20:25:43 UTC) #15
haraken
On 2016/12/17 20:25:43, dcheng wrote: > On 2016/12/17 02:07:56, haraken wrote: > > On 2016/12/16 ...
4 years ago (2016-12-18 13:34:59 UTC) #16
dcheng
On 2016/12/18 13:34:59, haraken wrote: > On 2016/12/17 20:25:43, dcheng wrote: > > On 2016/12/17 ...
4 years ago (2016-12-18 18:08:04 UTC) #17
haraken
On 2016/12/18 18:08:04, dcheng wrote: > On 2016/12/18 13:34:59, haraken wrote: > > On 2016/12/17 ...
4 years ago (2016-12-19 01:20:07 UTC) #18
dcheng
On 2016/12/19 01:20:07, haraken wrote: > On 2016/12/18 18:08:04, dcheng wrote: > > On 2016/12/18 ...
4 years ago (2016-12-19 01:27:09 UTC) #19
haraken
On 2016/12/19 01:27:09, dcheng wrote: > On 2016/12/19 01:20:07, haraken wrote: > > On 2016/12/18 ...
4 years ago (2016-12-19 01:30:53 UTC) #20
dcheng
On 2016/12/19 01:30:53, haraken wrote: > On 2016/12/19 01:27:09, dcheng wrote: > > On 2016/12/19 ...
4 years ago (2016-12-19 01:37:57 UTC) #21
haraken
On 2016/12/19 01:37:57, dcheng wrote: > On 2016/12/19 01:30:53, haraken wrote: > > On 2016/12/19 ...
4 years ago (2016-12-19 01:43:00 UTC) #22
haraken
On 2016/12/19 01:43:00, haraken wrote: > On 2016/12/19 01:37:57, dcheng wrote: > > On 2016/12/19 ...
4 years ago (2016-12-19 01:44:49 UTC) #23
haraken
On 2016/12/19 01:44:49, haraken wrote: > On 2016/12/19 01:43:00, haraken wrote: > > On 2016/12/19 ...
4 years ago (2016-12-19 04:50:17 UTC) #28
dcheng
On 2016/12/19 01:44:49, haraken wrote: > On 2016/12/19 01:43:00, haraken wrote: > > On 2016/12/19 ...
4 years ago (2016-12-19 04:53:51 UTC) #30
dcheng
ps4 lgtm, but i guess the CL description will need to be updated =)
4 years ago (2016-12-19 04:56:28 UTC) #31
haraken
On 2016/12/19 04:56:28, dcheng wrote: > ps4 lgtm, but i guess the CL description will ...
4 years ago (2016-12-19 05:09:34 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/2580753004/60001
4 years ago (2016-12-19 05:09:53 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-19 05:15:29 UTC) #38
commit-bot: I haz the power
4 years ago (2016-12-19 05:20:07 UTC) #40
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/dd2e0942b294948ee891b1e54ca17a195fc1f3a1
Cr-Commit-Position: refs/heads/master@{#439413}

Powered by Google App Engine
This is Rietveld 408576698