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

Issue 2643613003: Revert "binding: Makes window/frames/self attributes return itself." (Closed)

Created:
3 years, 11 months ago by dcheng
Modified:
3 years, 11 months ago
Reviewers:
haraken, jsbell, Yuki
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert "binding: Makes window/frames/self attributes return itself." > Per HTML spec[1], window, frames, and self attributes must return > the global proxy object. This CL simply follows it. > > Note that these attributes are expected to never return null. > We're currently breaking this assumption on detached frames. > > [1] https://html.spec.whatwg.org/multipage/browsers.html#dom-window The current fix for this depends on a ScriptState being associated with the window object. However, this prevents RemoteWindowProxy from using v8::Context::NewRemoteContext(), as a RemoteWindowProxy would then have no associated ScriptState. BUG=618672, 527190 R=haraken@chromium.org,yukishiino@chromium.org Review-Url: https://codereview.chromium.org/2643613003 Cr-Commit-Position: refs/heads/master@{#444517} Committed: https://chromium.googlesource.com/chromium/src/+/a3e6b34d4b686ee9bc9addda6885750964638c39

Patch Set 1 #

Patch Set 2 : Revert reverted test changes, add failing expectations #

Patch Set 3 : . #

Patch Set 4 : whack-a-mole #

Messages

Total messages: 45 (23 generated)
dcheng
If we're actually OK with this, this is the simplest path forward. In the meantime, ...
3 years, 11 months ago (2017-01-18 08:07:36 UTC) #3
Yuki
LGTM, but if you can keep a layout test non-reverted (with an updated test expectation ...
3 years, 11 months ago (2017-01-18 08:11:24 UTC) #4
haraken
LGTM
3 years, 11 months ago (2017-01-18 08:11:57 UTC) #5
haraken
On 2017/01/18 08:11:24, Yuki wrote: > LGTM, but if you can keep a layout test ...
3 years, 11 months ago (2017-01-18 08:12:43 UTC) #6
Yuki
On 2017/01/18 08:12:43, haraken wrote: > On 2017/01/18 08:11:24, Yuki wrote: > > LGTM, but ...
3 years, 11 months ago (2017-01-18 08:14:42 UTC) #7
Yuki
On 2017/01/18 08:14:42, Yuki wrote: > On 2017/01/18 08:12:43, haraken wrote: > > On 2017/01/18 ...
3 years, 11 months ago (2017-01-18 08:16:05 UTC) #8
haraken
On 2017/01/18 08:16:05, Yuki wrote: > On 2017/01/18 08:14:42, Yuki wrote: > > On 2017/01/18 ...
3 years, 11 months ago (2017-01-18 08:28:07 UTC) #9
dcheng
On 2017/01/18 08:28:07, haraken wrote: > On 2017/01/18 08:16:05, Yuki wrote: > > On 2017/01/18 ...
3 years, 11 months ago (2017-01-18 08:36:02 UTC) #10
haraken
On 2017/01/18 08:36:02, dcheng wrote: > On 2017/01/18 08:28:07, haraken wrote: > > On 2017/01/18 ...
3 years, 11 months ago (2017-01-18 08:40:11 UTC) #13
dcheng
On 2017/01/18 08:40:11, haraken wrote: > On 2017/01/18 08:36:02, dcheng wrote: > > On 2017/01/18 ...
3 years, 11 months ago (2017-01-18 08:55:50 UTC) #14
haraken
On 2017/01/18 08:55:50, dcheng wrote: > On 2017/01/18 08:40:11, haraken wrote: > > On 2017/01/18 ...
3 years, 11 months ago (2017-01-18 08:57:08 UTC) #15
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/2643613003/20001
3 years, 11 months ago (2017-01-18 08:58:35 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/372839)
3 years, 11 months ago (2017-01-18 09:49:47 UTC) #21
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/2643613003/20001
3 years, 11 months ago (2017-01-18 10:02:22 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/372884)
3 years, 11 months ago (2017-01-18 11:11:44 UTC) #25
dcheng
PTAL. I've fixed the intersection observer test failure by adding a temporary workaround in testharnessreport.js.
3 years, 11 months ago (2017-01-18 12:06:02 UTC) #28
Yuki
On 2017/01/18 12:06:02, dcheng wrote: > PTAL. I've fixed the intersection observer test failure by ...
3 years, 11 months ago (2017-01-18 12:39:47 UTC) #29
dcheng
Note that testharnessreport.js is specifically provided to make it easy to integrate testharness.js into the ...
3 years, 11 months ago (2017-01-18 18:24:57 UTC) #35
jsbell
On 2017/01/18 18:24:57, dcheng wrote: > Note that testharnessreport.js is specifically provided to make it ...
3 years, 11 months ago (2017-01-18 18:28:38 UTC) #36
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/2643613003/60001
3 years, 11 months ago (2017-01-18 21:06:12 UTC) #41
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/a3e6b34d4b686ee9bc9addda6885750964638c39
3 years, 11 months ago (2017-01-18 22:36:11 UTC) #44
Yuki
3 years, 11 months ago (2017-01-19 06:07:10 UTC) #45
Message was sent while issue was closed.
LGTM.  Sorry being too nervous.
Given the expert says okay, I'm fine.
And thanks for adding TODO comments.

Powered by Google App Engine
This is Rietveld 408576698