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

Issue 2317203002: Avoid mutating frame unique name after first real commit. (Closed)

Created:
4 years, 3 months ago by Łukasz Anforowicz
Modified:
4 years, 3 months ago
Reviewers:
dcheng
CC:
chromium-reviews, blink-reviews, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid mutating frame unique name after first real commit. History navigations depend on frame unique names to identify frames that need to load their state from history. This identification is broken if a frame's unique name can change throughout frame's lifetime. For example - the newly added layout tests fails (before FrameTree.cpp changes introduced by this CL) to correctly navigate the subframe after a back navigation. BUG=607205 Committed: https://crrev.com/2ae993fad864e5c683d009ebdfbb0bdae3faef44 Cr-Commit-Position: refs/heads/master@{#418350}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Relaxing asserts checking uniqueName of main frame. #

Patch Set 3 : Leaving main frame's unique name null. #

Patch Set 4 : Tweaking tests to match changed unique name behavior. #

Total comments: 6

Patch Set 5 : s/trigerred/triggered/g #

Patch Set 6 : Revert the change to keep main frame's unique name empty (this should be a separate CL instead). #

Patch Set 7 : Tweaking the comment describing the format of unique name. #

Messages

Total messages: 35 (25 generated)
Łukasz Anforowicz
Daniel, can you take a look please? This implements the change we've discussed between you, ...
4 years, 3 months ago (2016-09-07 18:01:26 UTC) #4
dcheng
Also it looks like there are some broken tests. https://codereview.chromium.org/2317203002/diff/1/third_party/WebKit/Source/core/page/FrameTree.cpp File third_party/WebKit/Source/core/page/FrameTree.cpp (right): https://codereview.chromium.org/2317203002/diff/1/third_party/WebKit/Source/core/page/FrameTree.cpp#newcode78 third_party/WebKit/Source/core/page/FrameTree.cpp:78: ...
4 years, 3 months ago (2016-09-07 19:54:14 UTC) #7
Łukasz Anforowicz
On 2016/09/07 19:54:14, dcheng wrote: > Also it looks like there are some broken tests. ...
4 years, 3 months ago (2016-09-09 16:21:39 UTC) #18
dcheng
LGTM I have two concerns here: 1) this is going to make it impossible for ...
4 years, 3 months ago (2016-09-09 22:00:13 UTC) #19
Charlie Reis
Can you also add a bit of motivation to the CL description, covering both the ...
4 years, 3 months ago (2016-09-09 22:11:33 UTC) #20
Łukasz Anforowicz
I've removed main-frame-related changes and kicked off tryjobs - the smaller, more focused change seems ...
4 years, 3 months ago (2016-09-09 22:49:12 UTC) #24
dcheng
On 2016/09/09 22:49:12, Łukasz Anforowicz wrote: > I've removed main-frame-related changes and kicked off tryjobs ...
4 years, 3 months ago (2016-09-09 22:58:22 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/2317203002/120001
4 years, 3 months ago (2016-09-13 20:22:02 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-13 20:28:47 UTC) #33
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 20:30:42 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/2ae993fad864e5c683d009ebdfbb0bdae3faef44
Cr-Commit-Position: refs/heads/master@{#418350}

Powered by Google App Engine
This is Rietveld 408576698