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

Issue 2816743002: v8binding: Implements an alternative of WindowProxy.[[DefineOwnProperty]]. (Closed)

Created:
3 years, 8 months ago by Yuki
Modified:
3 years, 8 months ago
Reviewers:
haraken, tkent, foolip
CC:
chromium-reviews, blink-reviews, blink-reviews-frames_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

v8binding: Implements an alternative of WindowProxy.[[DefineOwnProperty]]. Implements the following part of the spec with using indexed interceptor. https://html.spec.whatwg.org/C/browsers.html#windowproxy-defineownproperty step 2 - 1. If P is an array index property name, return false. The spec's actual effect is mostly that author script cannot define a property with an array index property name on a window object. With this CL, the following ES code has no effect. window[0] = 42; Object.defineProperty(window, 0, {value: 42}); BUG=695385 Review-Url: https://codereview.chromium.org/2816743002 Cr-Commit-Position: refs/heads/master@{#464912} Committed: https://chromium.googlesource.com/chromium/src/+/c105f1574d48e229385fbef9293aca66fc087f9b

Patch Set 1 #

Patch Set 2 : Fixed tests. #

Total comments: 2

Messages

Total messages: 19 (13 generated)
Yuki
Could you review this CL?
3 years, 8 months ago (2017-04-14 13:20:55 UTC) #8
haraken
LGTM We should probably get an approval from an API owner. https://codereview.chromium.org/2816743002/diff/20001/third_party/WebKit/Source/core/frame/DOMWindow.h File third_party/WebKit/Source/core/frame/DOMWindow.h (left): ...
3 years, 8 months ago (2017-04-14 18:50:07 UTC) #11
Yuki
+tkent@ and foolip@ as API_OWNERS. Could you guys review this CL? This CL changes a ...
3 years, 8 months ago (2017-04-17 05:30:31 UTC) #13
tkent
This looks a minor bug fix. LGTM.
3 years, 8 months ago (2017-04-17 05:42:18 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/2816743002/20001
3 years, 8 months ago (2017-04-17 08:04:05 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-17 09:29:05 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/c105f1574d48e229385fbef9293a...

Powered by Google App Engine
This is Rietveld 408576698