DescriptionAdd the concept of a V8 extras exports object
Exposed to the extras as extrasExports (on the builtins object), on
which they can put things that should be accessible from C++. Exposed
to C++ through the V8 API as v8::Context::GetExtrasExportsObject().
Adding a test (in test-api.cc) required adding a simple extra,
test-extra.js, which we build into the standalone builds.
R=yangguo@chromium.org, jochen@chromium.org
BUG=
Committed: https://crrev.com/ad547cea05f3e02c67243b682e933fc53ac763d9
Cr-Commit-Position: refs/heads/master@{#28317}
Patch Set 1 #Patch Set 2 : Trying to rebase on previous CL #Patch Set 3 : Updated to put the exports object on the builtins object instead of using a % function #Patch Set 4 : Rebase on top of fixed natives change #Patch Set 5 : Was mising test-extra.js :( #
Messages
Total messages: 16 (5 generated)
|