bool JSTestSerializedScriptValueInterfaceOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor) { JSTestSerializedScriptValueInterface* jsTestSerializedScriptValueInterface = static_cast<JSTestSerializedScriptValueInterface*>(handle.get().asCell()); if (!isObservable(jsTestSerializedScriptValueInterface)) return false; UNUSED_PARAM(visitor); return false; }
void JSTestSerializedScriptValueInterfaceOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context) { JSTestSerializedScriptValueInterface* jsTestSerializedScriptValueInterface = static_cast<JSTestSerializedScriptValueInterface*>(handle.get().asCell()); DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context); uncacheWrapper(world, jsTestSerializedScriptValueInterface->impl(), jsTestSerializedScriptValueInterface); jsTestSerializedScriptValueInterface->releaseImpl(); }
void JSTestOverloadedConstructorsWithSequenceOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context) { auto* jsTestOverloadedConstructorsWithSequence = jsCast<JSTestOverloadedConstructorsWithSequence*>(handle.slot()->asCell()); auto& world = *static_cast<DOMWrapperWorld*>(context); uncacheWrapper(world, &jsTestOverloadedConstructorsWithSequence->wrapped(), jsTestOverloadedConstructorsWithSequence); }
void JSTestMediaQueryListListenerOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context) { JSTestMediaQueryListListener* jsTestMediaQueryListListener = jsCast<JSTestMediaQueryListListener*>(handle.get().asCell()); DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context); uncacheWrapper(world, &jsTestMediaQueryListListener->impl(), jsTestMediaQueryListListener); jsTestMediaQueryListListener->releaseImpl(); }
bool JSTestGenerateIsReachableOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor) { auto* jsTestGenerateIsReachable = jsCast<JSTestGenerateIsReachable*>(handle.slot()->asCell()); TestGenerateIsReachable* root = &jsTestGenerateIsReachable->impl(); return visitor.containsOpaqueRoot(root); }
void JSTestGenerateIsReachableOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context) { auto* jsTestGenerateIsReachable = jsCast<JSTestGenerateIsReachable*>(handle.slot()->asCell()); auto& world = *static_cast<DOMWrapperWorld*>(context); uncacheWrapper(world, &jsTestGenerateIsReachable->impl(), jsTestGenerateIsReachable); }
bool JSTestGenerateIsReachableOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor) { JSTestGenerateIsReachable* jsTestGenerateIsReachable = jsCast<JSTestGenerateIsReachable*>(handle.get().asCell()); if (!isObservable(jsTestGenerateIsReachable)) return false; TestGenerateIsReachable* root = &jsTestGenerateIsReachable->impl(); return visitor.containsOpaqueRoot(root); }
void JSTestGenerateIsReachableOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context) { JSTestGenerateIsReachable* jsTestGenerateIsReachable = jsCast<JSTestGenerateIsReachable*>(handle.get().asCell()); DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context); uncacheWrapper(world, &jsTestGenerateIsReachable->impl(), jsTestGenerateIsReachable); jsTestGenerateIsReachable->releaseImpl(); }
void JSTestNondeterministicOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context) { auto* jsTestNondeterministic = jsCast<JSTestNondeterministic*>(handle.slot()->asCell()); auto& world = *static_cast<DOMWrapperWorld*>(context); uncacheWrapper(world, &jsTestNondeterministic->impl(), jsTestNondeterministic); }
void JSFileReaderOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context) { JSFileReader* jsFileReader = static_cast<JSFileReader*>(handle.get().asCell()); DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context); uncacheWrapper(world, jsFileReader->impl(), jsFileReader); }
void JSTestCustomNamedGetterOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context) { JSTestCustomNamedGetter* jsTestCustomNamedGetter = jsCast<JSTestCustomNamedGetter*>(handle.get().asCell()); DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context); uncacheWrapper(world, jsTestCustomNamedGetter->impl(), jsTestCustomNamedGetter); jsTestCustomNamedGetter->releaseImpl(); }
bool JSTestCustomNamedGetterOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor) { JSTestCustomNamedGetter* jsTestCustomNamedGetter = jsCast<JSTestCustomNamedGetter*>(handle.get().asCell()); if (!isObservable(jsTestCustomNamedGetter)) return false; UNUSED_PARAM(visitor); return false; }
void JSTestEventConstructorOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context) { auto* jsTestEventConstructor = jsCast<JSTestEventConstructor*>(handle.slot()->asCell()); auto& world = *static_cast<DOMWrapperWorld*>(context); uncacheWrapper(world, &jsTestEventConstructor->impl(), jsTestEventConstructor); }