|
[proxies] Use JSReceiver::GetKeys() for more purposes
Having beefed up GetKeys() to support everything, use it for everything now.
This fixes Object.getOwnPropertyNames and Object.getOwnPropertySymbols for
Proxies, and gets rid of a bunch of code duplication.
BUG= v8:1543
LOG=n
Committed: https://crrev.com/7d1263db477c812d40789c75be2f368e4c0b9769
Cr-Commit-Position: refs/heads/master@{#32620}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+56 lines, -544 lines) |
Patch |
|
M |
src/debug/mirrors.js
|
View
|
|
7 chunks |
+10 lines, -96 lines |
0 comments
|
Download
|
|
M |
src/isolate.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/js/macros.py
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/js/prologue.js
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/js/symbol.js
|
View
|
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
src/js/v8natives.js
|
View
|
|
4 chunks |
+5 lines, -129 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
2 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
6 chunks |
+12 lines, -68 lines |
4 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-object.cc
|
View
|
|
2 chunks |
+8 lines, -188 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-api.cc
|
View
|
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-debug.cc
|
View
|
|
2 chunks |
+5 lines, -17 lines |
2 comments
|
Download
|
|
M |
test/mjsunit/harmony/proxies-for.js
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 10 (3 generated)
|