v8/include
Camillo Bruni 78387ca75d [api] Deprecate v8::ScriptCompiler::CompileFunctionInContext
- Introduce v8::ScriptCompiler::CompileFunction
- Deprecate v8::ScriptCompiler::CompileFunctionInContext
- Add v8::Function::GetUnboundScript
- Add v8::Script::GetResourceName

The ScriptOrModule out-parameter is only used by NodeJS since we don't
allow arbitrary objects has host-defined options and they need a way to
keep the options alive.

This CL deprecates the out-parameter and adds helper methods to
address the most common use-cases.

The final fix still requires more fundamental changes on how host-defined
options are handled.

Bug: chromium:1244145
Change-Id: Id29de53521ad626c41391b8300146ee37a1b8a51
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3245117
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Auto-Submit: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77564}
2021-10-27 07:19:51 +00:00
..
cppgc cppgc: Move interesting checks behind DEBUG 2021-10-26 07:37:11 +00:00
libplatform [api] Advance deprecation for deprecated apis <= v9.5 2021-10-26 13:04:31 +00:00
APIDesign.md Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
DEPS cppgc: Implement process-global state accessors. 2021-02-17 22:37:24 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
js_protocol-1.2.json Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
js_protocol-1.3.json Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
js_protocol.pdl [inspector] Add nonIndexedPropertiesOnly to Runtime.getProperties. 2021-08-18 07:34:19 +00:00
OWNERS Make autoroll account owner of auto-updated file 2021-08-24 15:05:13 +00:00
v8-array-buffer.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-callbacks.h [wasm] Load --wasm_dynamic_tiering from the context 2021-10-06 12:12:54 +00:00
v8-container.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-context.h [api] Advance deprecation for deprecated apis <= v9.5 2021-10-26 13:04:31 +00:00
v8-cppgc.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-data.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-date.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-debug.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-embedder-heap.h [api] Advance deprecation for deprecated apis <= v9.5 2021-10-26 13:04:31 +00:00
v8-exception.h [api] Advance deprecation for deprecated apis <= v9.5 2021-10-26 13:04:31 +00:00
v8-extension.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-external.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-fast-api-calls.h [api] Advance deprecation for deprecated apis <= v9.5 2021-10-26 13:04:31 +00:00
v8-forward.h [include] Add TryCatch and Extension to v8-forward.h 2021-09-23 13:15:10 +00:00
v8-function-callback.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-function.h [api] Deprecate v8::ScriptCompiler::CompileFunctionInContext 2021-10-27 07:19:51 +00:00
v8-initialization.h Add V8::IsUsingSecureVirtualMemoryCage API 2021-10-14 09:47:49 +00:00
v8-inspector-protocol.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-inspector.h [api] Advance deprecation for deprecated apis <= v9.5 2021-10-26 13:04:31 +00:00
v8-internal.h Implement DetermineAddressSpaceLimit() on x64 2021-10-14 10:01:57 +00:00
v8-isolate.h [strings] Add --shared-string-table and support in d8 2021-10-08 22:40:28 +00:00
v8-json.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-local-handle.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-locker.h [api] Rename v8::Locker::IsActive to v8::Locker::WasEverUsed 2021-10-06 07:54:37 +00:00
v8-maybe.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-memory-span.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-message.h [api] Advance deprecation for deprecated apis <= v9.5 2021-10-26 13:04:31 +00:00
v8-metrics.h heap: Add default values to UMA metrics struct 2021-10-26 07:53:52 +00:00
v8-microtask-queue.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-microtask.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-object.h [api] Add v8::Object::GetCreationContextChecked 2021-10-27 07:18:13 +00:00
v8-persistent-handle.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-platform.h Make PageAllocator::DecommitPages mandatory 2021-10-14 12:30:59 +00:00
v8-primitive-object.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-primitive.h [api] Advance deprecation for deprecated apis <= v9.5 2021-10-26 13:04:31 +00:00
v8-profiler.h [heap-snapshot] Declaring progress counter as uint32_t (instead of int) 2021-10-26 13:26:21 +00:00
v8-promise.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-proxy.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-regexp.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-script.h [api] Deprecate v8::ScriptCompiler::CompileFunctionInContext 2021-10-27 07:19:51 +00:00
v8-snapshot.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-statistics.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-template.h api: Expose initial_array_prototype to public 2021-10-01 16:39:47 +00:00
v8-traced-handle.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-typed-array.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-unwinder-state.h [LOONG64] Add LoongArch64 backend 2021-08-16 13:05:19 +00:00
v8-unwinder.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-util.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +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-value-serializer.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-value.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-version-string.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-version.h Changed version number to 9.7 2021-10-07 10:38:23 +00:00
v8-wasm-trap-handler-posix.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-wasm-trap-handler-win.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-wasm.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-weak-callback-info.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8config.h Reland "Implement a fake virtual memory cage mechanism" 2021-10-13 10:58:34 +00:00