@@ -5933,37 +5933,6 @@ class V8_EXPORT RegExp : public Object {
59335933 static void CheckCast (Value* obj);
59345934};
59355935
5936- /* *
5937- * An instance of the built-in FinalizationRegistry constructor.
5938- *
5939- * The C++ name is FinalizationGroup for backwards compatibility. This API is
5940- * experimental and deprecated.
5941- */
5942- class V8_EXPORT FinalizationGroup : public Object {
5943- public:
5944- /* *
5945- * Runs the cleanup callback of the given FinalizationRegistry.
5946- *
5947- * V8 will inform the embedder that there are finalizer callbacks be
5948- * called through HostCleanupFinalizationGroupCallback.
5949- *
5950- * HostCleanupFinalizationGroupCallback should schedule a task to
5951- * call FinalizationGroup::Cleanup() at some point in the
5952- * future. It's the embedders responsiblity to make this call at a
5953- * time which does not interrupt synchronous ECMAScript code
5954- * execution.
5955- *
5956- * If the result is Nothing<bool> then an exception has
5957- * occurred. Otherwise the result is |true| if the cleanup callback
5958- * was called successfully. The result is never |false|.
5959- */
5960- V8_DEPRECATED (
5961- " FinalizationGroup cleanup is automatic if "
5962- " HostCleanupFinalizationGroupCallback is not set" )
5963- static V8_WARN_UNUSED_RESULT Maybe<bool > Cleanup (
5964- Local<FinalizationGroup> finalization_group);
5965- };
5966-
59675936/* *
59685937 * A JavaScript value that wraps a C++ void*. This type of value is mainly used
59695938 * to associate C++ data structures with JavaScript objects.
@@ -7216,20 +7185,6 @@ typedef void (*AddCrashKeyCallback)(CrashKeyId id, const std::string& value);
72167185typedef void (*BeforeCallEnteredCallback)(Isolate*);
72177186typedef void (*CallCompletedCallback)(Isolate*);
72187187
7219- /* *
7220- * HostCleanupFinalizationGroupCallback is called when we require the
7221- * embedder to enqueue a task that would call
7222- * FinalizationGroup::Cleanup().
7223- *
7224- * The FinalizationGroup is the one for which the embedder needs to
7225- * call FinalizationGroup::Cleanup() on.
7226- *
7227- * The context provided is the one in which the FinalizationGroup was
7228- * created in.
7229- */
7230- typedef void (*HostCleanupFinalizationGroupCallback)(
7231- Local<Context> context, Local<FinalizationGroup> fg);
7232-
72337188/* *
72347189 * HostImportModuleDynamicallyCallback is called when we require the
72357190 * embedder to load a module. This is used as part of the dynamic
@@ -8567,17 +8522,6 @@ class V8_EXPORT Isolate {
85678522 void SetAbortOnUncaughtExceptionCallback (
85688523 AbortOnUncaughtExceptionCallback callback);
85698524
8570- /* *
8571- * This specifies the callback to be called when FinalizationRegistries
8572- * are ready to be cleaned up and require FinalizationGroup::Cleanup()
8573- * to be called in a future task.
8574- */
8575- V8_DEPRECATED (
8576- " FinalizationRegistry cleanup is automatic if "
8577- " HostCleanupFinalizationGroupCallback is not set" )
8578- void SetHostCleanupFinalizationGroupCallback (
8579- HostCleanupFinalizationGroupCallback callback);
8580-
85818525 /* *
85828526 * This specifies the callback called by the upcoming dynamic
85838527 * import() language feature to load modules.
0 commit comments