|
binding: Let indexed interceptor falls through to named interceptor.
V8's named interceptor never traps |0| of type number nor |"0"|
of type string. Both of |0| and |"0"| trigger indexed interceptor.
In order for named properties to capture property keys such as 0
or "0", we have to first trap them at indexed interceptor, and
then fall through to an named property handler.
If an interface supports indexed properties, we don't need this
fallback mechanism. If an interface only supports named
properties, let 0 or "0" fall through to an named property
handler.
BUG= 229750
Committed: https://crrev.com/4808123c1e7ee6e9ebce4d5d803cf9073b96d72b
Cr-Commit-Position: refs/heads/master@{#418495}
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+735 lines, -690 lines) |
Patch |
 |
M |
third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
|
View
|
|
3 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp
|
View
|
|
4 chunks |
+19 lines, -36 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
View
|
|
3 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/interface.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/interface.cpp
|
View
|
1
2
3
|
19 chunks |
+166 lines, -117 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/interface_base.cpp
|
View
|
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp
|
View
|
|
2 chunks |
+29 lines, -21 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp
|
View
|
|
2 chunks |
+29 lines, -21 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.cpp
|
View
|
|
2 chunks |
+29 lines, -21 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
|
View
|
1
2
3
|
1 chunk |
+76 lines, -72 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp
|
View
|
1
2
3
|
2 chunks |
+92 lines, -86 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp
|
View
|
|
2 chunks |
+29 lines, -21 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
1
2
3
|
1 chunk |
+88 lines, -80 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
View
|
1
2
3
|
6 chunks |
+42 lines, -27 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
|
View
|
|
1 chunk |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp
|
View
|
1
2
3
|
1 chunk |
+76 lines, -72 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/DOMStringMap.h
|
View
|
1
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/DOMStringMap.idl
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/DOMTokenList.idl
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/HTMLEmbedElement.idl
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/HTMLObjectElement.idl
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/storage/Storage.h
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/storage/Storage.cpp
|
View
|
1
|
3 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/storage/Storage.idl
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
Total messages: 32 (20 generated)
|