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

Issue 1360233007: bindings: Moves event handlers and methods of Window to the instance object. (Closed)

Created:
5 years, 3 months ago by Yuki
Modified:
5 years, 2 months ago
Reviewers:
haraken
CC:
chromium-reviews, tfarina, 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: Moves event handlers and methods of Window to the instance object. Makes v8_utilities.on_{instance,prototype,interface} conformant to the spec. Moves event handlers and methods on Window from the prototype object to the instance object. Also moves members of [Global] interfaces to the instance objects. BUG=43394, 516274 Committed: https://crrev.com/eb2728fc03dead670668dbeb071e8584e2a0504b Cr-Commit-Position: refs/heads/master@{#350827}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+927 lines, -713 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/DeviceMotion/window-property-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/window-property-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/lookup-behavior-expected.txt View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/window-property-shadowing-onclick.html View 1 chunk +0 lines, -24 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/window-property-shadowing-onclick-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html View 2 chunks +177 lines, -169 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt View 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/resources/cross-frame-access.js View 3 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/w3c/cross-origin-objects-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-method-with-iframe-proto.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-method-with-iframe-proto-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 2 chunks +30 lines, -27 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/resources/global-interface-listing-worker.js View 4 chunks +54 lines, -19 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/the-window-object/window-properties-expected.txt View 2 chunks +88 lines, -88 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/html/webappapis/animation-frames/idlharness-expected.txt View 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 2 chunks +20 lines, -17 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt View 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 2 chunks +188 lines, -125 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt View 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing.html View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-compositor-worker-expected.txt View 2 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 2 chunks +196 lines, -133 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/resources/global-interface-listing.js View 5 chunks +51 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_methods.py View 6 chunks +10 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_utilities.py View 6 chunks +35 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.cpp View 1 chunk +1 line, -1 line 2 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Yuki
Could you review this CL?
5 years, 2 months ago (2015-09-25 06:39:07 UTC) #2
haraken
Great work! LGTM to try. https://codereview.chromium.org/1360233007/diff/1/third_party/WebKit/Source/bindings/templates/interface.cpp File third_party/WebKit/Source/bindings/templates/interface.cpp (right): https://codereview.chromium.org/1360233007/diff/1/third_party/WebKit/Source/bindings/templates/interface.cpp#newcode638 third_party/WebKit/Source/bindings/templates/interface.cpp:638: ' | '.join(method.property_attributes or ...
5 years, 2 months ago (2015-09-25 10:41:35 UTC) #3
Yuki
https://codereview.chromium.org/1360233007/diff/1/third_party/WebKit/Source/bindings/templates/interface.cpp File third_party/WebKit/Source/bindings/templates/interface.cpp (right): https://codereview.chromium.org/1360233007/diff/1/third_party/WebKit/Source/bindings/templates/interface.cpp#newcode638 third_party/WebKit/Source/bindings/templates/interface.cpp:638: ' | '.join(method.property_attributes or ['v8::None']) %} On 2015/09/25 10:41:35, ...
5 years, 2 months ago (2015-09-25 14:40:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1360233007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1360233007/1
5 years, 2 months ago (2015-09-25 14:42:03 UTC) #6
haraken
On 2015/09/25 14:40:43, Yuki wrote: > https://codereview.chromium.org/1360233007/diff/1/third_party/WebKit/Source/bindings/templates/interface.cpp > File third_party/WebKit/Source/bindings/templates/interface.cpp (right): > > https://codereview.chromium.org/1360233007/diff/1/third_party/WebKit/Source/bindings/templates/interface.cpp#newcode638 > ...
5 years, 2 months ago (2015-09-25 14:43:11 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 2 months ago (2015-09-25 15:08:56 UTC) #8
commit-bot: I haz the power
5 years, 2 months ago (2015-09-25 15:09:57 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/eb2728fc03dead670668dbeb071e8584e2a0504b
Cr-Commit-Position: refs/heads/master@{#350827}

Powered by Google App Engine
This is Rietveld 408576698