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

Issue 201773002: Do not trigger new history entry if iframe URL doesn't change (Closed)

Created:
6 years, 9 months ago by Rafał Chłodnicki
Modified:
6 years, 9 months ago
CC:
blink-reviews, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Do not trigger new history entry if iframe URL doesn't change When URL of an iframe changes from "unset" to "set", we don't want to create new history entry. This worked for URLs without fragment identifier but failed with it present. This change takes the idea from the old code, before it was rewritten in https://codereview.chromium.org/126453005 BUG=353096 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169665 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169736

Patch Set 1 #

Patch Set 2 : Added tests #

Patch Set 3 : Fix tests. Somehow getting different iframe dump on some bots. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -1 line) Patch
A LayoutTests/fast/history/history-length-append-subframe-no-hash.html View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A LayoutTests/fast/history/history-length-append-subframe-no-hash-expected.txt View 1 1 chunk +15 lines, -0 lines 0 comments Download
A LayoutTests/fast/history/history-length-append-subframe-with-hash.html View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A LayoutTests/fast/history/history-length-append-subframe-with-hash-expected.txt View 1 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/loader/FrameLoader.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Rafał Chłodnicki
6 years, 9 months ago (2014-03-17 10:42:11 UTC) #1
Nate Chapin
LGTM Any hope of a test so I don't regress this again in the future? ...
6 years, 9 months ago (2014-03-17 17:10:29 UTC) #2
Rafał Chłodnicki
New tests failed due this difference: https://storage.googleapis.com/chromium-layout-test-archives/linux_blink_dbg/466/layout-test-results/results.html Not sure why I get different dump locally ...
6 years, 9 months ago (2014-03-18 20:27:01 UTC) #3
Rafał Chłodnicki
Still looks good with added tests?
6 years, 9 months ago (2014-03-20 09:09:07 UTC) #4
Nate Chapin
On 2014/03/20 09:09:07, Rafał Chłodnicki wrote: > Still looks good with added tests? Yep. LGTM.
6 years, 9 months ago (2014-03-20 16:02:55 UTC) #5
Rafał Chłodnicki
The CQ bit was checked by rchlodnicki@opera.com
6 years, 9 months ago (2014-03-20 16:04:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rchlodnicki@opera.com/201773002/40001
6 years, 9 months ago (2014-03-20 16:04:56 UTC) #7
commit-bot: I haz the power
Change committed as 169665
6 years, 9 months ago (2014-03-20 16:48:30 UTC) #8
eseidel
A revert of this CL has been created in https://codereview.chromium.org/207683003/ by eseidel@chromium.org. The reason for ...
6 years, 9 months ago (2014-03-21 07:19:34 UTC) #9
vsevik
On 2014/03/21 07:19:34, eseidel wrote: > A revert of this CL has been created in ...
6 years, 9 months ago (2014-03-21 07:58:40 UTC) #10
Rafał Chłodnicki
On 2014/03/21 07:58:40, vsevik wrote: > On 2014/03/21 07:19:34, eseidel wrote: > > A revert ...
6 years, 9 months ago (2014-03-21 08:41:52 UTC) #11
Rafał Chłodnicki
The CQ bit was checked by rchlodnicki@opera.com
6 years, 9 months ago (2014-03-21 13:08:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rchlodnicki@opera.com/201773002/40001
6 years, 9 months ago (2014-03-21 13:08:13 UTC) #13
commit-bot: I haz the power
6 years, 9 months ago (2014-03-21 13:08:53 UTC) #14
Message was sent while issue was closed.
Change committed as 169736

Powered by Google App Engine
This is Rietveld 408576698