Chromium Code Reviews
DescriptionAuto-generate namedPropertyGetter of V8HTMLFormElement and HTMLFrameSetElement
Removed V8HTMLFormElementCustom.cpp.
Removed V8HTMLFrameSetElementCustom.cpp.
Add attribute: [DoNotCheckJSProperty]
Named/indexed property interceptors of V8 is called whenever
a script accesses any object property.
If we want not to override callback property or property in
prototype chain by named getter, we have to check if there is
already such property in head of named getter.
(for example, document.all.length)
On the other hand, there is another kind of named getter:
which we want to override property, thus we must not check it
(for example, DOMStringMap)
For getter with [DoNotCheckJSProperty], generator does not
generate check code.
R=haraken@chromium.org
BUG=229740
TEST=No tests. refactoring.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150907
Patch Set 1 #Patch Set 2 : Introduce DoNotCheckJSProperty #Messages
Total messages: 12 (0 generated)
|