extensions should use the intrinsics list to store original v8 methods instead of an v8-extension |
||
Issue descriptionThere's currently just one exposed, but it's easy to expose all needed intrinsics: https://cs.chromium.org/chromium/src/v8/include/v8.h?rcl=0&l=4613 The advantage of using them is that they don't need to be copied out during context creation, but the chrome extension system can get them whenever it needs them.
,
Oct 25 2016
ah, ok extensions copy out the objects, see here: https://cs.chromium.org/chromium/src/extensions/renderer/safe_builtins.h?sq=package:chromium
,
Oct 27 2016
actually, the extensions system could just create an object template that has all the intrinsics it needs, and instantiate the object once for itself to get to them
,
Jan 10
Archiving P3s older than 1 year with no owner or component. |
||
►
Sign in to add a comment |
||
Comment 1 by adamk@chromium.org
, Oct 25 2016