DescriptionGen index getter by unified way instead of using several helper function in some special cases.
Currently there's 3 kind of helper below:
setCollectionStringOrUndefinedIndexedGetter
setCollectionStringIndexedGetter
setCollectionIndexedGetter
Those register 3 fixed indexed property getter(template function).
In this situation, it is difficult to customize or debug some specified IDL.
With this update, those are all auto-generated by CodeGeneratorV8 so flexibility is improved.
R=haraken@chromium.org
BUG=229740
TEST=V8TestEventTarget.cpp (generated by run-bindings-tests)
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148617
Patch Set 1 #Patch Set 2 : revert 148030 and replace setCollectionXXX to auto-generated #Patch Set 3 : revised #
Total comments: 30
Patch Set 4 : updated #Patch Set 5 : updated #Patch Set 6 : updated #Patch Set 7 : removed debug printf #
Total comments: 2
Patch Set 8 : updated #Patch Set 9 : rebased to latest #Patch Set 10 : rebased to latest #Patch Set 11 : refined #Messages
Total messages: 17 (0 generated)
|