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

Issue 2060093002: Allow 'history.pushState' to modify query string for unique and file origins. (Closed)

Created:
4 years, 6 months ago by Peng Xinchao
Modified:
4 years, 6 months ago
Reviewers:
Nate Chapin, Mike West
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow 'history.pushState' to modify query string for unique and file origins. Add function equalIgnoringQueryAndFragment to ignore query and fragment for History. BUG=618989 Committed: https://crrev.com/c21f0b11ac83ea970d0eaf6a0b223d48a32a4b32 Cr-Commit-Position: refs/heads/master@{#400418}

Patch Set 1 #

Patch Set 2 : Allow 'history.pushState' to modify query string for unique and file origins. #

Total comments: 6

Patch Set 3 : Allow 'history.pushState' to modify query string for unique and file origins. #

Total comments: 9

Patch Set 4 : Allow 'history.pushState' to modify query string for unique and file origins. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -9 lines) Patch
M AUTHORS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/navigation/pushstate-at-unique-origin-denied.php View 1 2 3 1 chunk +24 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/navigation/pushstate-whitelisted-at-unique-origin-denied.php View 1 2 3 1 chunk +23 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/frame/History.cpp View 1 2 3 2 chunks +18 lines, -1 line 0 comments Download

Messages

Total messages: 22 (8 generated)
Mike West
This looks like a pretty reasonable change, but please add some tests to verify the ...
4 years, 6 months ago (2016-06-12 16:10:45 UTC) #5
Mike West
Actually, sorry, I misread the patch. As written, this allows fragment, query, and path modification. ...
4 years, 6 months ago (2016-06-12 16:17:36 UTC) #6
Peng Xinchao
On 2016/06/12 16:17:36, Mike West wrote: > Actually, sorry, I misread the patch. As written, ...
4 years, 6 months ago (2016-06-14 06:40:12 UTC) #8
Peng Xinchao
On 2016/06/14 06:40:12, pxinchao wrote: > On 2016/06/12 16:17:36, Mike West wrote: > > Actually, ...
4 years, 6 months ago (2016-06-14 07:16:56 UTC) #9
Mike West
On 2016/06/14 at 07:16:56, pxinchao wrote: > On 2016/06/14 06:40:12, pxinchao wrote: > > On ...
4 years, 6 months ago (2016-06-14 08:44:46 UTC) #10
Mike West
Thanks! I have some comments that I've left inline. :) https://codereview.chromium.org/2060093002/diff/20001/third_party/WebKit/LayoutTests/fast/html/pushstate-ignore-query-file.html File third_party/WebKit/LayoutTests/fast/html/pushstate-ignore-query-file.html (right): https://codereview.chromium.org/2060093002/diff/20001/third_party/WebKit/LayoutTests/fast/html/pushstate-ignore-query-file.html#newcode1 ...
4 years, 6 months ago (2016-06-14 08:44:59 UTC) #11
Peng Xinchao
On 2016/06/14 08:44:59, Mike West wrote: > Thanks! I have some comments that I've left ...
4 years, 6 months ago (2016-06-15 05:49:31 UTC) #12
Mike West
Looks good. If you can clean up the whitespace, and explain or change the length ...
4 years, 6 months ago (2016-06-16 09:23:13 UTC) #13
Peng Xinchao
On 2016/06/16 09:23:13, Mike West (OOO - BlinkOn) wrote: > Looks good. If you can ...
4 years, 6 months ago (2016-06-17 01:34:02 UTC) #14
Peng Xinchao
https://codereview.chromium.org/2060093002/diff/40001/third_party/WebKit/LayoutTests/http/tests/navigation/pushstate-at-unique-origin-denied.php File third_party/WebKit/LayoutTests/http/tests/navigation/pushstate-at-unique-origin-denied.php (right): https://codereview.chromium.org/2060093002/diff/40001/third_party/WebKit/LayoutTests/http/tests/navigation/pushstate-at-unique-origin-denied.php#newcode28 third_party/WebKit/LayoutTests/http/tests/navigation/pushstate-at-unique-origin-denied.php:28: }, 'pushState ?hash in unique origin should not fail ...
4 years, 6 months ago (2016-06-17 11:09:53 UTC) #15
Mike West
LGTM. Thanks! I'll throw this at the bots.
4 years, 6 months ago (2016-06-17 11:34:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2060093002/60001
4 years, 6 months ago (2016-06-17 11:34:57 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-17 13:03:19 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 13:04:14 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c21f0b11ac83ea970d0eaf6a0b223d48a32a4b32
Cr-Commit-Position: refs/heads/master@{#400418}

Powered by Google App Engine
This is Rietveld 408576698