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

Issue 1670173002: Don't set the origin twice when navigating for javascript: URLs (Closed)

Created:
4 years, 10 months ago by jochen (gone - plz use gerrit)
Modified:
4 years, 10 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, gavinp+loader_chromium.org, loading-reviews_chromium.org, rwlbuis, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't set the origin twice when navigating for javascript: URLs As javascript: navigations will end up with a document that has the original document's URL, we shouldn't run the algorithm to determine origin on the original URL, especially since we'll override the origin later anyways. BUG=583445 R=japhet@chromium.org,dcheng@chromium.org,mkwst@chromium.org Committed: https://crrev.com/75b27bda96f0fe77d40b502642d6669531981a49 Cr-Commit-Position: refs/heads/master@{#373917} Committed: https://crrev.com/7fe934264200f6daf02881ceff76f578db0b6821 Cr-Commit-Position: refs/heads/master@{#374023}

Patch Set 1 #

Patch Set 2 : steal dcheng's tests #

Total comments: 1

Messages

Total messages: 27 (7 generated)
jochen (gone - plz use gerrit)
4 years, 10 months ago (2016-02-05 13:58:44 UTC) #1
jochen (gone - plz use gerrit)
stole dcheng's tests ptal if you like it, please CQ+ - I'm OOO now
4 years, 10 months ago (2016-02-05 14:45:02 UTC) #2
dcheng
Hmm... If I understand correctly, with this patch, the security token for the v8 context ...
4 years, 10 months ago (2016-02-05 17:54:38 UTC) #3
dcheng
OK, I think I get it: this is OK because the default security token forces ...
4 years, 10 months ago (2016-02-05 18:46:11 UTC) #4
Nate Chapin
On 2016/02/05 18:46:11, dcheng wrote: > OK, I think I get it: this is OK ...
4 years, 10 months ago (2016-02-05 21:28:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1670173002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1670173002/20001
4 years, 10 months ago (2016-02-05 21:35:41 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-05 21:43:05 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/75b27bda96f0fe77d40b502642d6669531981a49 Cr-Commit-Position: refs/heads/master@{#373917}
4 years, 10 months ago (2016-02-05 22:04:08 UTC) #10
sof
https://codereview.chromium.org/1670173002/diff/20001/third_party/WebKit/Source/core/dom/DocumentInit.cpp File third_party/WebKit/Source/core/dom/DocumentInit.cpp (right): https://codereview.chromium.org/1670173002/diff/20001/third_party/WebKit/Source/core/dom/DocumentInit.cpp#newcode88 third_party/WebKit/Source/core/dom/DocumentInit.cpp:88: , m_shouldReuseDefaultView(other.m_shouldReuseDefaultView) Missing initialization of m_shouldInheritSecurityOriginFromOwner
4 years, 10 months ago (2016-02-06 08:35:29 UTC) #12
sof
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1676793003/ by sigbjornf@opera.com. ...
4 years, 10 months ago (2016-02-06 08:35:58 UTC) #13
dcheng
On 2016/02/06 at 08:35:58, sigbjornf wrote: > A revert of this CL (patchset #2 id:20001) ...
4 years, 10 months ago (2016-02-06 08:45:57 UTC) #14
dcheng
On 2016/02/06 at 08:45:57, dcheng wrote: > On 2016/02/06 at 08:35:58, sigbjornf wrote: > > ...
4 years, 10 months ago (2016-02-06 08:46:06 UTC) #15
sof
On 2016/02/06 08:46:06, dcheng wrote: > On 2016/02/06 at 08:45:57, dcheng wrote: > > On ...
4 years, 10 months ago (2016-02-06 08:52:13 UTC) #16
dcheng
On 2016/02/06 at 08:52:13, sigbjornf wrote: > On 2016/02/06 08:46:06, dcheng wrote: > > On ...
4 years, 10 months ago (2016-02-06 08:54:13 UTC) #17
sof
On 2016/02/06 08:54:13, dcheng wrote: > On 2016/02/06 at 08:52:13, sigbjornf wrote: > > On ...
4 years, 10 months ago (2016-02-06 09:10:40 UTC) #18
sof
Relanding to expedite propagation of https://codereview.chromium.org/1676003002/
4 years, 10 months ago (2016-02-06 09:12:53 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1670173002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1670173002/20001
4 years, 10 months ago (2016-02-06 09:13:16 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-06 09:17:34 UTC) #24
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/7fe934264200f6daf02881ceff76f578db0b6821 Cr-Commit-Position: refs/heads/master@{#374023}
4 years, 10 months ago (2016-02-06 09:18:27 UTC) #26
dcheng
4 years, 10 months ago (2016-02-09 01:13:29 UTC) #27
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1678423003/ by dcheng@chromium.org.

The reason for reverting is: Breaks scrolling in some Google Sheets:
https://crbug.com/585091.

Powered by Google App Engine
This is Rietveld 408576698