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

Issue 1386843002: bindings: Implements the named properties object (WindowProperties). (Closed)

Created:
5 years, 2 months ago by Yuki
Modified:
5 years, 2 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews, asanka, benjhayden+dwatch_chromium.org, 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

bindings: Implements the named properties object (WindowProperties). Adds WindowProperties (named properties obejct) and change the prototype chain of Window accordingly. The prototype chain of Window is: window.__proto__ => Window.prototype window.__proto__.__proto__ => WindowProperties object window.__proto__.__proto__.__proto__ => EventTarget.prototype The indexed properties were installed on Window.prototype, but I think it's meaningless, and moved it to the instance object as same as other objects. BUG=516274 Committed: https://crrev.com/7390dfca9479cc4ff825b1d163ba7fb5aaa6076c Cr-Commit-Position: refs/heads/master@{#352542}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Updated IDL test results. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -140 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/Window/lookup-behavior-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/js/getOwnPropertyDescriptor-expected.txt View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/loader/window-clearing-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/the-window-object/window-indexed-properties-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/the-window-object/window-indexed-properties-strict-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/the-window-object/window-named-properties-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/the-window-object/window-prototype-chain-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/event-target-in-prototype-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/event-target-in-prototype.html View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/event-target-in-prototype-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp View 1 2 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_interface.py View 3 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.h View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.cpp View 1 3 chunks +80 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface_base.cpp View 1 4 chunks +9 lines, -59 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp View 1 2 3 2 chunks +10 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp View 1 2 3 1 chunk +4 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp View 1 2 3 1 chunk +4 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 2 3 1 chunk +4 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp View 1 2 3 1 chunk +4 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 2 3 1 chunk +4 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Yuki
Could you review this CL?
5 years, 2 months ago (2015-10-06 03:47:02 UTC) #2
haraken
https://codereview.chromium.org/1386843002/diff/40001/third_party/WebKit/Source/bindings/scripts/v8_interface.py File third_party/WebKit/Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/1386843002/diff/40001/third_party/WebKit/Source/bindings/scripts/v8_interface.py#newcode596 third_party/WebKit/Source/bindings/scripts/v8_interface.py:596: 'has_named_properties_object': is_global and context['named_property_getter'], Why do we need the ...
5 years, 2 months ago (2015-10-06 04:00:58 UTC) #3
Yuki
https://codereview.chromium.org/1386843002/diff/40001/third_party/WebKit/Source/bindings/scripts/v8_interface.py File third_party/WebKit/Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/1386843002/diff/40001/third_party/WebKit/Source/bindings/scripts/v8_interface.py#newcode596 third_party/WebKit/Source/bindings/scripts/v8_interface.py:596: 'has_named_properties_object': is_global and context['named_property_getter'], On 2015/10/06 04:00:57, haraken wrote: ...
5 years, 2 months ago (2015-10-06 04:09:52 UTC) #4
haraken
On 2015/10/06 04:09:52, Yuki wrote: > https://codereview.chromium.org/1386843002/diff/40001/third_party/WebKit/Source/bindings/scripts/v8_interface.py > File third_party/WebKit/Source/bindings/scripts/v8_interface.py (right): > > https://codereview.chromium.org/1386843002/diff/40001/third_party/WebKit/Source/bindings/scripts/v8_interface.py#newcode596 > ...
5 years, 2 months ago (2015-10-06 04:11:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1386843002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1386843002/40001
5 years, 2 months ago (2015-10-06 04:12:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1386843002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1386843002/60001
5 years, 2 months ago (2015-10-06 04:25:14 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-10-06 05:37:36 UTC) #12
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 05:38:30 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7390dfca9479cc4ff825b1d163ba7fb5aaa6076c
Cr-Commit-Position: refs/heads/master@{#352542}

Powered by Google App Engine
This is Rietveld 408576698