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

Issue 148083004: IDL compiler: anonymous indexed property getters (Closed)

Created:
6 years, 11 months ago by Nils Barth (inactive)
Modified:
6 years, 10 months ago
Reviewers:
haraken
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, sof, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, watchdog-blink-watchlist_google.com, Inactive, kouhei (in TOK)
Visibility:
Public.

Description

IDL compiler: anonymous indexed property getters This starts special operations. I've kept this simple, but I've made it generic, as we know we'll also have indexed property setters, named property getters, etc. For now I'm putting the tests in a separate file, since these are interface-wide features, so I don't need to worry about interface-wide extended attributes changing things. Once I've implemented these, I'll merge them into the existing TestInterfacePython tests to reduce the number of test results. BUG=239771 R=haraken NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165894

Patch Set 1 #

Total comments: 14

Patch Set 2 : Revised #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -81 lines) Patch
M Source/bindings/scripts/code_generator_v8.pm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/scripts/unstable/v8_interface.py View 1 2 3 chunks +39 lines, -1 line 0 comments Download
M Source/bindings/scripts/unstable/v8_methods.py View 2 chunks +1 line, -2 lines 0 comments Download
M Source/bindings/templates/interface.cpp View 1 2 chunks +27 lines, -0 lines 0 comments Download
M Source/bindings/templates/interface_base.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
A + Source/bindings/tests/idls/TestSpecialOperations.idl View 1 chunk +2 lines, -1 line 0 comments Download
A + Source/bindings/tests/results/V8TestSpecialOperations.h View 1 chunk +33 lines, -30 lines 0 comments Download
A + Source/bindings/tests/results/V8TestSpecialOperations.cpp View 1 2 4 chunks +34 lines, -46 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Nils Barth (inactive)
6 years, 11 months ago (2014-01-27 06:27:46 UTC) #1
Nils Barth (inactive)
https://codereview.chromium.org/148083004/diff/1/Source/bindings/tests/idls/TestSpecialOperations.idl File Source/bindings/tests/idls/TestSpecialOperations.idl (right): https://codereview.chromium.org/148083004/diff/1/Source/bindings/tests/idls/TestSpecialOperations.idl#newcode32 Source/bindings/tests/idls/TestSpecialOperations.idl:32: [ImplementedAs=anonymousIndexedGetter] getter DOMString (unsigned long index); Currently we *require* ...
6 years, 11 months ago (2014-01-27 06:29:48 UTC) #2
haraken
https://codereview.chromium.org/148083004/diff/1/Source/bindings/scripts/unstable/v8_interface.py File Source/bindings/scripts/unstable/v8_interface.py (right): https://codereview.chromium.org/148083004/diff/1/Source/bindings/scripts/unstable/v8_interface.py#newcode480 Source/bindings/scripts/unstable/v8_interface.py:480: getter = next( This looks a bit complicated. Can ...
6 years, 11 months ago (2014-01-27 06:35:32 UTC) #3
Nils Barth (inactive)
https://codereview.chromium.org/148083004/diff/1/Source/bindings/scripts/unstable/v8_interface.py File Source/bindings/scripts/unstable/v8_interface.py (right): https://codereview.chromium.org/148083004/diff/1/Source/bindings/scripts/unstable/v8_interface.py#newcode480 Source/bindings/scripts/unstable/v8_interface.py:480: getter = next( On 2014/01/27 06:35:32, haraken wrote: > ...
6 years, 11 months ago (2014-01-27 06:59:35 UTC) #4
haraken
LGTM https://codereview.chromium.org/148083004/diff/1/Source/bindings/scripts/unstable/v8_interface.py File Source/bindings/scripts/unstable/v8_interface.py (right): https://codereview.chromium.org/148083004/diff/1/Source/bindings/scripts/unstable/v8_interface.py#newcode480 Source/bindings/scripts/unstable/v8_interface.py:480: getter = next( On 2014/01/27 06:59:35, Nils Barth ...
6 years, 11 months ago (2014-01-27 07:04:39 UTC) #5
Nils Barth (inactive)
Thanks! Will followup with making anonymous operations really anonymous. https://codereview.chromium.org/148083004/diff/1/Source/bindings/scripts/unstable/v8_interface.py File Source/bindings/scripts/unstable/v8_interface.py (right): https://codereview.chromium.org/148083004/diff/1/Source/bindings/scripts/unstable/v8_interface.py#newcode495 Source/bindings/scripts/unstable/v8_interface.py:495: ...
6 years, 11 months ago (2014-01-27 07:24:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/148083004/160001
6 years, 10 months ago (2014-01-28 00:44:53 UTC) #7
commit-bot: I haz the power
6 years, 10 months ago (2014-01-28 00:45:42 UTC) #8
Message was sent while issue was closed.
Change committed as 165894

Powered by Google App Engine
This is Rietveld 408576698