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

Issue 1675473002: Update V8 security token correctly when installing a new Document. (Closed)

Created:
4 years, 10 months ago by dcheng
Modified:
4 years, 10 months ago
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, 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

Update V8 security token correctly when installing a new Document. BUG=583445 Committed: https://crrev.com/cdd9b1aa17694677c566e3a6ce6c620006dbb46a Cr-Commit-Position: refs/heads/master@{#374871}

Patch Set 1 #

Total comments: 5

Messages

Total messages: 27 (8 generated)
dcheng
I had an explanation typed up because I thought I understood it... but I don't. ...
4 years, 10 months ago (2016-02-05 00:20:42 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1675473002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1675473002/1
4 years, 10 months ago (2016-02-05 00:22:58 UTC) #5
haraken
LGTM on my side but let's have jochen confirm this. I'm rather surprised that there ...
4 years, 10 months ago (2016-02-05 00:26:36 UTC) #6
dcheng
On 2016/02/05 at 00:26:36, haraken wrote: > LGTM on my side but let's have jochen ...
4 years, 10 months ago (2016-02-05 00:36:56 UTC) #7
haraken
> > I'm rather surprised that there are still many call sites that use > ...
4 years, 10 months ago (2016-02-05 00:44:04 UTC) #8
dcheng
I added an explanation of the bug. https://codereview.chromium.org/1675473002/diff/1/third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation.html File third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation.html (right): https://codereview.chromium.org/1675473002/diff/1/third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation.html#newcode10 third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation.html:10: frame.onload = ...
4 years, 10 months ago (2016-02-05 00:48:08 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-05 02:05:20 UTC) #11
dcheng
I took another look at this after jochen@ asked me some questions. The parent.document.open() call ...
4 years, 10 months ago (2016-02-05 10:00:13 UTC) #12
dcheng
Hm... but when I debug this, it looks weird: it looks like the security origin ...
4 years, 10 months ago (2016-02-05 10:11:36 UTC) #13
dcheng
OK, so I did a bunch more debugging, and this is why parent.document.open() is crucial: ...
4 years, 10 months ago (2016-02-05 10:44:11 UTC) #14
jochen (gone - plz use gerrit)
my reading of the spec is that we should be using the origin of the ...
4 years, 10 months ago (2016-02-05 12:12:10 UTC) #15
jochen (gone - plz use gerrit)
i think the source document is a red herring. really, what happens is that we ...
4 years, 10 months ago (2016-02-05 13:59:48 UTC) #16
dcheng
jochen, what do you think about landing this patch as a temporary mitigation? I have ...
4 years, 10 months ago (2016-02-10 06:14:33 UTC) #17
dcheng
+esprehn to get some thoughts on this patch, as jochen is OOO.
4 years, 10 months ago (2016-02-10 22:31:07 UTC) #19
esprehn
adamk@ and I went through this patch, the surrounding code, and the history and from ...
4 years, 10 months ago (2016-02-11 03:29:07 UTC) #21
dcheng
OK, going to go ahead and land this as a temporary measure: I have a ...
4 years, 10 months ago (2016-02-11 07:28:54 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1675473002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1675473002/1
4 years, 10 months ago (2016-02-11 07:29:01 UTC) #24
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-11 08:51:26 UTC) #25
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:34:57 UTC) #27
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/cdd9b1aa17694677c566e3a6ce6c620006dbb46a
Cr-Commit-Position: refs/heads/master@{#374871}

Powered by Google App Engine
This is Rietveld 408576698