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

Issue 2250433005: Simplify security token setting logic in WindowProxy (Closed)

Created:
4 years, 4 months ago by dcheng
Modified:
4 years, 4 months ago
Reviewers:
haraken, Yuki
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify security token setting logic in WindowProxy Since r412195, Blink uses a different path to notify that the initial document was accessed: it no longer relies on the fact that WindowProxy forced v8 to fallback to canAccess(). BUG=none Committed: https://crrev.com/fbd849942b44c5923cf15f29cab1c4771d121dcb Cr-Commit-Position: refs/heads/master@{#412736}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp View 1 2 1 chunk +2 lines, -3 lines 1 comment Download

Messages

Total messages: 25 (16 generated)
dcheng
According to PS2, it's passing all the tests. https://codereview.chromium.org/2250433005/diff/40001/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp File third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp (right): https://codereview.chromium.org/2250433005/diff/40001/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp#newcode434 third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp:434: bool ...
4 years, 4 months ago (2016-08-18 00:45:12 UTC) #10
haraken
On 2016/08/18 00:45:12, dcheng wrote: > According to PS2, it's passing all the tests. > ...
4 years, 4 months ago (2016-08-18 00:56:14 UTC) #13
haraken
This CL LGTM
4 years, 4 months ago (2016-08-18 00:56:29 UTC) #14
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/2250433005/40001
4 years, 4 months ago (2016-08-18 03:08:22 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-18 04:03:30 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/fbd849942b44c5923cf15f29cab1c4771d121dcb Cr-Commit-Position: refs/heads/master@{#412736}
4 years, 4 months ago (2016-08-18 04:06:06 UTC) #22
Yuki
dcheng@, window.document is currently implemented as a simple data property and has no C++ callback. ...
4 years, 4 months ago (2016-08-18 12:44:19 UTC) #23
dcheng
On 2016/08/18 12:44:19, Yuki wrote: > dcheng@, window.document is currently implemented as a simple data ...
4 years, 4 months ago (2016-08-18 19:55:59 UTC) #24
Yuki
4 years, 4 months ago (2016-08-19 06:35:27 UTC) #25
Message was sent while issue was closed.
On 2016/08/18 19:55:59, dcheng wrote:
> On 2016/08/18 12:44:19, Yuki wrote:
> > dcheng@, window.document is currently implemented as a simple data property
> and
> > has no C++ callback.  Is securityCheck() in V8Window.cpp still called for
> > window.document with this change?
> 
> We do have some tests
>
(https://cs.chromium.org/chromium/src/third_party/WebKit/Source/web/tests/WebF...)
> and they still seem to pass... so I guess?

Thanks.  Then, this looks good to me, too.  :)

Powered by Google App Engine
This is Rietveld 408576698