v8/include
Franziska Hinkelmann 43bb277898 [api] Use query interceptor in Object.keys().
The V8 API provides interceptors. They are not part of the
EcmaScript specification. But their behavior should be consistent.
For example, when an EnumeratorInterceptor is defined, Object.keys(),
Object.entries(), and Object.values() should all have the
same number of entries.

This CL creates consistent behavior among these
functions. If a QueryCallback is present, it is used to
filter the result from the EnumeratorCallback for
enumerable properties.

Bug: v8:6627
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I4f4271ddeb99a5e85918148c5033923c149b9468
Reviewed-on: https://chromium-review.googlesource.com/649786
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Franziska Hinkelmann <franzih@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47831}
2017-09-05 17:28:29 +00:00
..
libplatform Reland "Switch tracing to use v8::TracingController" 2017-07-03 11:49:23 +00:00
APIDesign.md Replace <> with &lt;&gt; in md docs 2017-06-12 10:09:12 +00:00
DEPS [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
OWNERS Add myself to include/OWNERS 2017-07-07 15:32:00 +00:00
PRESUBMIT.py Add layout test bots to changes to api.cc 2017-05-31 14:15:18 +00:00
v8-debug.h [debugger,api] deprecate everything in v8-debug.h 2017-03-10 07:06:25 +00:00
v8-inspector-protocol.h [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
v8-inspector.h [inspector] finally removed *ExecuteScript from inspector 2017-03-27 19:26:18 +00:00
v8-platform.h Delegate getting current wall-clock time to the Platform interface. 2017-08-30 06:28:09 +00:00
v8-profiler.h Fix common misspellings 2017-08-02 09:35:28 +00:00
v8-testing.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
v8-util.h Don't use DCHECK in v8-util.h. 2017-02-27 16:05:46 +00:00
v8-value-serializer-version.h Expose the ValueSerializer data format version as a compile-time constant. 2017-04-27 15:14:41 +00:00
v8-version-string.h Revert of [build] Introduce an embedder version string (patchset #3 id:40001 of https://codereview.chromium.org/2619213002/ ) 2017-01-21 22:36:54 +00:00
v8-version.h Updated version to 6.3 2017-08-31 11:21:35 +00:00
v8.h [api] Use query interceptor in Object.keys(). 2017-09-05 17:28:29 +00:00
v8config.h [cleanup] Remove the V8_NORETURN macro 2017-06-26 09:53:07 +00:00