diff --git a/src/bun_core/fmt.rs b/src/bun_core/fmt.rs index 75be709d3a06..181c4b856a68 100644 --- a/src/bun_core/fmt.rs +++ b/src/bun_core/fmt.rs @@ -2817,10 +2817,6 @@ pub fn hex_int_lower(value: u64) -> HexIntFormatter(value: u64) -> HexIntFormatter { - HexIntFormatter { value } -} - /// `{:0N x}` / `{:0N X}` — zero-padded fixed-width hex of a u64 into a stack /// buffer. Thin alias over [`HexIntFormatter::get_out_buf`] for callers that /// want bytes, not a `Display` adapter. diff --git a/src/jsc/bindings/AsyncContextFrame.cpp b/src/jsc/bindings/AsyncContextFrame.cpp index 06e9f3827c01..fd11c1d8291a 100644 --- a/src/jsc/bindings/AsyncContextFrame.cpp +++ b/src/jsc/bindings/AsyncContextFrame.cpp @@ -114,14 +114,6 @@ extern "C" JSC::EncodedJSValue AsyncContextFrame__withAsyncContextIfNeeded(JSGlo } \ return result; -// JSValue AsyncContextFrame::call(JSGlobalObject* global, JSValue functionObject, const ArgList& args, ASCIILiteral errorMessage) -// { -// ASYNCCONTEXTFRAME_CALL_IMPL(global, ProfilingReason::API, functionObject, args, errorMessage); -// } -// JSValue AsyncContextFrame::call(JSGlobalObject* global, JSValue functionObject, JSValue thisValue, const ArgList& args, ASCIILiteral errorMessage) -// { -// ASYNCCONTEXTFRAME_CALL_IMPL(global, ProfilingReason::API, functionObject, thisValue, args, errorMessage); -// } JSValue AsyncContextFrame::call(JSGlobalObject* global, JSValue functionObject, JSValue thisValue, const ArgList& args) { #if ASSERT_ENABLED @@ -134,33 +126,8 @@ JSValue AsyncContextFrame::call(JSGlobalObject* global, JSValue functionObject, ASYNCCONTEXTFRAME_CALL_IMPL(global, ProfilingReason::API, functionObject, JSC::getCallData(functionObject), thisValue, args); } -JSValue AsyncContextFrame::call(JSGlobalObject* global, JSValue functionObject, JSValue thisValue, const ArgList& args, NakedPtr& returnedException) -{ -#if ASSERT_ENABLED - auditEverything(global, functionObject, thisValue, args); -#endif - - if (!global->isAsyncContextTrackingEnabled()) [[likely]] { - return JSC::profiledCall(global, ProfilingReason::API, functionObject, JSC::getCallData(functionObject), thisValue, args, returnedException); - } - - ASYNCCONTEXTFRAME_CALL_IMPL(global, ProfilingReason::API, functionObject, JSC::getCallData(functionObject), thisValue, args, returnedException); -} JSValue AsyncContextFrame::profiledCall(JSGlobalObject* global, JSValue functionObject, JSValue thisValue, const ArgList& args) { return AsyncContextFrame::call(global, functionObject, thisValue, args); } -JSValue AsyncContextFrame::profiledCall(JSGlobalObject* global, JSValue functionObject, JSValue thisValue, const ArgList& args, NakedPtr& returnedException) -{ - return AsyncContextFrame::call(global, functionObject, thisValue, args, returnedException); -} - -JSC::JSValue AsyncContextFrame::run(JSGlobalObject* global, JSValue functionObject, JSValue thisValue, const ArgList& args) -{ - ASSERT(global->isAsyncContextTrackingEnabled()); -#if ASSERT_ENABLED - auditEverything(global, functionObject, thisValue, args); -#endif - ASYNCCONTEXTFRAME_CALL_IMPL(global, ProfilingReason::API, functionObject, JSC::getCallData(functionObject), thisValue, args); -} #undef ASYNCCONTEXTFRAME_CALL_IMPL diff --git a/src/jsc/bindings/AsyncContextFrame.h b/src/jsc/bindings/AsyncContextFrame.h index abfb8444f618..53f0876911fa 100644 --- a/src/jsc/bindings/AsyncContextFrame.h +++ b/src/jsc/bindings/AsyncContextFrame.h @@ -20,30 +20,17 @@ class AsyncContextFrame : public JSC::JSNonFinalObject { // The following is JSC::call but // - it unwraps AsyncContextFrame // - does not take a CallData, because JSC::getCallData(AsyncContextFrame) -> not callable - // static JSC::JSValue call(JSC::JSGlobalObject*, JSC::JSValue functionObject, const JSC::ArgList&, ASCIILiteral errorMessage); - // static JSC::JSValue call(JSC::JSGlobalObject*, JSC::JSValue functionObject, JSC::JSValue thisValue, const JSC::ArgList&, ASCIILiteral errorMessage); static JSC::JSValue call(JSC::JSGlobalObject*, JSC::JSValue functionObject, JSC::JSValue thisValue, const JSC::ArgList&); - static JSC::JSValue call(JSC::JSGlobalObject*, JSC::JSValue functionObject, JSC::JSValue thisValue, const JSC::ArgList&, NakedPtr& returnedException); // Alias of call. static JSC::JSValue profiledCall(JSC::JSGlobalObject*, JSC::JSValue functionObject, JSC::JSValue thisValue, const JSC::ArgList&); - // Alias of call. - static JSC::JSValue profiledCall(JSC::JSGlobalObject*, JSC::JSValue functionObject, JSC::JSValue thisValue, const JSC::ArgList&, NakedPtr& returnedException); - DECLARE_INFO; DECLARE_VISIT_CHILDREN; mutable JSC::WriteBarrier callback; mutable JSC::WriteBarrier context; - /** - * When you have a **specific** AsyncContextFrame to run the function in, use this - * - * Usually, you do not want to use this. Usually, you want to use `call` or `profiledCall`. - */ - JSC::JSValue run(JSC::JSGlobalObject* globalObject, JSC::JSValue functionObject, JSC::JSValue thisValue, const JSC::ArgList& args); - template static JSC::GCClient::IsoSubspace* subspaceFor(JSC::VM& vm) { diff --git a/src/jsc/bindings/ConsoleObject.cpp b/src/jsc/bindings/ConsoleObject.cpp index 6d8fddae56b7..059994012fd5 100644 --- a/src/jsc/bindings/ConsoleObject.cpp +++ b/src/jsc/bindings/ConsoleObject.cpp @@ -108,7 +108,6 @@ void ConsoleObject::recordEnd(JSGlobalObject*, Ref&&) {} void ConsoleObject::screenshot(JSGlobalObject*, Ref&&) { } -void ConsoleObject::warnUnimplemented(const String& method) {} void ConsoleObject::profile(JSC::JSGlobalObject* globalObject, const String& title) { diff --git a/src/jsc/bindings/ConsoleObject.h b/src/jsc/bindings/ConsoleObject.h index 52032f44c36b..9628d40c0053 100644 --- a/src/jsc/bindings/ConsoleObject.h +++ b/src/jsc/bindings/ConsoleObject.h @@ -3,20 +3,9 @@ #include "root.h" #include -#include #include -#include - -namespace Inspector { -class InspectorConsoleAgent; -class InspectorDebuggerAgent; -class InspectorScriptProfilerAgent; -} // namespace Inspector namespace Bun { -using InspectorConsoleAgent = Inspector::InspectorConsoleAgent; -using InspectorDebuggerAgent = Inspector::InspectorDebuggerAgent; -using InspectorScriptProfilerAgent = Inspector::InspectorScriptProfilerAgent; using namespace JSC; class ConsoleObject final : public JSC::ConsoleClient { @@ -30,16 +19,6 @@ class ConsoleObject final : public JSC::ConsoleClient { m_client = client; } - static bool logToSystemConsole(); - static void setLogToSystemConsole(bool); - - Inspector::InspectorConsoleAgent* consoleAgent() { return m_consoleAgent; } - void setDebuggerAgent(InspectorDebuggerAgent* agent) { m_debuggerAgent = agent; } - void setPersistentScriptProfilerAgent(InspectorScriptProfilerAgent* agent) - { - m_scriptProfilerAgent = agent; - } - void* m_client; private: @@ -57,16 +36,6 @@ class ConsoleObject final : public JSC::ConsoleClient { void record(JSC::JSGlobalObject*, Ref&&); void recordEnd(JSC::JSGlobalObject*, Ref&&); void screenshot(JSC::JSGlobalObject*, Ref&&); - - void warnUnimplemented(const String& method); - void internalAddMessage(MessageType, MessageLevel, JSC::JSGlobalObject*, - Ref&&); - - Inspector::InspectorConsoleAgent* m_consoleAgent; - Inspector::InspectorDebuggerAgent* m_debuggerAgent { nullptr }; - Inspector::InspectorScriptProfilerAgent* m_scriptProfilerAgent { nullptr }; - Vector m_profiles; - bool m_profileRestoreBreakpointActiveValue { false }; }; } // namespace Zig diff --git a/src/jsc/bindings/JSDOMGlobalObject.cpp b/src/jsc/bindings/JSDOMGlobalObject.cpp index c8970349ccba..e0f0cce18444 100644 --- a/src/jsc/bindings/JSDOMGlobalObject.cpp +++ b/src/jsc/bindings/JSDOMGlobalObject.cpp @@ -9,79 +9,4 @@ Zig::GlobalObject* toJSDOMGlobalObject(ScriptExecutionContext& ctx, DOMWrapperWo return uncheckedDowncast(ctx.jsGlobalObject()); } -// static JSDOMGlobalObject& callerGlobalObject(JSC::JSGlobalObject& lexicalGlobalObject, JSC::CallFrame* callFrame, bool skipFirstFrame, bool lookUpFromVMEntryScope) -// { -// VM& vm = lexicalGlobalObject.vm(); -// if (callFrame) { -// class GetCallerGlobalObjectFunctor { -// public: -// GetCallerGlobalObjectFunctor(bool skipFirstFrame) -// : m_skipFirstFrame(skipFirstFrame) -// { -// } - -// StackVisitor::Status operator()(StackVisitor& visitor) const -// { -// if (m_skipFirstFrame) { -// if (!m_hasSkippedFirstFrame) { -// m_hasSkippedFirstFrame = true; -// return StackVisitor::Continue; -// } -// } - -// if (auto* codeBlock = visitor->codeBlock()) -// m_globalObject = codeBlock->globalObject(); -// else { -// ASSERT(visitor->callee().rawPtr()); -// // FIXME: Callee is not an object if the caller is Web Assembly. -// // Figure out what to do here. We can probably get the global object -// // from the top-most Wasm Instance. https://bugs.webkit.org/show_bug.cgi?id=165721 -// if (visitor->callee().isCell() && visitor->callee().asCell()->isObject()) -// m_globalObject = uncheckedDowncast(visitor->callee().asCell())->globalObject(); -// } -// return StackVisitor::Done; -// } - -// JSC::JSGlobalObject* globalObject() const { return m_globalObject; } - -// private: -// bool m_skipFirstFrame { false }; -// mutable bool m_hasSkippedFirstFrame { false }; -// mutable JSC::JSGlobalObject* m_globalObject { nullptr }; -// }; - -// GetCallerGlobalObjectFunctor iter(skipFirstFrame); -// callFrame->iterate(vm, iter); -// if (iter.globalObject()) -// return *uncheckedDowncast(iter.globalObject()); -// } - -// // In the case of legacyActiveGlobalObjectForAccessor, it is possible that vm.topCallFrame is nullptr when the script is evaluated as JSONP. -// // Since we put JSGlobalObject to VMEntryScope, we can retrieve the right globalObject from that. -// // For callerGlobalObject, we do not check vm.entryScope to keep it the old behavior. -// if (lookUpFromVMEntryScope) { -// if (vm.entryScope) { -// if (auto* result = vm.entryScope->globalObject()) -// return *uncheckedDowncast(result); -// } -// } - -// // If we cannot find JSGlobalObject in caller frames, we just return the current lexicalGlobalObject. -// return *uncheckedDowncast(&lexicalGlobalObject); -// } - -// JSDOMGlobalObject& callerGlobalObject(JSC::JSGlobalObject& lexicalGlobalObject, JSC::CallFrame* callFrame) -// { -// constexpr bool skipFirstFrame = true; -// constexpr bool lookUpFromVMEntryScope = false; -// return callerGlobalObject(lexicalGlobalObject, callFrame, skipFirstFrame, lookUpFromVMEntryScope); -// } - -// JSDOMGlobalObject& legacyActiveGlobalObjectForAccessor(JSC::JSGlobalObject& lexicalGlobalObject, JSC::CallFrame* callFrame) -// { -// constexpr bool skipFirstFrame = false; -// constexpr bool lookUpFromVMEntryScope = true; -// return callerGlobalObject(lexicalGlobalObject, callFrame, skipFirstFrame, lookUpFromVMEntryScope); -// } - } diff --git a/src/jsc/bindings/ZigSourceProvider.cpp b/src/jsc/bindings/ZigSourceProvider.cpp index fa3778b481d1..50074091373e 100644 --- a/src/jsc/bindings/ZigSourceProvider.cpp +++ b/src/jsc/bindings/ZigSourceProvider.cpp @@ -6,7 +6,6 @@ #include "MimallocWTFMalloc.h" #include "BunAnalyzeTranspiledModule.h" -#include #include "ZigGlobalObject.h" #include "wtf/Assertions.h" @@ -20,13 +19,6 @@ namespace Zig { -using Base = JSC::SourceProvider; -using BytecodeCacheGenerator = JSC::BytecodeCacheGenerator; -using UnlinkedFunctionExecutable = JSC::UnlinkedFunctionExecutable; -using CachedBytecode = JSC::CachedBytecode; -using UnlinkedFunctionCodeBlock = JSC::UnlinkedFunctionCodeBlock; -using SourceCode = JSC::SourceCode; -using CodeSpecializationKind = JSC::CodeSpecializationKind; using SourceOrigin = JSC::SourceOrigin; using String = WTF::String; using SourceProviderSourceType = JSC::SourceProviderSourceType; @@ -50,10 +42,6 @@ SourceOrigin toSourceOrigin(const String& sourceURL, bool isBuiltin) extern "C" int ByteRangeMapping__getSourceID(void* mappings, BunString sourceURL); extern "C" void* ByteRangeMapping__find(BunString sourceURL); -void* sourceMappingForSourceURL(const WTF::String& sourceURL) -{ - return ByteRangeMapping__find(Bun::toString(sourceURL)); -} extern "C" void ByteRangeMapping__generate(BunString sourceURL, BunString code, int sourceID); @@ -287,123 +275,6 @@ unsigned SourceProvider::hash() const return m_source->hash(); } -void SourceProvider::freeSourceCode() -{ -} - -void SourceProvider::updateCache(const UnlinkedFunctionExecutable* executable, const SourceCode&, - CodeSpecializationKind kind, - const UnlinkedFunctionCodeBlock* codeBlock) -{ - // if (!m_resolvedSource.bytecodecache_fd || !m_cachedBytecode) - return; - - JSC::BytecodeCacheError error; - RefPtr cachedBytecode = JSC::encodeFunctionCodeBlock(executable->vm(), codeBlock, error); - if (cachedBytecode && !error.isValid()) - m_cachedBytecode->addFunctionUpdate(executable, kind, *cachedBytecode); -} - -void SourceProvider::cacheBytecode(const BytecodeCacheGenerator& generator) -{ - // if (!m_resolvedSource.bytecodecache_fd) - return; - - if (!m_cachedBytecode) - m_cachedBytecode = JSC::CachedBytecode::create(); - auto update = generator(); - if (update) - m_cachedBytecode->addGlobalUpdate(*update); -} - -void SourceProvider::commitCachedBytecode() -{ - // if (!m_resolvedSource.bytecodecache_fd || !m_cachedBytecode || !m_cachedBytecode->hasUpdates()) - return; - - // auto clearBytecode = WTF::makeScopeExit([&] { m_cachedBytecode = nullptr; }); - // const auto fd = m_resolvedSource.bytecodecache_fd; - - // auto fileSize = FileSystem::fileSize(fd); - // if (!fileSize) - // return; - - // size_t cacheFileSize; - // if (!WTF::convertSafely(*fileSize, cacheFileSize) || cacheFileSize != m_cachedBytecode->size()) { - // // The bytecode cache has already been updated - // return; - // } - - // if (!FileSystem::truncateFile(fd, m_cachedBytecode->sizeForUpdate())) - // return; - - // m_cachedBytecode->commitUpdates([&](off_t offset, const void* data, size_t size) { - // long long result = FileSystem::seekFile(fd, offset, FileSystem::FileSeekOrigin::Beginning); - // ASSERT_UNUSED(result, result != -1); - // size_t bytesWritten = static_cast(FileSystem::writeToFile(fd, data, size)); - // ASSERT_UNUSED(bytesWritten, bytesWritten == size); - // }); -} - -bool SourceProvider::isBytecodeCacheEnabled() const -{ - // return m_resolvedSource.bytecodecache_fd > 0; - return false; -} - -void SourceProvider::readOrGenerateByteCodeCache(JSC::VM& vm, const JSC::SourceCode& sourceCode) -{ - // auto status = this->readCache(vm, sourceCode); - // switch (status) { - // case -1: { - // m_resolvedSource.bytecodecache_fd = 0; - // break; - // } - // case 0: { - // JSC::BytecodeCacheError err; - // m_cachedBytecode = JSC::generateModuleBytecode(vm, sourceCode, m_resolvedSource.bytecodecache_fd, err); - - // if (err.isValid()) { - // m_resolvedSource.bytecodecache_fd = 0; - // m_cachedBytecode = JSC::CachedBytecode::create(); - // } - // } - // // TODO: read the bytecode into a JSC::SourceCode object here - // case 1: { - // } - // } -} -int SourceProvider::readCache(JSC::VM& vm, const JSC::SourceCode& sourceCode) -{ - return -1; - // if (m_resolvedSource.bytecodecache_fd == 0) - // return -1; - // if (!FileSystem::isHandleValid(m_resolvedSource.bytecodecache_fd)) - // return -1; - // const auto fd = m_resolvedSource.bytecodecache_fd; - - // bool success; - // FileSystem::MappedFileData mappedFile(fd, FileSystem::MappedFileMode::Shared, success); - // if (!success) - // return -1; - - // const uint8_t* fileData = reinterpret_cast(mappedFile.data()); - // unsigned fileTotalSize = mappedFile.size(); - // if (fileTotalSize == 0) - // return 0; - - // Ref cachedBytecode = JSC::CachedBytecode::create(WTF::move(mappedFile)); - // // auto key = JSC::sourceCodeKeyForSerializedModule(vm, sourceCode); - // // if (isCachedBytecodeStillValid(vm, cachedBytecode.copyRef(), key, - // // JSC::SourceCodeType::ModuleType)) { - // m_cachedBytecode = WTF::move(cachedBytecode); - // return 1; - // } else { - // FileSystem::truncateFile(fd, 0); - // return 0; - // } -} - extern "C" BunString ZigSourceProvider__getSourceSlice(SourceProvider* provider) { return Bun::toStringView(provider->source()); diff --git a/src/jsc/bindings/ZigSourceProvider.h b/src/jsc/bindings/ZigSourceProvider.h index ccbb659c734e..3513fbbe6140 100644 --- a/src/jsc/bindings/ZigSourceProvider.h +++ b/src/jsc/bindings/ZigSourceProvider.h @@ -20,19 +20,11 @@ namespace Zig { class GlobalObject; -void forEachSourceProvider(WTF::Function); JSC::SourceID sourceIDForSourceURL(const WTF::String& sourceURL); -void* sourceMappingForSourceURL(const WTF::String& sourceURL); JSC::SourceOrigin toSourceOrigin(const String& sourceURL, bool isBuiltin); class SourceProvider final : public JSC::SourceProvider { WTF_DEPRECATED_MAKE_FAST_ALLOCATED(SourceProvider); using Base = JSC::SourceProvider; - using BytecodeCacheGenerator = JSC::BytecodeCacheGenerator; - using UnlinkedFunctionExecutable = JSC::UnlinkedFunctionExecutable; - using CachedBytecode = JSC::CachedBytecode; - using UnlinkedFunctionCodeBlock = JSC::UnlinkedFunctionCodeBlock; - using SourceCode = JSC::SourceCode; - using CodeSpecializationKind = JSC::CodeSpecializationKind; using SourceOrigin = JSC::SourceOrigin; public: @@ -50,14 +42,7 @@ class SourceProvider final : public JSC::SourceProvider { return m_cachedBytecode.copyRef(); }; - void updateCache(const UnlinkedFunctionExecutable* executable, const SourceCode&, CodeSpecializationKind kind, const UnlinkedFunctionCodeBlock* codeBlock); - void cacheBytecode(const BytecodeCacheGenerator& generator); - void commitCachedBytecode(); - bool isBytecodeCacheEnabled() const; - void readOrGenerateByteCodeCache(JSC::VM& vm, const JSC::SourceCode& sourceCode); ResolvedSource m_resolvedSource; - int readCache(JSC::VM& vm, const JSC::SourceCode& sourceCode); - void freeSourceCode(); private: SourceProvider(void* bunVM, ResolvedSource resolvedSource, Ref&& sourceImpl, diff --git a/src/jsc/bindings/webcore/DOMClientIsoSubspaces.h b/src/jsc/bindings/webcore/DOMClientIsoSubspaces.h index 2a7d718bcd83..71081fba5806 100644 --- a/src/jsc/bindings/webcore/DOMClientIsoSubspaces.h +++ b/src/jsc/bindings/webcore/DOMClientIsoSubspaces.h @@ -100,187 +100,8 @@ class DOMClientIsoSubspaces { std::unique_ptr m_clientSubspaceForExposedToWorkerAndWindow; - // std::unique_ptr m_clientSubspaceForTouch; - // std::unique_ptr m_clientSubspaceForTouchEvent; - // std::unique_ptr m_clientSubspaceForTouchList; - // std::unique_ptr m_clientSubspaceForInternalSettingsGenerated; - // std::unique_ptr m_clientSubspaceForGPU; - // std::unique_ptr m_clientSubspaceForGPUAdapter; - // std::unique_ptr m_clientSubspaceForGPUBindGroup; - // std::unique_ptr m_clientSubspaceForGPUBindGroupLayout; - // std::unique_ptr m_clientSubspaceForGPUBuffer; - // std::unique_ptr m_clientSubspaceForGPUBufferUsage; - // std::unique_ptr m_clientSubspaceForGPUCanvasContext; - // std::unique_ptr m_clientSubspaceForGPUColorWrite; - // std::unique_ptr m_clientSubspaceForGPUCommandBuffer; - // std::unique_ptr m_clientSubspaceForGPUCommandEncoder; - // std::unique_ptr m_clientSubspaceForGPUCompilationInfo; - // std::unique_ptr m_clientSubspaceForGPUCompilationMessage; - // std::unique_ptr m_clientSubspaceForGPUComputePassEncoder; - // std::unique_ptr m_clientSubspaceForGPUComputePipeline; - // std::unique_ptr m_clientSubspaceForGPUDevice; - // std::unique_ptr m_clientSubspaceForGPUDeviceLostInfo; - // std::unique_ptr m_clientSubspaceForGPUExternalTexture; - // std::unique_ptr m_clientSubspaceForGPUMapMode; - // std::unique_ptr m_clientSubspaceForGPUOutOfMemoryError; - // std::unique_ptr m_clientSubspaceForGPUPipelineLayout; - // std::unique_ptr m_clientSubspaceForGPUQuerySet; - // std::unique_ptr m_clientSubspaceForGPUQueue; - // std::unique_ptr m_clientSubspaceForGPURenderBundle; - // std::unique_ptr m_clientSubspaceForGPURenderBundleEncoder; - // std::unique_ptr m_clientSubspaceForGPURenderPassEncoder; - // std::unique_ptr m_clientSubspaceForGPURenderPipeline; - // std::unique_ptr m_clientSubspaceForGPUSampler; - // std::unique_ptr m_clientSubspaceForGPUShaderModule; - // std::unique_ptr m_clientSubspaceForGPUShaderStage; - // std::unique_ptr m_clientSubspaceForGPUSupportedFeatures; - // std::unique_ptr m_clientSubspaceForGPUSupportedLimits; - // std::unique_ptr m_clientSubspaceForGPUTexture; - // std::unique_ptr m_clientSubspaceForGPUTextureUsage; - // std::unique_ptr m_clientSubspaceForGPUTextureView; - // std::unique_ptr m_clientSubspaceForGPUUncapturedErrorEvent; - // std::unique_ptr m_clientSubspaceForGPUValidationError; - // std::unique_ptr m_clientSubspaceForWebKitPlaybackTargetAvailabilityEvent; - // std::unique_ptr m_clientSubspaceForApplePayCancelEvent; - // std::unique_ptr m_clientSubspaceForApplePayCouponCodeChangedEvent; - // std::unique_ptr m_clientSubspaceForApplePayError; - // std::unique_ptr m_clientSubspaceForApplePayPaymentAuthorizedEvent; - // std::unique_ptr m_clientSubspaceForApplePayPaymentMethodSelectedEvent; - // std::unique_ptr m_clientSubspaceForApplePaySession; - // std::unique_ptr m_clientSubspaceForApplePaySetup; - // std::unique_ptr m_clientSubspaceForApplePaySetupFeature; - // std::unique_ptr m_clientSubspaceForApplePayShippingContactSelectedEvent; - // std::unique_ptr m_clientSubspaceForApplePayShippingMethodSelectedEvent; - // std::unique_ptr m_clientSubspaceForApplePayValidateMerchantEvent; - // std::unique_ptr m_clientSubspaceForClipboard; - // std::unique_ptr m_clientSubspaceForClipboardItem; - // std::unique_ptr m_clientSubspaceForDOMCache; - // std::unique_ptr m_clientSubspaceForDOMCacheStorage; - // std::unique_ptr m_clientSubspaceForContactsManager; - // std::unique_ptr m_clientSubspaceForBasicCredential; - // std::unique_ptr m_clientSubspaceForCredentialsContainer; - // std::unique_ptr m_clientSubspaceForMediaKeyMessageEvent; - // std::unique_ptr m_clientSubspaceForMediaKeySession; - // std::unique_ptr m_clientSubspaceForMediaKeyStatusMap; - // std::unique_ptr m_clientSubspaceForMediaKeyStatusMapIterator; - // std::unique_ptr m_clientSubspaceForMediaKeySystemAccess; - // std::unique_ptr m_clientSubspaceForMediaKeys; - // std::unique_ptr m_clientSubspaceForWebKitMediaKeyMessageEvent; - // std::unique_ptr m_clientSubspaceForWebKitMediaKeyNeededEvent; - // std::unique_ptr m_clientSubspaceForWebKitMediaKeySession; - // std::unique_ptr m_clientSubspaceForWebKitMediaKeys; - // std::unique_ptr m_clientSubspaceForDOMFileSystem; - // std::unique_ptr m_clientSubspaceForFileSystemDirectoryEntry; - // std::unique_ptr m_clientSubspaceForFileSystemDirectoryReader; - // std::unique_ptr m_clientSubspaceForFileSystemEntry; - // std::unique_ptr m_clientSubspaceForFileSystemFileEntry; std::unique_ptr m_clientSubspaceForFetchHeaders; std::unique_ptr m_clientSubspaceForFetchHeadersIterator; - // std::unique_ptr m_clientSubspaceForFetchRequest; - // std::unique_ptr m_clientSubspaceForFetchResponse; - // std::unique_ptr m_clientSubspaceForFileSystemDirectoryHandle; - // std::unique_ptr m_clientSubspaceForFileSystemFileHandle; - // std::unique_ptr m_clientSubspaceForFileSystemHandle; - // std::unique_ptr m_clientSubspaceForFileSystemSyncAccessHandle; - // std::unique_ptr m_clientSubspaceForGamepad; - // std::unique_ptr m_clientSubspaceForGamepadButton; - // std::unique_ptr m_clientSubspaceForGamepadEvent; - // std::unique_ptr m_clientSubspaceForGeolocation; - // std::unique_ptr m_clientSubspaceForGeolocationCoordinates; - // std::unique_ptr m_clientSubspaceForGeolocationPosition; - // std::unique_ptr m_clientSubspaceForGeolocationPositionError; - // std::unique_ptr m_clientSubspaceForHighlight; - // std::unique_ptr m_clientSubspaceForHighlightRegister; - // std::unique_ptr m_clientSubspaceForIDBCursor; - // std::unique_ptr m_clientSubspaceForIDBCursorWithValue; - // std::unique_ptr m_clientSubspaceForIDBDatabase; - // std::unique_ptr m_clientSubspaceForIDBFactory; - // std::unique_ptr m_clientSubspaceForIDBIndex; - // std::unique_ptr m_clientSubspaceForIDBKeyRange; - // std::unique_ptr m_clientSubspaceForIDBObjectStore; - // std::unique_ptr m_clientSubspaceForIDBOpenDBRequest; - // std::unique_ptr m_clientSubspaceForIDBRequest; - // std::unique_ptr m_clientSubspaceForIDBTransaction; - // std::unique_ptr m_clientSubspaceForIDBVersionChangeEvent; - // std::unique_ptr m_clientSubspaceForMediaCapabilities; - // std::unique_ptr m_clientSubspaceForMediaControlsHost; - // std::unique_ptr m_clientSubspaceForBlobEvent; - // std::unique_ptr m_clientSubspaceForMediaRecorder; - // std::unique_ptr m_clientSubspaceForMediaRecorderErrorEvent; - // std::unique_ptr m_clientSubspaceForMediaMetadata; - // std::unique_ptr m_clientSubspaceForMediaSession; - // std::unique_ptr m_clientSubspaceForMediaSessionCoordinator; - // std::unique_ptr m_clientSubspaceForMediaSource; - // std::unique_ptr m_clientSubspaceForSourceBuffer; - // std::unique_ptr m_clientSubspaceForSourceBufferList; - // std::unique_ptr m_clientSubspaceForVideoPlaybackQuality; - // std::unique_ptr m_clientSubspaceForCanvasCaptureMediaStreamTrack; - // std::unique_ptr m_clientSubspaceForMediaDeviceInfo; - // std::unique_ptr m_clientSubspaceForMediaDevices; - // std::unique_ptr m_clientSubspaceForMediaStream; - // std::unique_ptr m_clientSubspaceForMediaStreamTrack; - // std::unique_ptr m_clientSubspaceForMediaStreamTrackEvent; - // std::unique_ptr m_clientSubspaceForOverconstrainedError; - // std::unique_ptr m_clientSubspaceForOverconstrainedErrorEvent; - // std::unique_ptr m_clientSubspaceForRTCCertificate; - // std::unique_ptr m_clientSubspaceForRTCDTMFSender; - // std::unique_ptr m_clientSubspaceForRTCDTMFToneChangeEvent; - // std::unique_ptr m_clientSubspaceForRTCDataChannel; - // std::unique_ptr m_clientSubspaceForRTCDataChannelEvent; - // std::unique_ptr m_clientSubspaceForRTCDtlsTransport; - // std::unique_ptr m_clientSubspaceForRTCEncodedAudioFrame; - // std::unique_ptr m_clientSubspaceForRTCEncodedVideoFrame; - // std::unique_ptr m_clientSubspaceForRTCError; - // std::unique_ptr m_clientSubspaceForRTCErrorEvent; - // std::unique_ptr m_clientSubspaceForRTCIceCandidate; - // std::unique_ptr m_clientSubspaceForRTCIceTransport; - // std::unique_ptr m_clientSubspaceForRTCPeerConnection; - // std::unique_ptr m_clientSubspaceForRTCPeerConnectionIceErrorEvent; - // std::unique_ptr m_clientSubspaceForRTCPeerConnectionIceEvent; - // std::unique_ptr m_clientSubspaceForRTCRtpReceiver; - // std::unique_ptr m_clientSubspaceForRTCRtpSFrameTransform; - // std::unique_ptr m_clientSubspaceForRTCRtpSFrameTransformErrorEvent; - // std::unique_ptr m_clientSubspaceForRTCRtpScriptTransform; - // std::unique_ptr m_clientSubspaceForRTCRtpScriptTransformer; - // std::unique_ptr m_clientSubspaceForRTCRtpSender; - // std::unique_ptr m_clientSubspaceForRTCRtpTransceiver; - // std::unique_ptr m_clientSubspaceForRTCSctpTransport; - // std::unique_ptr m_clientSubspaceForRTCSessionDescription; - // std::unique_ptr m_clientSubspaceForRTCStatsReport; - // std::unique_ptr m_clientSubspaceForRTCTrackEvent; - // std::unique_ptr m_clientSubspaceForRTCTransformEvent; - // std::unique_ptr m_clientSubspaceForHTMLModelElement; - // std::unique_ptr m_clientSubspaceForNotification; - // std::unique_ptr m_clientSubspaceForNotificationEvent; - // std::unique_ptr m_clientSubspaceForMerchantValidationEvent; - // std::unique_ptr m_clientSubspaceForPaymentAddress; - // std::unique_ptr m_clientSubspaceForPaymentMethodChangeEvent; - // std::unique_ptr m_clientSubspaceForPaymentRequest; - // std::unique_ptr m_clientSubspaceForPaymentRequestUpdateEvent; - // std::unique_ptr m_clientSubspaceForPaymentResponse; - // std::unique_ptr m_clientSubspaceForPermissionStatus; - // std::unique_ptr m_clientSubspaceForPermissions; - // std::unique_ptr m_clientSubspaceForPictureInPictureEvent; - // std::unique_ptr m_clientSubspaceForPictureInPictureWindow; - // std::unique_ptr m_clientSubspaceForPushEvent; - // std::unique_ptr m_clientSubspaceForPushManager; - // std::unique_ptr m_clientSubspaceForPushMessageData; - // std::unique_ptr m_clientSubspaceForPushSubscription; - // std::unique_ptr m_clientSubspaceForPushSubscriptionChangeEvent; - // std::unique_ptr m_clientSubspaceForPushSubscriptionOptions; - // std::unique_ptr m_clientSubspaceForRemotePlayback; - // std::unique_ptr m_clientSubspaceForSpeechRecognition; - // std::unique_ptr m_clientSubspaceForSpeechRecognitionAlternative; - // std::unique_ptr m_clientSubspaceForSpeechRecognitionErrorEvent; - // std::unique_ptr m_clientSubspaceForSpeechRecognitionEvent; - // std::unique_ptr m_clientSubspaceForSpeechRecognitionResult; - // std::unique_ptr m_clientSubspaceForSpeechRecognitionResultList; - // std::unique_ptr m_clientSubspaceForSpeechSynthesis; - // std::unique_ptr m_clientSubspaceForSpeechSynthesisErrorEvent; - // std::unique_ptr m_clientSubspaceForSpeechSynthesisEvent; - // std::unique_ptr m_clientSubspaceForSpeechSynthesisUtterance; - // std::unique_ptr m_clientSubspaceForSpeechSynthesisVoice; - // std::unique_ptr m_clientSubspaceForStorageManager; std::unique_ptr m_clientSubspaceForByteLengthQueuingStrategy; std::unique_ptr m_clientSubspaceForCountQueuingStrategy; std::unique_ptr m_clientSubspaceForReadableByteStreamController; @@ -324,645 +145,29 @@ class DOMClientIsoSubspaces { std::unique_ptr m_clientSubspaceForWritableStream; std::unique_ptr m_clientSubspaceForWritableStreamDefaultController; std::unique_ptr m_clientSubspaceForWritableStreamDefaultWriter; - // std::unique_ptr m_clientSubspaceForWebLock; - // std::unique_ptr m_clientSubspaceForWebLockManager; - // std::unique_ptr m_clientSubspaceForAnalyserNode; - // std::unique_ptr m_clientSubspaceForAudioBuffer; - // std::unique_ptr m_clientSubspaceForAudioBufferSourceNode; - // std::unique_ptr m_clientSubspaceForAudioContext; - // std::unique_ptr m_clientSubspaceForAudioDestinationNode; - // std::unique_ptr m_clientSubspaceForAudioListener; - // std::unique_ptr m_clientSubspaceForAudioNode; - // std::unique_ptr m_clientSubspaceForAudioParam; - // std::unique_ptr m_clientSubspaceForAudioParamMap; - // std::unique_ptr m_clientSubspaceForAudioProcessingEvent; - // std::unique_ptr m_clientSubspaceForAudioScheduledSourceNode; - // std::unique_ptr m_clientSubspaceForAudioWorklet; - // std::unique_ptr m_clientSubspaceForAudioWorkletGlobalScope; - // std::unique_ptr m_clientSubspaceForAudioWorkletNode; - // std::unique_ptr m_clientSubspaceForAudioWorkletProcessor; - // std::unique_ptr m_clientSubspaceForBaseAudioContext; - // std::unique_ptr m_clientSubspaceForBiquadFilterNode; - // std::unique_ptr m_clientSubspaceForChannelMergerNode; - // std::unique_ptr m_clientSubspaceForChannelSplitterNode; - // std::unique_ptr m_clientSubspaceForConstantSourceNode; - // std::unique_ptr m_clientSubspaceForConvolverNode; - // std::unique_ptr m_clientSubspaceForDelayNode; - // std::unique_ptr m_clientSubspaceForDynamicsCompressorNode; - // std::unique_ptr m_clientSubspaceForGainNode; - // std::unique_ptr m_clientSubspaceForIIRFilterNode; - // std::unique_ptr m_clientSubspaceForMediaElementAudioSourceNode; - // std::unique_ptr m_clientSubspaceForMediaStreamAudioDestinationNode; - // std::unique_ptr m_clientSubspaceForMediaStreamAudioSourceNode; - // std::unique_ptr m_clientSubspaceForOfflineAudioCompletionEvent; - // std::unique_ptr m_clientSubspaceForOfflineAudioContext; - // std::unique_ptr m_clientSubspaceForOscillatorNode; - // std::unique_ptr m_clientSubspaceForPannerNode; - // std::unique_ptr m_clientSubspaceForPeriodicWave; - // std::unique_ptr m_clientSubspaceForScriptProcessorNode; - // std::unique_ptr m_clientSubspaceForStereoPannerNode; - // std::unique_ptr m_clientSubspaceForWaveShaperNode; - // std::unique_ptr m_clientSubspaceForAuthenticatorAssertionResponse; - // std::unique_ptr m_clientSubspaceForAuthenticatorAttestationResponse; - // std::unique_ptr m_clientSubspaceForAuthenticatorResponse; - // std::unique_ptr m_clientSubspaceForPublicKeyCredential; - // std::unique_ptr m_clientSubspaceForVideoColorSpace; - // std::unique_ptr m_clientSubspaceForDatabase; - // std::unique_ptr m_clientSubspaceForSQLError; - // std::unique_ptr m_clientSubspaceForSQLResultSet; - // std::unique_ptr m_clientSubspaceForSQLResultSetRowList; - // std::unique_ptr m_clientSubspaceForSQLTransaction; std::unique_ptr m_clientSubspaceForCloseEvent; std::unique_ptr m_clientSubspaceForWebSocket; - // std::unique_ptr m_clientSubspaceForWebXRBoundedReferenceSpace; - // std::unique_ptr m_clientSubspaceForWebXRFrame; - // std::unique_ptr m_clientSubspaceForWebXRHand; - // std::unique_ptr m_clientSubspaceForWebXRHandIterator; - // std::unique_ptr m_clientSubspaceForWebXRInputSource; - // std::unique_ptr m_clientSubspaceForWebXRInputSourceArray; - // std::unique_ptr m_clientSubspaceForWebXRInputSourceArrayIterator; - // std::unique_ptr m_clientSubspaceForWebXRJointPose; - // std::unique_ptr m_clientSubspaceForWebXRJointSpace; - // std::unique_ptr m_clientSubspaceForWebXRLayer; - // std::unique_ptr m_clientSubspaceForWebXRPose; - // std::unique_ptr m_clientSubspaceForWebXRReferenceSpace; - // std::unique_ptr m_clientSubspaceForWebXRRenderState; - // std::unique_ptr m_clientSubspaceForWebXRRigidTransform; - // std::unique_ptr m_clientSubspaceForWebXRSession; - // std::unique_ptr m_clientSubspaceForWebXRSpace; - // std::unique_ptr m_clientSubspaceForWebXRSystem; - // std::unique_ptr m_clientSubspaceForWebXRView; - // std::unique_ptr m_clientSubspaceForWebXRViewerPose; - // std::unique_ptr m_clientSubspaceForWebXRViewport; - // std::unique_ptr m_clientSubspaceForWebXRWebGLLayer; - // std::unique_ptr m_clientSubspaceForXRInputSourceEvent; - // std::unique_ptr m_clientSubspaceForXRInputSourcesChangeEvent; - // std::unique_ptr m_clientSubspaceForXRReferenceSpaceEvent; - // std::unique_ptr m_clientSubspaceForXRSessionEvent; - // std::unique_ptr m_clientSubspaceForAnimationEffect; - // std::unique_ptr m_clientSubspaceForAnimationPlaybackEvent; - // std::unique_ptr m_clientSubspaceForAnimationTimeline; - // std::unique_ptr m_clientSubspaceForCSSAnimation; - // std::unique_ptr m_clientSubspaceForCSSTransition; - // std::unique_ptr m_clientSubspaceForCustomEffect; - // std::unique_ptr m_clientSubspaceForDocumentTimeline; - // std::unique_ptr m_clientSubspaceForKeyframeEffect; - // std::unique_ptr m_clientSubspaceForWebAnimation; std::unique_ptr m_clientSubspaceForCryptoKey; std::unique_ptr m_clientSubspaceForSubtleCrypto; - // std::unique_ptr m_clientSubspaceForCSSConditionRule; - // std::unique_ptr m_clientSubspaceForCSSCounterStyleRule; - // std::unique_ptr m_clientSubspaceForCSSFontFaceRule; - // std::unique_ptr m_clientSubspaceForCSSFontPaletteValuesRule; - // std::unique_ptr m_clientSubspaceForCSSGroupingRule; - // std::unique_ptr m_clientSubspaceForCSSImportRule; - // std::unique_ptr m_clientSubspaceForCSSKeyframeRule; - // std::unique_ptr m_clientSubspaceForCSSKeyframesRule; - // std::unique_ptr m_clientSubspaceForCSSLayerBlockRule; - // std::unique_ptr m_clientSubspaceForCSSLayerStatementRule; - // std::unique_ptr m_clientSubspaceForCSSMediaRule; - // std::unique_ptr m_clientSubspaceForCSSNamespaceRule; - // std::unique_ptr m_clientSubspaceForCSSPageRule; - // std::unique_ptr m_clientSubspaceForCSSPaintSize; - // std::unique_ptr m_clientSubspaceForCSSRule; - // std::unique_ptr m_clientSubspaceForCSSRuleList; - // std::unique_ptr m_clientSubspaceForCSSStyleDeclaration; - // std::unique_ptr m_clientSubspaceForCSSStyleRule; - // std::unique_ptr m_clientSubspaceForCSSStyleSheet; - // std::unique_ptr m_clientSubspaceForCSSSupportsRule; - // std::unique_ptr m_clientSubspaceForCSSUnknownRule; - // std::unique_ptr m_clientSubspaceForDOMCSSNamespace; - // std::unique_ptr m_clientSubspaceForDOMMatrix; - // std::unique_ptr m_clientSubspaceForDOMMatrixReadOnly; - // std::unique_ptr m_clientSubspaceForDeprecatedCSSOMCounter; - // std::unique_ptr m_clientSubspaceForDeprecatedCSSOMPrimitiveValue; - // std::unique_ptr m_clientSubspaceForDeprecatedCSSOMRGBColor; - // std::unique_ptr m_clientSubspaceForDeprecatedCSSOMRect; - // std::unique_ptr m_clientSubspaceForDeprecatedCSSOMValue; - // std::unique_ptr m_clientSubspaceForDeprecatedCSSOMValueList; - // std::unique_ptr m_clientSubspaceForFontFace; - // std::unique_ptr m_clientSubspaceForFontFaceSet; - // std::unique_ptr m_clientSubspaceForFontFaceSetIterator; - // std::unique_ptr m_clientSubspaceForMediaList; - // std::unique_ptr m_clientSubspaceForMediaQueryList; - // std::unique_ptr m_clientSubspaceForMediaQueryListEvent; - // std::unique_ptr m_clientSubspaceForStyleMedia; - // std::unique_ptr m_clientSubspaceForStyleSheet; - // std::unique_ptr m_clientSubspaceForStyleSheetList; - // std::unique_ptr m_clientSubspaceForCSSKeywordValue; - // std::unique_ptr m_clientSubspaceForCSSNumericValue; - // std::unique_ptr m_clientSubspaceForCSSOMVariableReferenceValue; - // std::unique_ptr m_clientSubspaceForCSSStyleImageValue; - // std::unique_ptr m_clientSubspaceForCSSStyleValue; - // std::unique_ptr m_clientSubspaceForCSSUnitValue; - // std::unique_ptr m_clientSubspaceForCSSUnparsedValue; - // std::unique_ptr m_clientSubspaceForCSSUnparsedValueIterator; - // std::unique_ptr m_clientSubspaceForStylePropertyMap; - // std::unique_ptr m_clientSubspaceForStylePropertyMapReadOnly; - // std::unique_ptr m_clientSubspaceForCSSMathInvert; - // std::unique_ptr m_clientSubspaceForCSSMathMax; - // std::unique_ptr m_clientSubspaceForCSSMathMin; - // std::unique_ptr m_clientSubspaceForCSSMathNegate; - // std::unique_ptr m_clientSubspaceForCSSMathProduct; - // std::unique_ptr m_clientSubspaceForCSSMathSum; - // std::unique_ptr m_clientSubspaceForCSSMathValue; - // std::unique_ptr m_clientSubspaceForCSSNumericArray; - // std::unique_ptr m_clientSubspaceForCSSNumericArrayIterator; - // std::unique_ptr m_clientSubspaceForCSSMatrixComponent; - // std::unique_ptr m_clientSubspaceForCSSPerspective; - // std::unique_ptr m_clientSubspaceForCSSRotate; - // std::unique_ptr m_clientSubspaceForCSSScale; - // std::unique_ptr m_clientSubspaceForCSSSkew; - // std::unique_ptr m_clientSubspaceForCSSSkewX; - // std::unique_ptr m_clientSubspaceForCSSSkewY; - // std::unique_ptr m_clientSubspaceForCSSTransformComponent; - // std::unique_ptr m_clientSubspaceForCSSTransformValue; - // std::unique_ptr m_clientSubspaceForCSSTransformValueIterator; - // std::unique_ptr m_clientSubspaceForCSSTranslate; - // std::unique_ptr m_clientSubspaceForAbstractRange; - // std::unique_ptr m_clientSubspaceForAnimationEvent; - // std::unique_ptr m_clientSubspaceForAttr; - // std::unique_ptr m_clientSubspaceForBeforeUnloadEvent; std::unique_ptr m_clientSubspaceForBroadcastChannel; - // std::unique_ptr m_clientSubspaceForCDATASection; - // std::unique_ptr m_clientSubspaceForCharacterData; - // std::unique_ptr m_clientSubspaceForClipboardEvent; - // std::unique_ptr m_clientSubspaceForComment; - // std::unique_ptr m_clientSubspaceForCompositionEvent; - // std::unique_ptr m_clientSubspaceForCustomElementRegistry; std::unique_ptr m_clientSubspaceForCustomEvent; - // std::unique_ptr m_clientSubspaceForDOMImplementation; - // std::unique_ptr m_clientSubspaceForDOMPoint; - // std::unique_ptr m_clientSubspaceForDOMPointReadOnly; - // std::unique_ptr m_clientSubspaceForDOMQuad; - // std::unique_ptr m_clientSubspaceForDOMRect; - // std::unique_ptr m_clientSubspaceForDOMRectList; - // std::unique_ptr m_clientSubspaceForDOMRectReadOnly; - // std::unique_ptr m_clientSubspaceForDOMStringList; - // std::unique_ptr m_clientSubspaceForDOMStringMap; - // std::unique_ptr m_clientSubspaceForDataTransfer; - // std::unique_ptr m_clientSubspaceForDataTransferItem; - // std::unique_ptr m_clientSubspaceForDataTransferItemList; - // std::unique_ptr m_clientSubspaceForDeviceMotionEvent; - // std::unique_ptr m_clientSubspaceForDeviceOrientationEvent; - // std::unique_ptr m_clientSubspaceForDocument; - // std::unique_ptr m_clientSubspaceForDocumentFragment; - // std::unique_ptr m_clientSubspaceForDocumentType; - // std::unique_ptr m_clientSubspaceForDragEvent; - // std::unique_ptr m_clientSubspaceForElement; - // std::unique_ptr m_clientSubspaceForFocusEvent; - // std::unique_ptr m_clientSubspaceForFormDataEvent; - // std::unique_ptr m_clientSubspaceForHashChangeEvent; - // std::unique_ptr m_clientSubspaceForIdleDeadline; - // std::unique_ptr m_clientSubspaceForInputEvent; - // std::unique_ptr m_clientSubspaceForKeyboardEvent; std::unique_ptr m_clientSubspaceForMessageChannel; std::unique_ptr m_clientSubspaceForMessageEvent; std::unique_ptr m_clientSubspaceForMessagePort; - // std::unique_ptr m_clientSubspaceForMouseEvent; - // std::unique_ptr m_clientSubspaceForMutationEvent; - // std::unique_ptr m_clientSubspaceForMutationObserver; - // std::unique_ptr m_clientSubspaceForMutationRecord; - // std::unique_ptr m_clientSubspaceForNamedNodeMap; - // std::unique_ptr m_clientSubspaceForNode; - // std::unique_ptr m_clientSubspaceForNodeIterator; - // std::unique_ptr m_clientSubspaceForNodeList; - // std::unique_ptr m_clientSubspaceForNodeListIterator; - // std::unique_ptr m_clientSubspaceForOverflowEvent; - // std::unique_ptr m_clientSubspaceForPageTransitionEvent; - // std::unique_ptr m_clientSubspaceForPointerEvent; - // std::unique_ptr m_clientSubspaceForPopStateEvent; - // std::unique_ptr m_clientSubspaceForProcessingInstruction; - // std::unique_ptr m_clientSubspaceForProgressEvent; - // std::unique_ptr m_clientSubspaceForPromiseRejectionEvent; - // std::unique_ptr m_clientSubspaceForRange; - // std::unique_ptr m_clientSubspaceForSecurityPolicyViolationEvent; - // std::unique_ptr m_clientSubspaceForShadowRoot; - // std::unique_ptr m_clientSubspaceForStaticRange; - // std::unique_ptr m_clientSubspaceForText; - // std::unique_ptr m_clientSubspaceForTextDecoder; std::unique_ptr m_clientSubspaceForTextDecoderStream; - // std::unique_ptr m_clientSubspaceForTextDecoderStreamDecoder; std::unique_ptr m_clientSubspaceForTextEncoder; std::unique_ptr m_clientSubspaceForTextEncoderStream; - // std::unique_ptr m_clientSubspaceForTextEncoderStreamEncoder; - // std::unique_ptr m_clientSubspaceForTextEvent; - // std::unique_ptr m_clientSubspaceForTransitionEvent; - // std::unique_ptr m_clientSubspaceForTreeWalker; - // std::unique_ptr m_clientSubspaceForUIEvent; - // std::unique_ptr m_clientSubspaceForWheelEvent; - // std::unique_ptr m_clientSubspaceForXMLDocument; - // std::unique_ptr m_clientSubspaceForBlob; - // std::unique_ptr m_clientSubspaceForFile; - // std::unique_ptr m_clientSubspaceForFileList; - // std::unique_ptr m_clientSubspaceForFileReader; - // std::unique_ptr m_clientSubspaceForFileReaderSync; - // std::unique_ptr m_clientSubspaceForDOMFormData; - // std::unique_ptr m_clientSubspaceForDOMFormDataIterator; - // std::unique_ptr m_clientSubspaceForDOMTokenList; - // std::unique_ptr m_clientSubspaceForDOMTokenListIterator; - // std::unique_ptr m_clientSubspaceForDOMURL; - // std::unique_ptr m_clientSubspaceForHTMLAllCollection; - // std::unique_ptr m_clientSubspaceForHTMLAnchorElement; - // std::unique_ptr m_clientSubspaceForHTMLAreaElement; - // std::unique_ptr m_clientSubspaceForHTMLAttachmentElement; - // std::unique_ptr m_clientSubspaceForHTMLAudioElement; - // std::unique_ptr m_clientSubspaceForHTMLBRElement; - // std::unique_ptr m_clientSubspaceForHTMLBaseElement; - // std::unique_ptr m_clientSubspaceForHTMLBodyElement; - // std::unique_ptr m_clientSubspaceForHTMLButtonElement; - // std::unique_ptr m_clientSubspaceForHTMLCanvasElement; - // std::unique_ptr m_clientSubspaceForHTMLCollection; - // std::unique_ptr m_clientSubspaceForHTMLDListElement; - // std::unique_ptr m_clientSubspaceForHTMLDataElement; - // std::unique_ptr m_clientSubspaceForHTMLDataListElement; - // std::unique_ptr m_clientSubspaceForHTMLDetailsElement; - // std::unique_ptr m_clientSubspaceForHTMLDialogElement; - // std::unique_ptr m_clientSubspaceForHTMLDirectoryElement; - // std::unique_ptr m_clientSubspaceForHTMLDivElement; - // std::unique_ptr m_clientSubspaceForHTMLDocument; - // std::unique_ptr m_clientSubspaceForHTMLElement; - // std::unique_ptr m_clientSubspaceForHTMLEmbedElement; - // std::unique_ptr m_clientSubspaceForHTMLFieldSetElement; - // std::unique_ptr m_clientSubspaceForHTMLFontElement; - // std::unique_ptr m_clientSubspaceForHTMLFormControlsCollection; - // std::unique_ptr m_clientSubspaceForHTMLFormElement; - // std::unique_ptr m_clientSubspaceForHTMLFrameElement; - // std::unique_ptr m_clientSubspaceForHTMLFrameSetElement; - // std::unique_ptr m_clientSubspaceForHTMLHRElement; - // std::unique_ptr m_clientSubspaceForHTMLHeadElement; - // std::unique_ptr m_clientSubspaceForHTMLHeadingElement; - // std::unique_ptr m_clientSubspaceForHTMLHtmlElement; - // std::unique_ptr m_clientSubspaceForHTMLIFrameElement; - // std::unique_ptr m_clientSubspaceForHTMLImageElement; - // std::unique_ptr m_clientSubspaceForHTMLInputElement; - // std::unique_ptr m_clientSubspaceForHTMLLIElement; - // std::unique_ptr m_clientSubspaceForHTMLLabelElement; - // std::unique_ptr m_clientSubspaceForHTMLLegendElement; - // std::unique_ptr m_clientSubspaceForHTMLLinkElement; - // std::unique_ptr m_clientSubspaceForHTMLMapElement; - // std::unique_ptr m_clientSubspaceForHTMLMarqueeElement; - // std::unique_ptr m_clientSubspaceForHTMLMediaElement; - // std::unique_ptr m_clientSubspaceForHTMLMenuElement; - // std::unique_ptr m_clientSubspaceForHTMLMenuItemElement; - // std::unique_ptr m_clientSubspaceForHTMLMetaElement; - // std::unique_ptr m_clientSubspaceForHTMLMeterElement; - // std::unique_ptr m_clientSubspaceForHTMLModElement; - // std::unique_ptr m_clientSubspaceForHTMLOListElement; - // std::unique_ptr m_clientSubspaceForHTMLObjectElement; - // std::unique_ptr m_clientSubspaceForHTMLOptGroupElement; - // std::unique_ptr m_clientSubspaceForHTMLOptionElement; - // std::unique_ptr m_clientSubspaceForHTMLOptionsCollection; - // std::unique_ptr m_clientSubspaceForHTMLOutputElement; - // std::unique_ptr m_clientSubspaceForHTMLParagraphElement; - // std::unique_ptr m_clientSubspaceForHTMLParamElement; - // std::unique_ptr m_clientSubspaceForHTMLPictureElement; - // std::unique_ptr m_clientSubspaceForHTMLPreElement; - // std::unique_ptr m_clientSubspaceForHTMLProgressElement; - // std::unique_ptr m_clientSubspaceForHTMLQuoteElement; - // std::unique_ptr m_clientSubspaceForHTMLScriptElement; - // std::unique_ptr m_clientSubspaceForHTMLSelectElement; - // std::unique_ptr m_clientSubspaceForHTMLSlotElement; - // std::unique_ptr m_clientSubspaceForHTMLSourceElement; - // std::unique_ptr m_clientSubspaceForHTMLSpanElement; - // std::unique_ptr m_clientSubspaceForHTMLStyleElement; - // std::unique_ptr m_clientSubspaceForHTMLTableCaptionElement; - // std::unique_ptr m_clientSubspaceForHTMLTableCellElement; - // std::unique_ptr m_clientSubspaceForHTMLTableColElement; - // std::unique_ptr m_clientSubspaceForHTMLTableElement; - // std::unique_ptr m_clientSubspaceForHTMLTableRowElement; - // std::unique_ptr m_clientSubspaceForHTMLTableSectionElement; - // std::unique_ptr m_clientSubspaceForHTMLTemplateElement; - // std::unique_ptr m_clientSubspaceForHTMLTextAreaElement; - // std::unique_ptr m_clientSubspaceForHTMLTimeElement; - // std::unique_ptr m_clientSubspaceForHTMLTitleElement; - // std::unique_ptr m_clientSubspaceForHTMLTrackElement; - // std::unique_ptr m_clientSubspaceForHTMLUListElement; - // std::unique_ptr m_clientSubspaceForHTMLUnknownElement; - // std::unique_ptr m_clientSubspaceForHTMLVideoElement; - // std::unique_ptr m_clientSubspaceForImageBitmap; - // std::unique_ptr m_clientSubspaceForImageData; - // std::unique_ptr m_clientSubspaceForMediaController; - // std::unique_ptr m_clientSubspaceForMediaEncryptedEvent; - // std::unique_ptr m_clientSubspaceForMediaError; - // std::unique_ptr m_clientSubspaceForOffscreenCanvas; - // std::unique_ptr m_clientSubspaceForRadioNodeList; - // std::unique_ptr m_clientSubspaceForSubmitEvent; - // std::unique_ptr m_clientSubspaceForTextMetrics; - // std::unique_ptr m_clientSubspaceForTimeRanges; - // std::unique_ptr m_clientSubspaceForURLSearchParams; - // std::unique_ptr m_clientSubspaceForURLSearchParamsIterator; - // std::unique_ptr m_clientSubspaceForValidityState; - // std::unique_ptr m_clientSubspaceForWebKitMediaKeyError; - // std::unique_ptr m_clientSubspaceForANGLEInstancedArrays; - // std::unique_ptr m_clientSubspaceForCanvasGradient; - // std::unique_ptr m_clientSubspaceForCanvasPattern; - // std::unique_ptr m_clientSubspaceForCanvasRenderingContext2D; - // std::unique_ptr m_clientSubspaceForEXTBlendMinMax; - // std::unique_ptr m_clientSubspaceForEXTColorBufferFloat; - // std::unique_ptr m_clientSubspaceForEXTColorBufferHalfFloat; - // std::unique_ptr m_clientSubspaceForEXTFloatBlend; - // std::unique_ptr m_clientSubspaceForEXTFragDepth; - // std::unique_ptr m_clientSubspaceForEXTShaderTextureLOD; - // std::unique_ptr m_clientSubspaceForEXTTextureCompressionRGTC; - // std::unique_ptr m_clientSubspaceForEXTTextureFilterAnisotropic; - // std::unique_ptr m_clientSubspaceForEXTsRGB; - // std::unique_ptr m_clientSubspaceForImageBitmapRenderingContext; - // std::unique_ptr m_clientSubspaceForKHRParallelShaderCompile; - // std::unique_ptr m_clientSubspaceForOESElementIndexUint; - // std::unique_ptr m_clientSubspaceForOESFBORenderMipmap; - // std::unique_ptr m_clientSubspaceForOESStandardDerivatives; - // std::unique_ptr m_clientSubspaceForOESTextureFloat; - // std::unique_ptr m_clientSubspaceForOESTextureFloatLinear; - // std::unique_ptr m_clientSubspaceForOESTextureHalfFloat; - // std::unique_ptr m_clientSubspaceForOESTextureHalfFloatLinear; - // std::unique_ptr m_clientSubspaceForOESVertexArrayObject; - // std::unique_ptr m_clientSubspaceForOffscreenCanvasRenderingContext2D; - // std::unique_ptr m_clientSubspaceForPaintRenderingContext2D; - // std::unique_ptr m_clientSubspaceForPath2D; - // std::unique_ptr m_clientSubspaceForWebGL2RenderingContext; - // std::unique_ptr m_clientSubspaceForWebGLActiveInfo; - // std::unique_ptr m_clientSubspaceForWebGLBuffer; - // std::unique_ptr m_clientSubspaceForWebGLColorBufferFloat; - // std::unique_ptr m_clientSubspaceForWebGLCompressedTextureASTC; - // std::unique_ptr m_clientSubspaceForWebGLCompressedTextureATC; - // std::unique_ptr m_clientSubspaceForWebGLCompressedTextureETC; - // std::unique_ptr m_clientSubspaceForWebGLCompressedTextureETC1; - // std::unique_ptr m_clientSubspaceForWebGLCompressedTexturePVRTC; - // std::unique_ptr m_clientSubspaceForWebGLCompressedTextureS3TC; - // std::unique_ptr m_clientSubspaceForWebGLCompressedTextureS3TCsRGB; - // std::unique_ptr m_clientSubspaceForWebGLContextEvent; - // std::unique_ptr m_clientSubspaceForWebGLDebugRendererInfo; - // std::unique_ptr m_clientSubspaceForWebGLDebugShaders; - // std::unique_ptr m_clientSubspaceForWebGLDepthTexture; - // std::unique_ptr m_clientSubspaceForWebGLDrawBuffers; - // std::unique_ptr m_clientSubspaceForWebGLFramebuffer; - // std::unique_ptr m_clientSubspaceForWebGLLoseContext; - // std::unique_ptr m_clientSubspaceForWebGLMultiDraw; - // std::unique_ptr m_clientSubspaceForWebGLProgram; - // std::unique_ptr m_clientSubspaceForWebGLQuery; - // std::unique_ptr m_clientSubspaceForWebGLRenderbuffer; - // std::unique_ptr m_clientSubspaceForWebGLRenderingContext; - // std::unique_ptr m_clientSubspaceForWebGLSampler; - // std::unique_ptr m_clientSubspaceForWebGLShader; - // std::unique_ptr m_clientSubspaceForWebGLShaderPrecisionFormat; - // std::unique_ptr m_clientSubspaceForWebGLSync; - // std::unique_ptr m_clientSubspaceForWebGLTexture; - // std::unique_ptr m_clientSubspaceForWebGLTransformFeedback; - // std::unique_ptr m_clientSubspaceForWebGLUniformLocation; - // std::unique_ptr m_clientSubspaceForWebGLVertexArrayObject; - // std::unique_ptr m_clientSubspaceForWebGLVertexArrayObjectOES; - // std::unique_ptr m_clientSubspaceForAudioTrack; - // std::unique_ptr m_clientSubspaceForAudioTrackConfiguration; - // std::unique_ptr m_clientSubspaceForAudioTrackList; - // std::unique_ptr m_clientSubspaceForDataCue; - // std::unique_ptr m_clientSubspaceForTextTrack; - // std::unique_ptr m_clientSubspaceForTextTrackCue; - // std::unique_ptr m_clientSubspaceForTextTrackCueGeneric; - // std::unique_ptr m_clientSubspaceForTextTrackCueList; - // std::unique_ptr m_clientSubspaceForTextTrackList; - // std::unique_ptr m_clientSubspaceForTrackEvent; - // std::unique_ptr m_clientSubspaceForVTTCue; - // std::unique_ptr m_clientSubspaceForVTTRegion; - // std::unique_ptr m_clientSubspaceForVTTRegionList; - // std::unique_ptr m_clientSubspaceForVideoTrack; - // std::unique_ptr m_clientSubspaceForVideoTrackConfiguration; - // std::unique_ptr m_clientSubspaceForVideoTrackList; - // std::unique_ptr m_clientSubspaceForCommandLineAPIHost; - // std::unique_ptr m_clientSubspaceForInspectorAuditAccessibilityObject; - // std::unique_ptr m_clientSubspaceForInspectorAuditDOMObject; - // std::unique_ptr m_clientSubspaceForInspectorAuditResourcesObject; - // std::unique_ptr m_clientSubspaceForInspectorFrontendHost; - // std::unique_ptr m_clientSubspaceForDOMApplicationCache; - // std::unique_ptr m_clientSubspaceForMathMLElement; - // std::unique_ptr m_clientSubspaceForMathMLMathElement; - // std::unique_ptr m_clientSubspaceForBarProp; - // std::unique_ptr m_clientSubspaceForCrypto; - // std::unique_ptr m_clientSubspaceForDOMSelection; - // std::unique_ptr m_clientSubspaceForDOMWindow; - // std::unique_ptr m_clientSubspaceForEventSource; - // std::unique_ptr m_clientSubspaceForHistory; - // std::unique_ptr m_clientSubspaceForIntersectionObserver; - // std::unique_ptr m_clientSubspaceForIntersectionObserverEntry; - // std::unique_ptr m_clientSubspaceForLocation; - // std::unique_ptr m_clientSubspaceForNavigator; std::unique_ptr m_clientSubspaceForPerformance; std::unique_ptr m_clientSubspaceForPerformanceEntry; std::unique_ptr m_clientSubspaceForPerformanceMark; std::unique_ptr m_clientSubspaceForPerformanceMeasure; - // std::unique_ptr m_clientSubspaceForPerformanceNavigation; - // std::unique_ptr m_clientSubspaceForPerformanceNavigationTiming; std::unique_ptr m_clientSubspaceForPerformanceObserver; std::unique_ptr m_clientSubspaceForPerformanceObserverEntryList; - // std::unique_ptr m_clientSubspaceForPerformancePaintTiming; std::unique_ptr m_clientSubspaceForPerformanceTiming; std::unique_ptr m_clientSubspaceForPerformanceResourceTiming; std::unique_ptr m_clientSubspaceForPerformanceServerTiming; - // std::unique_ptr m_clientSubspaceForRemoteDOMWindow; - // std::unique_ptr m_clientSubspaceForResizeObserver; - // std::unique_ptr m_clientSubspaceForResizeObserverEntry; - // std::unique_ptr m_clientSubspaceForResizeObserverSize; - // std::unique_ptr m_clientSubspaceForScreen; - // std::unique_ptr m_clientSubspaceForShadowRealmGlobalScope; - // std::unique_ptr m_clientSubspaceForUndoItem; - // std::unique_ptr m_clientSubspaceForUndoManager; - // std::unique_ptr m_clientSubspaceForUserMessageHandler; - // std::unique_ptr m_clientSubspaceForUserMessageHandlersNamespace; - // std::unique_ptr m_clientSubspaceForVisualViewport; - // std::unique_ptr m_clientSubspaceForWebKitNamespace; - // std::unique_ptr m_clientSubspaceForWebKitPoint; - // std::unique_ptr m_clientSubspaceForWorkerNavigator; - // std::unique_ptr m_clientSubspaceForDOMMimeType; - // std::unique_ptr m_clientSubspaceForDOMMimeTypeArray; - // std::unique_ptr m_clientSubspaceForDOMPlugin; - // std::unique_ptr m_clientSubspaceForDOMPluginArray; - // std::unique_ptr m_clientSubspaceForStorage; - // std::unique_ptr m_clientSubspaceForStorageEvent; - // std::unique_ptr m_clientSubspaceForSVGAElement; - // std::unique_ptr m_clientSubspaceForSVGAltGlyphDefElement; - // std::unique_ptr m_clientSubspaceForSVGAltGlyphElement; - // std::unique_ptr m_clientSubspaceForSVGAltGlyphItemElement; - // std::unique_ptr m_clientSubspaceForSVGAngle; - // std::unique_ptr m_clientSubspaceForSVGAnimateColorElement; - // std::unique_ptr m_clientSubspaceForSVGAnimateElement; - // std::unique_ptr m_clientSubspaceForSVGAnimateMotionElement; - // std::unique_ptr m_clientSubspaceForSVGAnimateTransformElement; - // std::unique_ptr m_clientSubspaceForSVGAnimatedAngle; - // std::unique_ptr m_clientSubspaceForSVGAnimatedBoolean; - // std::unique_ptr m_clientSubspaceForSVGAnimatedEnumeration; - // std::unique_ptr m_clientSubspaceForSVGAnimatedInteger; - // std::unique_ptr m_clientSubspaceForSVGAnimatedLength; - // std::unique_ptr m_clientSubspaceForSVGAnimatedLengthList; - // std::unique_ptr m_clientSubspaceForSVGAnimatedNumber; - // std::unique_ptr m_clientSubspaceForSVGAnimatedNumberList; - // std::unique_ptr m_clientSubspaceForSVGAnimatedPreserveAspectRatio; - // std::unique_ptr m_clientSubspaceForSVGAnimatedRect; - // std::unique_ptr m_clientSubspaceForSVGAnimatedString; - // std::unique_ptr m_clientSubspaceForSVGAnimatedTransformList; - // std::unique_ptr m_clientSubspaceForSVGAnimationElement; - // std::unique_ptr m_clientSubspaceForSVGCircleElement; - // std::unique_ptr m_clientSubspaceForSVGClipPathElement; - // std::unique_ptr m_clientSubspaceForSVGComponentTransferFunctionElement; - // std::unique_ptr m_clientSubspaceForSVGCursorElement; - // std::unique_ptr m_clientSubspaceForSVGDefsElement; - // std::unique_ptr m_clientSubspaceForSVGDescElement; - // std::unique_ptr m_clientSubspaceForSVGElement; - // std::unique_ptr m_clientSubspaceForSVGEllipseElement; - // std::unique_ptr m_clientSubspaceForSVGFEBlendElement; - // std::unique_ptr m_clientSubspaceForSVGFEColorMatrixElement; - // std::unique_ptr m_clientSubspaceForSVGFEComponentTransferElement; - // std::unique_ptr m_clientSubspaceForSVGFECompositeElement; - // std::unique_ptr m_clientSubspaceForSVGFEConvolveMatrixElement; - // std::unique_ptr m_clientSubspaceForSVGFEDiffuseLightingElement; - // std::unique_ptr m_clientSubspaceForSVGFEDisplacementMapElement; - // std::unique_ptr m_clientSubspaceForSVGFEDistantLightElement; - // std::unique_ptr m_clientSubspaceForSVGFEDropShadowElement; - // std::unique_ptr m_clientSubspaceForSVGFEFloodElement; - // std::unique_ptr m_clientSubspaceForSVGFEFuncAElement; - // std::unique_ptr m_clientSubspaceForSVGFEFuncBElement; - // std::unique_ptr m_clientSubspaceForSVGFEFuncGElement; - // std::unique_ptr m_clientSubspaceForSVGFEFuncRElement; - // std::unique_ptr m_clientSubspaceForSVGFEGaussianBlurElement; - // std::unique_ptr m_clientSubspaceForSVGFEImageElement; - // std::unique_ptr m_clientSubspaceForSVGFEMergeElement; - // std::unique_ptr m_clientSubspaceForSVGFEMergeNodeElement; - // std::unique_ptr m_clientSubspaceForSVGFEMorphologyElement; - // std::unique_ptr m_clientSubspaceForSVGFEOffsetElement; - // std::unique_ptr m_clientSubspaceForSVGFEPointLightElement; - // std::unique_ptr m_clientSubspaceForSVGFESpecularLightingElement; - // std::unique_ptr m_clientSubspaceForSVGFESpotLightElement; - // std::unique_ptr m_clientSubspaceForSVGFETileElement; - // std::unique_ptr m_clientSubspaceForSVGFETurbulenceElement; - // std::unique_ptr m_clientSubspaceForSVGFilterElement; - // std::unique_ptr m_clientSubspaceForSVGFontElement; - // std::unique_ptr m_clientSubspaceForSVGFontFaceElement; - // std::unique_ptr m_clientSubspaceForSVGFontFaceFormatElement; - // std::unique_ptr m_clientSubspaceForSVGFontFaceNameElement; - // std::unique_ptr m_clientSubspaceForSVGFontFaceSrcElement; - // std::unique_ptr m_clientSubspaceForSVGFontFaceUriElement; - // std::unique_ptr m_clientSubspaceForSVGForeignObjectElement; - // std::unique_ptr m_clientSubspaceForSVGGElement; - // std::unique_ptr m_clientSubspaceForSVGGeometryElement; - // std::unique_ptr m_clientSubspaceForSVGGlyphElement; - // std::unique_ptr m_clientSubspaceForSVGGlyphRefElement; - // std::unique_ptr m_clientSubspaceForSVGGradientElement; - // std::unique_ptr m_clientSubspaceForSVGGraphicsElement; - // std::unique_ptr m_clientSubspaceForSVGHKernElement; - // std::unique_ptr m_clientSubspaceForSVGImageElement; - // std::unique_ptr m_clientSubspaceForSVGLength; - // std::unique_ptr m_clientSubspaceForSVGLengthList; - // std::unique_ptr m_clientSubspaceForSVGLineElement; - // std::unique_ptr m_clientSubspaceForSVGLinearGradientElement; - // std::unique_ptr m_clientSubspaceForSVGMPathElement; - // std::unique_ptr m_clientSubspaceForSVGMarkerElement; - // std::unique_ptr m_clientSubspaceForSVGMaskElement; - // std::unique_ptr m_clientSubspaceForSVGMatrix; - // std::unique_ptr m_clientSubspaceForSVGMetadataElement; - // std::unique_ptr m_clientSubspaceForSVGMissingGlyphElement; - // std::unique_ptr m_clientSubspaceForSVGNumber; - // std::unique_ptr m_clientSubspaceForSVGNumberList; - // std::unique_ptr m_clientSubspaceForSVGPathElement; - // std::unique_ptr m_clientSubspaceForSVGPathSeg; - // std::unique_ptr m_clientSubspaceForSVGPathSegArcAbs; - // std::unique_ptr m_clientSubspaceForSVGPathSegArcRel; - // std::unique_ptr m_clientSubspaceForSVGPathSegClosePath; - // std::unique_ptr m_clientSubspaceForSVGPathSegCurvetoCubicAbs; - // std::unique_ptr m_clientSubspaceForSVGPathSegCurvetoCubicRel; - // std::unique_ptr m_clientSubspaceForSVGPathSegCurvetoCubicSmoothAbs; - // std::unique_ptr m_clientSubspaceForSVGPathSegCurvetoCubicSmoothRel; - // std::unique_ptr m_clientSubspaceForSVGPathSegCurvetoQuadraticAbs; - // std::unique_ptr m_clientSubspaceForSVGPathSegCurvetoQuadraticRel; - // std::unique_ptr m_clientSubspaceForSVGPathSegCurvetoQuadraticSmoothAbs; - // std::unique_ptr m_clientSubspaceForSVGPathSegCurvetoQuadraticSmoothRel; - // std::unique_ptr m_clientSubspaceForSVGPathSegLinetoAbs; - // std::unique_ptr m_clientSubspaceForSVGPathSegLinetoHorizontalAbs; - // std::unique_ptr m_clientSubspaceForSVGPathSegLinetoHorizontalRel; - // std::unique_ptr m_clientSubspaceForSVGPathSegLinetoRel; - // std::unique_ptr m_clientSubspaceForSVGPathSegLinetoVerticalAbs; - // std::unique_ptr m_clientSubspaceForSVGPathSegLinetoVerticalRel; - // std::unique_ptr m_clientSubspaceForSVGPathSegList; - // std::unique_ptr m_clientSubspaceForSVGPathSegMovetoAbs; - // std::unique_ptr m_clientSubspaceForSVGPathSegMovetoRel; - // std::unique_ptr m_clientSubspaceForSVGPatternElement; - // std::unique_ptr m_clientSubspaceForSVGPoint; - // std::unique_ptr m_clientSubspaceForSVGPointList; - // std::unique_ptr m_clientSubspaceForSVGPolygonElement; - // std::unique_ptr m_clientSubspaceForSVGPolylineElement; - // std::unique_ptr m_clientSubspaceForSVGPreserveAspectRatio; - // std::unique_ptr m_clientSubspaceForSVGRadialGradientElement; - // std::unique_ptr m_clientSubspaceForSVGRect; - // std::unique_ptr m_clientSubspaceForSVGRectElement; - // std::unique_ptr m_clientSubspaceForSVGRenderingIntent; - // std::unique_ptr m_clientSubspaceForSVGSVGElement; - // std::unique_ptr m_clientSubspaceForSVGScriptElement; - // std::unique_ptr m_clientSubspaceForSVGSetElement; - // std::unique_ptr m_clientSubspaceForSVGStopElement; - // std::unique_ptr m_clientSubspaceForSVGStringList; - // std::unique_ptr m_clientSubspaceForSVGStyleElement; - // std::unique_ptr m_clientSubspaceForSVGSwitchElement; - // std::unique_ptr m_clientSubspaceForSVGSymbolElement; - // std::unique_ptr m_clientSubspaceForSVGTRefElement; - // std::unique_ptr m_clientSubspaceForSVGTSpanElement; - // std::unique_ptr m_clientSubspaceForSVGTextContentElement; - // std::unique_ptr m_clientSubspaceForSVGTextElement; - // std::unique_ptr m_clientSubspaceForSVGTextPathElement; - // std::unique_ptr m_clientSubspaceForSVGTextPositioningElement; - // std::unique_ptr m_clientSubspaceForSVGTitleElement; - // std::unique_ptr m_clientSubspaceForSVGTransform; - // std::unique_ptr m_clientSubspaceForSVGTransformList; - // std::unique_ptr m_clientSubspaceForSVGUnitTypes; - // std::unique_ptr m_clientSubspaceForSVGUseElement; - // std::unique_ptr m_clientSubspaceForSVGVKernElement; - // std::unique_ptr m_clientSubspaceForSVGViewElement; - // std::unique_ptr m_clientSubspaceForSVGViewSpec; - // std::unique_ptr m_clientSubspaceForSVGZoomEvent; - // std::unique_ptr m_clientSubspaceForGCObservation; - // std::unique_ptr m_clientSubspaceForInternalSettings; - // std::unique_ptr m_clientSubspaceForInternals; - // std::unique_ptr m_clientSubspaceForInternalsMapLike; - // std::unique_ptr m_clientSubspaceForInternalsSetLike; - // std::unique_ptr m_clientSubspaceForMallocStatistics; - // std::unique_ptr m_clientSubspaceForMemoryInfo; - // std::unique_ptr m_clientSubspaceForMockCDMFactory; - // std::unique_ptr m_clientSubspaceForMockContentFilterSettings; - // std::unique_ptr m_clientSubspaceForMockPageOverlay; - // std::unique_ptr m_clientSubspaceForMockPaymentCoordinator; - // std::unique_ptr m_clientSubspaceForServiceWorkerInternals; - // std::unique_ptr m_clientSubspaceForTypeConversions; - // std::unique_ptr m_clientSubspaceForWebFakeXRDevice; - // std::unique_ptr m_clientSubspaceForWebFakeXRInputController; - // std::unique_ptr m_clientSubspaceForWebXRTest; - // std::unique_ptr m_clientSubspaceForDedicatedWorkerGlobalScope; std::unique_ptr m_clientSubspaceForWorker; std::unique_ptr m_clientSubspaceForWorkerGlobalScope; - // std::unique_ptr m_clientSubspaceForWorkerLocation; - // std::unique_ptr m_clientSubspaceForExtendableEvent; - // std::unique_ptr m_clientSubspaceForExtendableMessageEvent; - // std::unique_ptr m_clientSubspaceForFetchEvent; - // std::unique_ptr m_clientSubspaceForNavigationPreloadManager; - // std::unique_ptr m_clientSubspaceForServiceWorker; - // std::unique_ptr m_clientSubspaceForServiceWorkerClient; - // std::unique_ptr m_clientSubspaceForServiceWorkerClients; - // std::unique_ptr m_clientSubspaceForServiceWorkerContainer; - // std::unique_ptr m_clientSubspaceForServiceWorkerGlobalScope; - // std::unique_ptr m_clientSubspaceForServiceWorkerRegistration; - // std::unique_ptr m_clientSubspaceForServiceWorkerWindowClient; - // std::unique_ptr m_clientSubspaceForSharedWorker; - // std::unique_ptr m_clientSubspaceForSharedWorkerGlobalScope; - // std::unique_ptr m_clientSubspaceForPaintWorkletGlobalScope; - // std::unique_ptr m_clientSubspaceForWorklet; - // std::unique_ptr m_clientSubspaceForWorkletGlobalScope; - // std::unique_ptr m_clientSubspaceForDOMParser; - // std::unique_ptr m_clientSubspaceForXMLHttpRequest; - // std::unique_ptr m_clientSubspaceForXMLHttpRequestEventTarget; - // std::unique_ptr m_clientSubspaceForXMLHttpRequestProgressEvent; - // std::unique_ptr m_clientSubspaceForXMLHttpRequestUpload; - // std::unique_ptr m_clientSubspaceForXMLSerializer; - // std::unique_ptr m_clientSubspaceForXPathEvaluator; - // std::unique_ptr m_clientSubspaceForXPathExpression; - // std::unique_ptr m_clientSubspaceForXPathNSResolver; - // std::unique_ptr m_clientSubspaceForXPathResult; - // std::unique_ptr m_clientSubspaceForXSLTProcessor; std::unique_ptr m_clientSubspaceForBakeGlobalScope; diff --git a/src/jsc/bindings/webcore/DOMIsoSubspaces.h b/src/jsc/bindings/webcore/DOMIsoSubspaces.h index a794d789a379..f0afd99c2e3c 100644 --- a/src/jsc/bindings/webcore/DOMIsoSubspaces.h +++ b/src/jsc/bindings/webcore/DOMIsoSubspaces.h @@ -82,187 +82,8 @@ class DOMIsoSubspaces { #include "ZigGeneratedClasses+DOMIsoSubspaces.h" /*-- BUN --*/ - // std::unique_ptr m_subspaceForTouch; - // std::unique_ptr m_subspaceForTouchEvent; - // std::unique_ptr m_subspaceForTouchList; - // std::unique_ptr m_subspaceForInternalSettingsGenerated; - // std::unique_ptr m_subspaceForGPU; - // std::unique_ptr m_subspaceForGPUAdapter; - // std::unique_ptr m_subspaceForGPUBindGroup; - // std::unique_ptr m_subspaceForGPUBindGroupLayout; - // std::unique_ptr m_subspaceForGPUBuffer; - // std::unique_ptr m_subspaceForGPUBufferUsage; - // std::unique_ptr m_subspaceForGPUCanvasContext; - // std::unique_ptr m_subspaceForGPUColorWrite; - // std::unique_ptr m_subspaceForGPUCommandBuffer; - // std::unique_ptr m_subspaceForGPUCommandEncoder; - // std::unique_ptr m_subspaceForGPUCompilationInfo; - // std::unique_ptr m_subspaceForGPUCompilationMessage; - // std::unique_ptr m_subspaceForGPUComputePassEncoder; - // std::unique_ptr m_subspaceForGPUComputePipeline; - // std::unique_ptr m_subspaceForGPUDevice; - // std::unique_ptr m_subspaceForGPUDeviceLostInfo; - // std::unique_ptr m_subspaceForGPUExternalTexture; - // std::unique_ptr m_subspaceForGPUMapMode; - // std::unique_ptr m_subspaceForGPUOutOfMemoryError; - // std::unique_ptr m_subspaceForGPUPipelineLayout; - // std::unique_ptr m_subspaceForGPUQuerySet; - // std::unique_ptr m_subspaceForGPUQueue; - // std::unique_ptr m_subspaceForGPURenderBundle; - // std::unique_ptr m_subspaceForGPURenderBundleEncoder; - // std::unique_ptr m_subspaceForGPURenderPassEncoder; - // std::unique_ptr m_subspaceForGPURenderPipeline; - // std::unique_ptr m_subspaceForGPUSampler; - // std::unique_ptr m_subspaceForGPUShaderModule; - // std::unique_ptr m_subspaceForGPUShaderStage; - // std::unique_ptr m_subspaceForGPUSupportedFeatures; - // std::unique_ptr m_subspaceForGPUSupportedLimits; - // std::unique_ptr m_subspaceForGPUTexture; - // std::unique_ptr m_subspaceForGPUTextureUsage; - // std::unique_ptr m_subspaceForGPUTextureView; - // std::unique_ptr m_subspaceForGPUUncapturedErrorEvent; - // std::unique_ptr m_subspaceForGPUValidationError; - // std::unique_ptr m_subspaceForWebKitPlaybackTargetAvailabilityEvent; - // std::unique_ptr m_subspaceForApplePayCancelEvent; - // std::unique_ptr m_subspaceForApplePayCouponCodeChangedEvent; - // std::unique_ptr m_subspaceForApplePayError; - // std::unique_ptr m_subspaceForApplePayPaymentAuthorizedEvent; - // std::unique_ptr m_subspaceForApplePayPaymentMethodSelectedEvent; - // std::unique_ptr m_subspaceForApplePaySession; - // std::unique_ptr m_subspaceForApplePaySetup; - // std::unique_ptr m_subspaceForApplePaySetupFeature; - // std::unique_ptr m_subspaceForApplePayShippingContactSelectedEvent; - // std::unique_ptr m_subspaceForApplePayShippingMethodSelectedEvent; - // std::unique_ptr m_subspaceForApplePayValidateMerchantEvent; - // std::unique_ptr m_subspaceForClipboard; - // std::unique_ptr m_subspaceForClipboardItem; - // std::unique_ptr m_subspaceForDOMCache; - // std::unique_ptr m_subspaceForDOMCacheStorage; - // std::unique_ptr m_subspaceForContactsManager; - // std::unique_ptr m_subspaceForBasicCredential; - // std::unique_ptr m_subspaceForCredentialsContainer; - // std::unique_ptr m_subspaceForMediaKeyMessageEvent; - // std::unique_ptr m_subspaceForMediaKeySession; - // std::unique_ptr m_subspaceForMediaKeyStatusMap; - // std::unique_ptr m_subspaceForMediaKeyStatusMapIterator; - // std::unique_ptr m_subspaceForMediaKeySystemAccess; - // std::unique_ptr m_subspaceForMediaKeys; - // std::unique_ptr m_subspaceForWebKitMediaKeyMessageEvent; - // std::unique_ptr m_subspaceForWebKitMediaKeyNeededEvent; - // std::unique_ptr m_subspaceForWebKitMediaKeySession; - // std::unique_ptr m_subspaceForWebKitMediaKeys; - // std::unique_ptr m_subspaceForDOMFileSystem; - // std::unique_ptr m_subspaceForFileSystemDirectoryEntry; - // std::unique_ptr m_subspaceForFileSystemDirectoryReader; - // std::unique_ptr m_subspaceForFileSystemEntry; - // std::unique_ptr m_subspaceForFileSystemFileEntry; std::unique_ptr m_subspaceForFetchHeaders; std::unique_ptr m_subspaceForFetchHeadersIterator; - // std::unique_ptr m_subspaceForFetchRequest; - // std::unique_ptr m_subspaceForFetchResponse; - // std::unique_ptr m_subspaceForFileSystemDirectoryHandle; - // std::unique_ptr m_subspaceForFileSystemFileHandle; - // std::unique_ptr m_subspaceForFileSystemHandle; - // std::unique_ptr m_subspaceForFileSystemSyncAccessHandle; - // std::unique_ptr m_subspaceForGamepad; - // std::unique_ptr m_subspaceForGamepadButton; - // std::unique_ptr m_subspaceForGamepadEvent; - // std::unique_ptr m_subspaceForGeolocation; - // std::unique_ptr m_subspaceForGeolocationCoordinates; - // std::unique_ptr m_subspaceForGeolocationPosition; - // std::unique_ptr m_subspaceForGeolocationPositionError; - // std::unique_ptr m_subspaceForHighlight; - // std::unique_ptr m_subspaceForHighlightRegister; - // std::unique_ptr m_subspaceForIDBCursor; - // std::unique_ptr m_subspaceForIDBCursorWithValue; - // std::unique_ptr m_subspaceForIDBDatabase; - // std::unique_ptr m_subspaceForIDBFactory; - // std::unique_ptr m_subspaceForIDBIndex; - // std::unique_ptr m_subspaceForIDBKeyRange; - // std::unique_ptr m_subspaceForIDBObjectStore; - // std::unique_ptr m_subspaceForIDBOpenDBRequest; - // std::unique_ptr m_subspaceForIDBRequest; - // std::unique_ptr m_subspaceForIDBTransaction; - // std::unique_ptr m_subspaceForIDBVersionChangeEvent; - // std::unique_ptr m_subspaceForMediaCapabilities; - // std::unique_ptr m_subspaceForMediaControlsHost; - // std::unique_ptr m_subspaceForBlobEvent; - // std::unique_ptr m_subspaceForMediaRecorder; - // std::unique_ptr m_subspaceForMediaRecorderErrorEvent; - // std::unique_ptr m_subspaceForMediaMetadata; - // std::unique_ptr m_subspaceForMediaSession; - // std::unique_ptr m_subspaceForMediaSessionCoordinator; - // std::unique_ptr m_subspaceForMediaSource; - // std::unique_ptr m_subspaceForSourceBuffer; - // std::unique_ptr m_subspaceForSourceBufferList; - // std::unique_ptr m_subspaceForVideoPlaybackQuality; - // std::unique_ptr m_subspaceForCanvasCaptureMediaStreamTrack; - // std::unique_ptr m_subspaceForMediaDeviceInfo; - // std::unique_ptr m_subspaceForMediaDevices; - // std::unique_ptr m_subspaceForMediaStream; - // std::unique_ptr m_subspaceForMediaStreamTrack; - // std::unique_ptr m_subspaceForMediaStreamTrackEvent; - // std::unique_ptr m_subspaceForOverconstrainedError; - // std::unique_ptr m_subspaceForOverconstrainedErrorEvent; - // std::unique_ptr m_subspaceForRTCCertificate; - // std::unique_ptr m_subspaceForRTCDTMFSender; - // std::unique_ptr m_subspaceForRTCDTMFToneChangeEvent; - // std::unique_ptr m_subspaceForRTCDataChannel; - // std::unique_ptr m_subspaceForRTCDataChannelEvent; - // std::unique_ptr m_subspaceForRTCDtlsTransport; - // std::unique_ptr m_subspaceForRTCEncodedAudioFrame; - // std::unique_ptr m_subspaceForRTCEncodedVideoFrame; - // std::unique_ptr m_subspaceForRTCError; - // std::unique_ptr m_subspaceForRTCErrorEvent; - // std::unique_ptr m_subspaceForRTCIceCandidate; - // std::unique_ptr m_subspaceForRTCIceTransport; - // std::unique_ptr m_subspaceForRTCPeerConnection; - // std::unique_ptr m_subspaceForRTCPeerConnectionIceErrorEvent; - // std::unique_ptr m_subspaceForRTCPeerConnectionIceEvent; - // std::unique_ptr m_subspaceForRTCRtpReceiver; - // std::unique_ptr m_subspaceForRTCRtpSFrameTransform; - // std::unique_ptr m_subspaceForRTCRtpSFrameTransformErrorEvent; - // std::unique_ptr m_subspaceForRTCRtpScriptTransform; - // std::unique_ptr m_subspaceForRTCRtpScriptTransformer; - // std::unique_ptr m_subspaceForRTCRtpSender; - // std::unique_ptr m_subspaceForRTCRtpTransceiver; - // std::unique_ptr m_subspaceForRTCSctpTransport; - // std::unique_ptr m_subspaceForRTCSessionDescription; - // std::unique_ptr m_subspaceForRTCStatsReport; - // std::unique_ptr m_subspaceForRTCTrackEvent; - // std::unique_ptr m_subspaceForRTCTransformEvent; - // std::unique_ptr m_subspaceForHTMLModelElement; - // std::unique_ptr m_subspaceForNotification; - // std::unique_ptr m_subspaceForNotificationEvent; - // std::unique_ptr m_subspaceForMerchantValidationEvent; - // std::unique_ptr m_subspaceForPaymentAddress; - // std::unique_ptr m_subspaceForPaymentMethodChangeEvent; - // std::unique_ptr m_subspaceForPaymentRequest; - // std::unique_ptr m_subspaceForPaymentRequestUpdateEvent; - // std::unique_ptr m_subspaceForPaymentResponse; - // std::unique_ptr m_subspaceForPermissionStatus; - // std::unique_ptr m_subspaceForPermissions; - // std::unique_ptr m_subspaceForPictureInPictureEvent; - // std::unique_ptr m_subspaceForPictureInPictureWindow; - // std::unique_ptr m_subspaceForPushEvent; - // std::unique_ptr m_subspaceForPushManager; - // std::unique_ptr m_subspaceForPushMessageData; - // std::unique_ptr m_subspaceForPushSubscription; - // std::unique_ptr m_subspaceForPushSubscriptionChangeEvent; - // std::unique_ptr m_subspaceForPushSubscriptionOptions; - // std::unique_ptr m_subspaceForRemotePlayback; - // std::unique_ptr m_subspaceForSpeechRecognition; - // std::unique_ptr m_subspaceForSpeechRecognitionAlternative; - // std::unique_ptr m_subspaceForSpeechRecognitionErrorEvent; - // std::unique_ptr m_subspaceForSpeechRecognitionEvent; - // std::unique_ptr m_subspaceForSpeechRecognitionResult; - // std::unique_ptr m_subspaceForSpeechRecognitionResultList; - // std::unique_ptr m_subspaceForSpeechSynthesis; - // std::unique_ptr m_subspaceForSpeechSynthesisErrorEvent; - // std::unique_ptr m_subspaceForSpeechSynthesisEvent; - // std::unique_ptr m_subspaceForSpeechSynthesisUtterance; - // std::unique_ptr m_subspaceForSpeechSynthesisVoice; - // std::unique_ptr m_subspaceForStorageManager; std::unique_ptr m_subspaceForByteLengthQueuingStrategy; std::unique_ptr m_subspaceForCountQueuingStrategy; std::unique_ptr m_subspaceForReadableByteStreamController; @@ -306,647 +127,33 @@ class DOMIsoSubspaces { std::unique_ptr m_subspaceForWritableStream; std::unique_ptr m_subspaceForWritableStreamDefaultController; std::unique_ptr m_subspaceForWritableStreamDefaultWriter; - // std::unique_ptr m_subspaceForWebLock; - // std::unique_ptr m_subspaceForWebLockManager; - // std::unique_ptr m_subspaceForAnalyserNode; - // std::unique_ptr m_subspaceForAudioBuffer; - // std::unique_ptr m_subspaceForAudioBufferSourceNode; - // std::unique_ptr m_subspaceForAudioContext; - // std::unique_ptr m_subspaceForAudioDestinationNode; - // std::unique_ptr m_subspaceForAudioListener; - // std::unique_ptr m_subspaceForAudioNode; - // std::unique_ptr m_subspaceForAudioParam; - // std::unique_ptr m_subspaceForAudioParamMap; - // std::unique_ptr m_subspaceForAudioProcessingEvent; - // std::unique_ptr m_subspaceForAudioScheduledSourceNode; - // std::unique_ptr m_subspaceForAudioWorklet; - // std::unique_ptr m_subspaceForAudioWorkletGlobalScope; - // std::unique_ptr m_subspaceForAudioWorkletNode; - // std::unique_ptr m_subspaceForAudioWorkletProcessor; - // std::unique_ptr m_subspaceForBaseAudioContext; - // std::unique_ptr m_subspaceForBiquadFilterNode; - // std::unique_ptr m_subspaceForChannelMergerNode; - // std::unique_ptr m_subspaceForChannelSplitterNode; - // std::unique_ptr m_subspaceForConstantSourceNode; - // std::unique_ptr m_subspaceForConvolverNode; - // std::unique_ptr m_subspaceForDelayNode; - // std::unique_ptr m_subspaceForDynamicsCompressorNode; - // std::unique_ptr m_subspaceForGainNode; - // std::unique_ptr m_subspaceForIIRFilterNode; - // std::unique_ptr m_subspaceForMediaElementAudioSourceNode; - // std::unique_ptr m_subspaceForMediaStreamAudioDestinationNode; - // std::unique_ptr m_subspaceForMediaStreamAudioSourceNode; - // std::unique_ptr m_subspaceForOfflineAudioCompletionEvent; - // std::unique_ptr m_subspaceForOfflineAudioContext; - // std::unique_ptr m_subspaceForOscillatorNode; - // std::unique_ptr m_subspaceForPannerNode; - // std::unique_ptr m_subspaceForPeriodicWave; - // std::unique_ptr m_subspaceForScriptProcessorNode; - // std::unique_ptr m_subspaceForStereoPannerNode; - // std::unique_ptr m_subspaceForWaveShaperNode; - // std::unique_ptr m_subspaceForAuthenticatorAssertionResponse; - // std::unique_ptr m_subspaceForAuthenticatorAttestationResponse; - // std::unique_ptr m_subspaceForAuthenticatorResponse; - // std::unique_ptr m_subspaceForPublicKeyCredential; - // std::unique_ptr m_subspaceForVideoColorSpace; - // std::unique_ptr m_subspaceForDatabase; - // std::unique_ptr m_subspaceForSQLError; - // std::unique_ptr m_subspaceForSQLResultSet; - // std::unique_ptr m_subspaceForSQLResultSetRowList; - // std::unique_ptr m_subspaceForSQLTransaction; std::unique_ptr m_subspaceForCloseEvent; std::unique_ptr m_subspaceForWebSocket; - // std::unique_ptr m_subspaceForWebXRBoundedReferenceSpace; - // std::unique_ptr m_subspaceForWebXRFrame; - // std::unique_ptr m_subspaceForWebXRHand; - // std::unique_ptr m_subspaceForWebXRHandIterator; - // std::unique_ptr m_subspaceForWebXRInputSource; - // std::unique_ptr m_subspaceForWebXRInputSourceArray; - // std::unique_ptr m_subspaceForWebXRInputSourceArrayIterator; - // std::unique_ptr m_subspaceForWebXRJointPose; - // std::unique_ptr m_subspaceForWebXRJointSpace; - // std::unique_ptr m_subspaceForWebXRLayer; - // std::unique_ptr m_subspaceForWebXRPose; - // std::unique_ptr m_subspaceForWebXRReferenceSpace; - // std::unique_ptr m_subspaceForWebXRRenderState; - // std::unique_ptr m_subspaceForWebXRRigidTransform; - // std::unique_ptr m_subspaceForWebXRSession; - // std::unique_ptr m_subspaceForWebXRSpace; - // std::unique_ptr m_subspaceForWebXRSystem; - // std::unique_ptr m_subspaceForWebXRView; - // std::unique_ptr m_subspaceForWebXRViewerPose; - // std::unique_ptr m_subspaceForWebXRViewport; - // std::unique_ptr m_subspaceForWebXRWebGLLayer; - // std::unique_ptr m_subspaceForXRInputSourceEvent; - // std::unique_ptr m_subspaceForXRInputSourcesChangeEvent; - // std::unique_ptr m_subspaceForXRReferenceSpaceEvent; - // std::unique_ptr m_subspaceForXRSessionEvent; - // std::unique_ptr m_subspaceForAnimationEffect; - // std::unique_ptr m_subspaceForAnimationPlaybackEvent; - // std::unique_ptr m_subspaceForAnimationTimeline; - // std::unique_ptr m_subspaceForCSSAnimation; - // std::unique_ptr m_subspaceForCSSTransition; - // std::unique_ptr m_subspaceForCustomEffect; - // std::unique_ptr m_subspaceForDocumentTimeline; - // std::unique_ptr m_subspaceForKeyframeEffect; - // std::unique_ptr m_subspaceForWebAnimation; std::unique_ptr m_subspaceForCryptoKey; std::unique_ptr m_subspaceForSubtleCrypto; - // std::unique_ptr m_subspaceForCSSConditionRule; - // std::unique_ptr m_subspaceForCSSCounterStyleRule; - // std::unique_ptr m_subspaceForCSSFontFaceRule; - // std::unique_ptr m_subspaceForCSSFontPaletteValuesRule; - // std::unique_ptr m_subspaceForCSSGroupingRule; - // std::unique_ptr m_subspaceForCSSImportRule; - // std::unique_ptr m_subspaceForCSSKeyframeRule; - // std::unique_ptr m_subspaceForCSSKeyframesRule; - // std::unique_ptr m_subspaceForCSSLayerBlockRule; - // std::unique_ptr m_subspaceForCSSLayerStatementRule; - // std::unique_ptr m_subspaceForCSSMediaRule; - // std::unique_ptr m_subspaceForCSSNamespaceRule; - // std::unique_ptr m_subspaceForCSSPageRule; - // std::unique_ptr m_subspaceForCSSPaintSize; - // std::unique_ptr m_subspaceForCSSRule; - // std::unique_ptr m_subspaceForCSSRuleList; - // std::unique_ptr m_subspaceForCSSStyleDeclaration; - // std::unique_ptr m_subspaceForCSSStyleRule; - // std::unique_ptr m_subspaceForCSSStyleSheet; - // std::unique_ptr m_subspaceForCSSSupportsRule; - // std::unique_ptr m_subspaceForCSSUnknownRule; - // std::unique_ptr m_subspaceForDOMCSSNamespace; - // std::unique_ptr m_subspaceForDOMMatrix; - // std::unique_ptr m_subspaceForDOMMatrixReadOnly; - // std::unique_ptr m_subspaceForDeprecatedCSSOMCounter; - // std::unique_ptr m_subspaceForDeprecatedCSSOMPrimitiveValue; - // std::unique_ptr m_subspaceForDeprecatedCSSOMRGBColor; - // std::unique_ptr m_subspaceForDeprecatedCSSOMRect; - // std::unique_ptr m_subspaceForDeprecatedCSSOMValue; - // std::unique_ptr m_subspaceForDeprecatedCSSOMValueList; - // std::unique_ptr m_subspaceForFontFace; - // std::unique_ptr m_subspaceForFontFaceSet; - // std::unique_ptr m_subspaceForFontFaceSetIterator; - // std::unique_ptr m_subspaceForMediaList; - // std::unique_ptr m_subspaceForMediaQueryList; - // std::unique_ptr m_subspaceForMediaQueryListEvent; - // std::unique_ptr m_subspaceForStyleMedia; - // std::unique_ptr m_subspaceForStyleSheet; - // std::unique_ptr m_subspaceForStyleSheetList; - // std::unique_ptr m_subspaceForCSSKeywordValue; - // std::unique_ptr m_subspaceForCSSNumericValue; - // std::unique_ptr m_subspaceForCSSOMVariableReferenceValue; - // std::unique_ptr m_subspaceForCSSStyleImageValue; - // std::unique_ptr m_subspaceForCSSStyleValue; - // std::unique_ptr m_subspaceForCSSUnitValue; - // std::unique_ptr m_subspaceForCSSUnparsedValue; - // std::unique_ptr m_subspaceForCSSUnparsedValueIterator; - // std::unique_ptr m_subspaceForStylePropertyMap; - // std::unique_ptr m_subspaceForStylePropertyMapReadOnly; - // std::unique_ptr m_subspaceForCSSMathInvert; - // std::unique_ptr m_subspaceForCSSMathMax; - // std::unique_ptr m_subspaceForCSSMathMin; - // std::unique_ptr m_subspaceForCSSMathNegate; - // std::unique_ptr m_subspaceForCSSMathProduct; - // std::unique_ptr m_subspaceForCSSMathSum; - // std::unique_ptr m_subspaceForCSSMathValue; - // std::unique_ptr m_subspaceForCSSNumericArray; - // std::unique_ptr m_subspaceForCSSNumericArrayIterator; - // std::unique_ptr m_subspaceForCSSMatrixComponent; - // std::unique_ptr m_subspaceForCSSPerspective; - // std::unique_ptr m_subspaceForCSSRotate; - // std::unique_ptr m_subspaceForCSSScale; - // std::unique_ptr m_subspaceForCSSSkew; - // std::unique_ptr m_subspaceForCSSSkewX; - // std::unique_ptr m_subspaceForCSSSkewY; - // std::unique_ptr m_subspaceForCSSTransformComponent; - // std::unique_ptr m_subspaceForCSSTransformValue; - // std::unique_ptr m_subspaceForCSSTransformValueIterator; - // std::unique_ptr m_subspaceForCSSTranslate; - // std::unique_ptr m_subspaceForAbstractRange; - // std::unique_ptr m_subspaceForAnimationEvent; - // std::unique_ptr m_subspaceForAttr; - // std::unique_ptr m_subspaceForBeforeUnloadEvent; std::unique_ptr m_subspaceForBroadcastChannel; - // std::unique_ptr m_subspaceForCDATASection; - // std::unique_ptr m_subspaceForCharacterData; - // std::unique_ptr m_subspaceForClipboardEvent; - // std::unique_ptr m_subspaceForComment; - // std::unique_ptr m_subspaceForCompositionEvent; - // std::unique_ptr m_subspaceForCustomElementRegistry; std::unique_ptr m_subspaceForCustomEvent; - // std::unique_ptr m_subspaceForDOMImplementation; - // std::unique_ptr m_subspaceForDOMPoint; - // std::unique_ptr m_subspaceForDOMPointReadOnly; - // std::unique_ptr m_subspaceForDOMQuad; - // std::unique_ptr m_subspaceForDOMRect; - // std::unique_ptr m_subspaceForDOMRectList; - // std::unique_ptr m_subspaceForDOMRectReadOnly; - // std::unique_ptr m_subspaceForDOMStringList; - // std::unique_ptr m_subspaceForDOMStringMap; - // std::unique_ptr m_subspaceForDataTransfer; - // std::unique_ptr m_subspaceForDataTransferItem; - // std::unique_ptr m_subspaceForDataTransferItemList; - // std::unique_ptr m_subspaceForDeviceMotionEvent; - // std::unique_ptr m_subspaceForDeviceOrientationEvent; - // std::unique_ptr m_subspaceForDocument; - // std::unique_ptr m_subspaceForDocumentFragment; - // std::unique_ptr m_subspaceForDocumentType; - // std::unique_ptr m_subspaceForDragEvent; - // std::unique_ptr m_subspaceForElement; - // std::unique_ptr m_subspaceForFocusEvent; - // std::unique_ptr m_subspaceForFormDataEvent; - // std::unique_ptr m_subspaceForHashChangeEvent; - // std::unique_ptr m_subspaceForIdleDeadline; - // std::unique_ptr m_subspaceForInputEvent; - // std::unique_ptr m_subspaceForKeyboardEvent; std::unique_ptr m_subspaceForMessageChannel; std::unique_ptr m_subspaceForMessageEvent; std::unique_ptr m_subspaceForMessagePort; - // std::unique_ptr m_subspaceForMouseEvent; - // std::unique_ptr m_subspaceForMutationEvent; - // std::unique_ptr m_subspaceForMutationObserver; - // std::unique_ptr m_subspaceForMutationRecord; - // std::unique_ptr m_subspaceForNamedNodeMap; - // std::unique_ptr m_subspaceForNode; - // std::unique_ptr m_subspaceForNodeIterator; - // std::unique_ptr m_subspaceForNodeList; - // std::unique_ptr m_subspaceForNodeListIterator; - // std::unique_ptr m_subspaceForOverflowEvent; - // std::unique_ptr m_subspaceForPageTransitionEvent; - // std::unique_ptr m_subspaceForPointerEvent; - // std::unique_ptr m_subspaceForPopStateEvent; - // std::unique_ptr m_subspaceForProcessingInstruction; - // std::unique_ptr m_subspaceForProgressEvent; - // std::unique_ptr m_subspaceForPromiseRejectionEvent; - // std::unique_ptr m_subspaceForRange; - // std::unique_ptr m_subspaceForSecurityPolicyViolationEvent; - // std::unique_ptr m_subspaceForShadowRoot; - // std::unique_ptr m_subspaceForStaticRange; - // std::unique_ptr m_subspaceForText; - // std::unique_ptr m_subspaceForTextDecoder; std::unique_ptr m_subspaceForTextDecoderStream; - // std::unique_ptr m_subspaceForTextDecoderStreamDecoder; std::unique_ptr m_subspaceForTextEncoder; std::unique_ptr m_subspaceForTextEncoderStream; - // std::unique_ptr m_subspaceForTextEncoderStreamEncoder; - // std::unique_ptr m_subspaceForTextEvent; - // std::unique_ptr m_subspaceForTransitionEvent; - // std::unique_ptr m_subspaceForTreeWalker; - // std::unique_ptr m_subspaceForUIEvent; - // std::unique_ptr m_subspaceForWheelEvent; - // std::unique_ptr m_subspaceForXMLDocument; - // std::unique_ptr m_subspaceForBlob; - // std::unique_ptr m_subspaceForFile; - // std::unique_ptr m_subspaceForFileList; - // std::unique_ptr m_subspaceForFileReader; - // std::unique_ptr m_subspaceForFileReaderSync; std::unique_ptr m_subspaceForDOMFormData; std::unique_ptr m_subspaceForDOMFormDataIterator; - // std::unique_ptr m_subspaceForDOMTokenList; - // std::unique_ptr m_subspaceForDOMTokenListIterator; - // std::unique_ptr m_subspaceForDOMURL; - // std::unique_ptr m_subspaceForHTMLAllCollection; - // std::unique_ptr m_subspaceForHTMLAnchorElement; - // std::unique_ptr m_subspaceForHTMLAreaElement; - // std::unique_ptr m_subspaceForHTMLAttachmentElement; - // std::unique_ptr m_subspaceForHTMLAudioElement; - // std::unique_ptr m_subspaceForHTMLBRElement; - // std::unique_ptr m_subspaceForHTMLBaseElement; - // std::unique_ptr m_subspaceForHTMLBodyElement; - // std::unique_ptr m_subspaceForHTMLButtonElement; - // std::unique_ptr m_subspaceForHTMLCanvasElement; - // std::unique_ptr m_subspaceForHTMLCollection; - // std::unique_ptr m_subspaceForHTMLDListElement; - // std::unique_ptr m_subspaceForHTMLDataElement; - // std::unique_ptr m_subspaceForHTMLDataListElement; - // std::unique_ptr m_subspaceForHTMLDetailsElement; - // std::unique_ptr m_subspaceForHTMLDialogElement; - // std::unique_ptr m_subspaceForHTMLDirectoryElement; - // std::unique_ptr m_subspaceForHTMLDivElement; - // std::unique_ptr m_subspaceForHTMLDocument; - // std::unique_ptr m_subspaceForHTMLElement; - // std::unique_ptr m_subspaceForHTMLEmbedElement; - // std::unique_ptr m_subspaceForHTMLFieldSetElement; - // std::unique_ptr m_subspaceForHTMLFontElement; - // std::unique_ptr m_subspaceForHTMLFormControlsCollection; - // std::unique_ptr m_subspaceForHTMLFormElement; - // std::unique_ptr m_subspaceForHTMLFrameElement; - // std::unique_ptr m_subspaceForHTMLFrameSetElement; - // std::unique_ptr m_subspaceForHTMLHRElement; - // std::unique_ptr m_subspaceForHTMLHeadElement; - // std::unique_ptr m_subspaceForHTMLHeadingElement; - // std::unique_ptr m_subspaceForHTMLHtmlElement; - // std::unique_ptr m_subspaceForHTMLIFrameElement; - // std::unique_ptr m_subspaceForHTMLImageElement; - // std::unique_ptr m_subspaceForHTMLInputElement; - // std::unique_ptr m_subspaceForHTMLLIElement; - // std::unique_ptr m_subspaceForHTMLLabelElement; - // std::unique_ptr m_subspaceForHTMLLegendElement; - // std::unique_ptr m_subspaceForHTMLLinkElement; - // std::unique_ptr m_subspaceForHTMLMapElement; - // std::unique_ptr m_subspaceForHTMLMarqueeElement; - // std::unique_ptr m_subspaceForHTMLMediaElement; - // std::unique_ptr m_subspaceForHTMLMenuElement; - // std::unique_ptr m_subspaceForHTMLMenuItemElement; - // std::unique_ptr m_subspaceForHTMLMetaElement; - // std::unique_ptr m_subspaceForHTMLMeterElement; - // std::unique_ptr m_subspaceForHTMLModElement; - // std::unique_ptr m_subspaceForHTMLOListElement; - // std::unique_ptr m_subspaceForHTMLObjectElement; - // std::unique_ptr m_subspaceForHTMLOptGroupElement; - // std::unique_ptr m_subspaceForHTMLOptionElement; - // std::unique_ptr m_subspaceForHTMLOptionsCollection; - // std::unique_ptr m_subspaceForHTMLOutputElement; - // std::unique_ptr m_subspaceForHTMLParagraphElement; - // std::unique_ptr m_subspaceForHTMLParamElement; - // std::unique_ptr m_subspaceForHTMLPictureElement; - // std::unique_ptr m_subspaceForHTMLPreElement; - // std::unique_ptr m_subspaceForHTMLProgressElement; - // std::unique_ptr m_subspaceForHTMLQuoteElement; - // std::unique_ptr m_subspaceForHTMLScriptElement; - // std::unique_ptr m_subspaceForHTMLSelectElement; - // std::unique_ptr m_subspaceForHTMLSlotElement; - // std::unique_ptr m_subspaceForHTMLSourceElement; - // std::unique_ptr m_subspaceForHTMLSpanElement; - // std::unique_ptr m_subspaceForHTMLStyleElement; - // std::unique_ptr m_subspaceForHTMLTableCaptionElement; - // std::unique_ptr m_subspaceForHTMLTableCellElement; - // std::unique_ptr m_subspaceForHTMLTableColElement; - // std::unique_ptr m_subspaceForHTMLTableElement; - // std::unique_ptr m_subspaceForHTMLTableRowElement; - // std::unique_ptr m_subspaceForHTMLTableSectionElement; - // std::unique_ptr m_subspaceForHTMLTemplateElement; - // std::unique_ptr m_subspaceForHTMLTextAreaElement; - // std::unique_ptr m_subspaceForHTMLTimeElement; - // std::unique_ptr m_subspaceForHTMLTitleElement; - // std::unique_ptr m_subspaceForHTMLTrackElement; - // std::unique_ptr m_subspaceForHTMLUListElement; - // std::unique_ptr m_subspaceForHTMLUnknownElement; - // std::unique_ptr m_subspaceForHTMLVideoElement; - // std::unique_ptr m_subspaceForImageBitmap; - // std::unique_ptr m_subspaceForImageData; - // std::unique_ptr m_subspaceForMediaController; - // std::unique_ptr m_subspaceForMediaEncryptedEvent; - // std::unique_ptr m_subspaceForMediaError; - // std::unique_ptr m_subspaceForOffscreenCanvas; - // std::unique_ptr m_subspaceForRadioNodeList; - // std::unique_ptr m_subspaceForSubmitEvent; - // std::unique_ptr m_subspaceForTextMetrics; - // std::unique_ptr m_subspaceForTimeRanges; - // std::unique_ptr m_subspaceForURLSearchParams; - // std::unique_ptr m_subspaceForURLSearchParamsIterator; - // std::unique_ptr m_subspaceForValidityState; - // std::unique_ptr m_subspaceForWebKitMediaKeyError; - // std::unique_ptr m_subspaceForANGLEInstancedArrays; - // std::unique_ptr m_subspaceForCanvasGradient; - // std::unique_ptr m_subspaceForCanvasPattern; - // std::unique_ptr m_subspaceForCanvasRenderingContext2D; - // std::unique_ptr m_subspaceForEXTBlendMinMax; - // std::unique_ptr m_subspaceForEXTColorBufferFloat; - // std::unique_ptr m_subspaceForEXTColorBufferHalfFloat; - // std::unique_ptr m_subspaceForEXTFloatBlend; - // std::unique_ptr m_subspaceForEXTFragDepth; - // std::unique_ptr m_subspaceForEXTShaderTextureLOD; - // std::unique_ptr m_subspaceForEXTTextureCompressionRGTC; - // std::unique_ptr m_subspaceForEXTTextureFilterAnisotropic; - // std::unique_ptr m_subspaceForEXTsRGB; - // std::unique_ptr m_subspaceForImageBitmapRenderingContext; - // std::unique_ptr m_subspaceForKHRParallelShaderCompile; - // std::unique_ptr m_subspaceForOESElementIndexUint; - // std::unique_ptr m_subspaceForOESFBORenderMipmap; - // std::unique_ptr m_subspaceForOESStandardDerivatives; - // std::unique_ptr m_subspaceForOESTextureFloat; - // std::unique_ptr m_subspaceForOESTextureFloatLinear; - // std::unique_ptr m_subspaceForOESTextureHalfFloat; - // std::unique_ptr m_subspaceForOESTextureHalfFloatLinear; - // std::unique_ptr m_subspaceForOESVertexArrayObject; - // std::unique_ptr m_subspaceForOffscreenCanvasRenderingContext2D; - // std::unique_ptr m_subspaceForPaintRenderingContext2D; - // std::unique_ptr m_subspaceForPath2D; - // std::unique_ptr m_subspaceForWebGL2RenderingContext; - // std::unique_ptr m_subspaceForWebGLActiveInfo; - // std::unique_ptr m_subspaceForWebGLBuffer; - // std::unique_ptr m_subspaceForWebGLColorBufferFloat; - // std::unique_ptr m_subspaceForWebGLCompressedTextureASTC; - // std::unique_ptr m_subspaceForWebGLCompressedTextureATC; - // std::unique_ptr m_subspaceForWebGLCompressedTextureETC; - // std::unique_ptr m_subspaceForWebGLCompressedTextureETC1; - // std::unique_ptr m_subspaceForWebGLCompressedTexturePVRTC; - // std::unique_ptr m_subspaceForWebGLCompressedTextureS3TC; - // std::unique_ptr m_subspaceForWebGLCompressedTextureS3TCsRGB; - // std::unique_ptr m_subspaceForWebGLContextEvent; - // std::unique_ptr m_subspaceForWebGLDebugRendererInfo; - // std::unique_ptr m_subspaceForWebGLDebugShaders; - // std::unique_ptr m_subspaceForWebGLDepthTexture; - // std::unique_ptr m_subspaceForWebGLDrawBuffers; - // std::unique_ptr m_subspaceForWebGLFramebuffer; - // std::unique_ptr m_subspaceForWebGLLoseContext; - // std::unique_ptr m_subspaceForWebGLMultiDraw; - // std::unique_ptr m_subspaceForWebGLProgram; - // std::unique_ptr m_subspaceForWebGLQuery; - // std::unique_ptr m_subspaceForWebGLRenderbuffer; - // std::unique_ptr m_subspaceForWebGLRenderingContext; - // std::unique_ptr m_subspaceForWebGLSampler; - // std::unique_ptr m_subspaceForWebGLShader; - // std::unique_ptr m_subspaceForWebGLShaderPrecisionFormat; - // std::unique_ptr m_subspaceForWebGLSync; - // std::unique_ptr m_subspaceForWebGLTexture; - // std::unique_ptr m_subspaceForWebGLTransformFeedback; - // std::unique_ptr m_subspaceForWebGLUniformLocation; - // std::unique_ptr m_subspaceForWebGLVertexArrayObject; - // std::unique_ptr m_subspaceForWebGLVertexArrayObjectOES; - // std::unique_ptr m_subspaceForAudioTrack; - // std::unique_ptr m_subspaceForAudioTrackConfiguration; - // std::unique_ptr m_subspaceForAudioTrackList; - // std::unique_ptr m_subspaceForDataCue; - // std::unique_ptr m_subspaceForTextTrack; - // std::unique_ptr m_subspaceForTextTrackCue; - // std::unique_ptr m_subspaceForTextTrackCueGeneric; - // std::unique_ptr m_subspaceForTextTrackCueList; - // std::unique_ptr m_subspaceForTextTrackList; - // std::unique_ptr m_subspaceForTrackEvent; - // std::unique_ptr m_subspaceForVTTCue; - // std::unique_ptr m_subspaceForVTTRegion; - // std::unique_ptr m_subspaceForVTTRegionList; - // std::unique_ptr m_subspaceForVideoTrack; - // std::unique_ptr m_subspaceForVideoTrackConfiguration; - // std::unique_ptr m_subspaceForVideoTrackList; - // std::unique_ptr m_subspaceForCommandLineAPIHost; - // std::unique_ptr m_subspaceForInspectorAuditAccessibilityObject; - // std::unique_ptr m_subspaceForInspectorAuditDOMObject; - // std::unique_ptr m_subspaceForInspectorAuditResourcesObject; - // std::unique_ptr m_subspaceForInspectorFrontendHost; - // std::unique_ptr m_subspaceForDOMApplicationCache; - // std::unique_ptr m_subspaceForMathMLElement; - // std::unique_ptr m_subspaceForMathMLMathElement; - // std::unique_ptr m_subspaceForBarProp; - // std::unique_ptr m_subspaceForCrypto; - // std::unique_ptr m_subspaceForDOMSelection; - // std::unique_ptr m_subspaceForDOMWindow; - // std::unique_ptr m_subspaceForEventSource; - // std::unique_ptr m_subspaceForHistory; - // std::unique_ptr m_subspaceForIntersectionObserver; - // std::unique_ptr m_subspaceForIntersectionObserverEntry; - // std::unique_ptr m_subspaceForLocation; - // std::unique_ptr m_subspaceForNavigator; std::unique_ptr m_subspaceForPerformance; std::unique_ptr m_subspaceForPerformanceEntry; std::unique_ptr m_subspaceForPerformanceMark; std::unique_ptr m_subspaceForPerformanceMeasure; - // std::unique_ptr m_subspaceForPerformanceNavigation; - // std::unique_ptr m_subspaceForPerformanceNavigationTiming; std::unique_ptr m_subspaceForPerformanceObserver; std::unique_ptr m_subspaceForPerformanceObserverEntryList; - // std::unique_ptr m_subspaceForPerformancePaintTiming; std::unique_ptr m_subspaceForPerformanceResourceTiming; std::unique_ptr m_subspaceForPerformanceServerTiming; std::unique_ptr m_subspaceForPerformanceTiming; - // std::unique_ptr m_subspaceForRemoteDOMWindow; - // std::unique_ptr m_subspaceForResizeObserver; - // std::unique_ptr m_subspaceForResizeObserverEntry; - // std::unique_ptr m_subspaceForResizeObserverSize; - // std::unique_ptr m_subspaceForScreen; - // std::unique_ptr m_subspaceForShadowRealmGlobalScope; - // std::unique_ptr m_subspaceForUndoItem; - // std::unique_ptr m_subspaceForUndoManager; - // std::unique_ptr m_subspaceForUserMessageHandler; - // std::unique_ptr m_subspaceForUserMessageHandlersNamespace; - // std::unique_ptr m_subspaceForVisualViewport; - // std::unique_ptr m_subspaceForWebKitNamespace; - // std::unique_ptr m_subspaceForWebKitPoint; - // std::unique_ptr m_subspaceForWorkerNavigator; - // std::unique_ptr m_subspaceForDOMMimeType; - // std::unique_ptr m_subspaceForDOMMimeTypeArray; - // std::unique_ptr m_subspaceForDOMPlugin; - // std::unique_ptr m_subspaceForDOMPluginArray; - // std::unique_ptr m_subspaceForStorage; - // std::unique_ptr m_subspaceForStorageEvent; - // std::unique_ptr m_subspaceForSVGAElement; - // std::unique_ptr m_subspaceForSVGAltGlyphDefElement; - // std::unique_ptr m_subspaceForSVGAltGlyphElement; - // std::unique_ptr m_subspaceForSVGAltGlyphItemElement; - // std::unique_ptr m_subspaceForSVGAngle; - // std::unique_ptr m_subspaceForSVGAnimateColorElement; - // std::unique_ptr m_subspaceForSVGAnimateElement; - // std::unique_ptr m_subspaceForSVGAnimateMotionElement; - // std::unique_ptr m_subspaceForSVGAnimateTransformElement; - // std::unique_ptr m_subspaceForSVGAnimatedAngle; - // std::unique_ptr m_subspaceForSVGAnimatedBoolean; - // std::unique_ptr m_subspaceForSVGAnimatedEnumeration; - // std::unique_ptr m_subspaceForSVGAnimatedInteger; - // std::unique_ptr m_subspaceForSVGAnimatedLength; - // std::unique_ptr m_subspaceForSVGAnimatedLengthList; - // std::unique_ptr m_subspaceForSVGAnimatedNumber; - // std::unique_ptr m_subspaceForSVGAnimatedNumberList; - // std::unique_ptr m_subspaceForSVGAnimatedPreserveAspectRatio; - // std::unique_ptr m_subspaceForSVGAnimatedRect; - // std::unique_ptr m_subspaceForSVGAnimatedString; - // std::unique_ptr m_subspaceForSVGAnimatedTransformList; - // std::unique_ptr m_subspaceForSVGAnimationElement; - // std::unique_ptr m_subspaceForSVGCircleElement; - // std::unique_ptr m_subspaceForSVGClipPathElement; - // std::unique_ptr m_subspaceForSVGComponentTransferFunctionElement; - // std::unique_ptr m_subspaceForSVGCursorElement; - // std::unique_ptr m_subspaceForSVGDefsElement; - // std::unique_ptr m_subspaceForSVGDescElement; - // std::unique_ptr m_subspaceForSVGElement; - // std::unique_ptr m_subspaceForSVGEllipseElement; - // std::unique_ptr m_subspaceForSVGFEBlendElement; - // std::unique_ptr m_subspaceForSVGFEColorMatrixElement; - // std::unique_ptr m_subspaceForSVGFEComponentTransferElement; - // std::unique_ptr m_subspaceForSVGFECompositeElement; - // std::unique_ptr m_subspaceForSVGFEConvolveMatrixElement; - // std::unique_ptr m_subspaceForSVGFEDiffuseLightingElement; - // std::unique_ptr m_subspaceForSVGFEDisplacementMapElement; - // std::unique_ptr m_subspaceForSVGFEDistantLightElement; - // std::unique_ptr m_subspaceForSVGFEDropShadowElement; - // std::unique_ptr m_subspaceForSVGFEFloodElement; - // std::unique_ptr m_subspaceForSVGFEFuncAElement; - // std::unique_ptr m_subspaceForSVGFEFuncBElement; - // std::unique_ptr m_subspaceForSVGFEFuncGElement; - // std::unique_ptr m_subspaceForSVGFEFuncRElement; - // std::unique_ptr m_subspaceForSVGFEGaussianBlurElement; - // std::unique_ptr m_subspaceForSVGFEImageElement; - // std::unique_ptr m_subspaceForSVGFEMergeElement; - // std::unique_ptr m_subspaceForSVGFEMergeNodeElement; - // std::unique_ptr m_subspaceForSVGFEMorphologyElement; - // std::unique_ptr m_subspaceForSVGFEOffsetElement; - // std::unique_ptr m_subspaceForSVGFEPointLightElement; - // std::unique_ptr m_subspaceForSVGFESpecularLightingElement; - // std::unique_ptr m_subspaceForSVGFESpotLightElement; - // std::unique_ptr m_subspaceForSVGFETileElement; - // std::unique_ptr m_subspaceForSVGFETurbulenceElement; - // std::unique_ptr m_subspaceForSVGFilterElement; - // std::unique_ptr m_subspaceForSVGFontElement; - // std::unique_ptr m_subspaceForSVGFontFaceElement; - // std::unique_ptr m_subspaceForSVGFontFaceFormatElement; - // std::unique_ptr m_subspaceForSVGFontFaceNameElement; - // std::unique_ptr m_subspaceForSVGFontFaceSrcElement; - // std::unique_ptr m_subspaceForSVGFontFaceUriElement; - // std::unique_ptr m_subspaceForSVGForeignObjectElement; - // std::unique_ptr m_subspaceForSVGGElement; - // std::unique_ptr m_subspaceForSVGGeometryElement; - // std::unique_ptr m_subspaceForSVGGlyphElement; - // std::unique_ptr m_subspaceForSVGGlyphRefElement; - // std::unique_ptr m_subspaceForSVGGradientElement; - // std::unique_ptr m_subspaceForSVGGraphicsElement; - // std::unique_ptr m_subspaceForSVGHKernElement; - // std::unique_ptr m_subspaceForSVGImageElement; - // std::unique_ptr m_subspaceForSVGLength; - // std::unique_ptr m_subspaceForSVGLengthList; - // std::unique_ptr m_subspaceForSVGLineElement; - // std::unique_ptr m_subspaceForSVGLinearGradientElement; - // std::unique_ptr m_subspaceForSVGMPathElement; - // std::unique_ptr m_subspaceForSVGMarkerElement; - // std::unique_ptr m_subspaceForSVGMaskElement; - // std::unique_ptr m_subspaceForSVGMatrix; - // std::unique_ptr m_subspaceForSVGMetadataElement; - // std::unique_ptr m_subspaceForSVGMissingGlyphElement; - // std::unique_ptr m_subspaceForSVGNumber; - // std::unique_ptr m_subspaceForSVGNumberList; - // std::unique_ptr m_subspaceForSVGPathElement; - // std::unique_ptr m_subspaceForSVGPathSeg; - // std::unique_ptr m_subspaceForSVGPathSegArcAbs; - // std::unique_ptr m_subspaceForSVGPathSegArcRel; - // std::unique_ptr m_subspaceForSVGPathSegClosePath; - // std::unique_ptr m_subspaceForSVGPathSegCurvetoCubicAbs; - // std::unique_ptr m_subspaceForSVGPathSegCurvetoCubicRel; - // std::unique_ptr m_subspaceForSVGPathSegCurvetoCubicSmoothAbs; - // std::unique_ptr m_subspaceForSVGPathSegCurvetoCubicSmoothRel; - // std::unique_ptr m_subspaceForSVGPathSegCurvetoQuadraticAbs; - // std::unique_ptr m_subspaceForSVGPathSegCurvetoQuadraticRel; - // std::unique_ptr m_subspaceForSVGPathSegCurvetoQuadraticSmoothAbs; - // std::unique_ptr m_subspaceForSVGPathSegCurvetoQuadraticSmoothRel; - // std::unique_ptr m_subspaceForSVGPathSegLinetoAbs; - // std::unique_ptr m_subspaceForSVGPathSegLinetoHorizontalAbs; - // std::unique_ptr m_subspaceForSVGPathSegLinetoHorizontalRel; - // std::unique_ptr m_subspaceForSVGPathSegLinetoRel; - // std::unique_ptr m_subspaceForSVGPathSegLinetoVerticalAbs; - // std::unique_ptr m_subspaceForSVGPathSegLinetoVerticalRel; - // std::unique_ptr m_subspaceForSVGPathSegList; - // std::unique_ptr m_subspaceForSVGPathSegMovetoAbs; - // std::unique_ptr m_subspaceForSVGPathSegMovetoRel; - // std::unique_ptr m_subspaceForSVGPatternElement; - // std::unique_ptr m_subspaceForSVGPoint; - // std::unique_ptr m_subspaceForSVGPointList; - // std::unique_ptr m_subspaceForSVGPolygonElement; - // std::unique_ptr m_subspaceForSVGPolylineElement; - // std::unique_ptr m_subspaceForSVGPreserveAspectRatio; - // std::unique_ptr m_subspaceForSVGRadialGradientElement; - // std::unique_ptr m_subspaceForSVGRect; - // std::unique_ptr m_subspaceForSVGRectElement; - // std::unique_ptr m_subspaceForSVGRenderingIntent; - // std::unique_ptr m_subspaceForSVGSVGElement; - // std::unique_ptr m_subspaceForSVGScriptElement; - // std::unique_ptr m_subspaceForSVGSetElement; - // std::unique_ptr m_subspaceForSVGStopElement; - // std::unique_ptr m_subspaceForSVGStringList; - // std::unique_ptr m_subspaceForSVGStyleElement; - // std::unique_ptr m_subspaceForSVGSwitchElement; - // std::unique_ptr m_subspaceForSVGSymbolElement; - // std::unique_ptr m_subspaceForSVGTRefElement; - // std::unique_ptr m_subspaceForSVGTSpanElement; - // std::unique_ptr m_subspaceForSVGTextContentElement; - // std::unique_ptr m_subspaceForSVGTextElement; - // std::unique_ptr m_subspaceForSVGTextPathElement; - // std::unique_ptr m_subspaceForSVGTextPositioningElement; - // std::unique_ptr m_subspaceForSVGTitleElement; - // std::unique_ptr m_subspaceForSVGTransform; - // std::unique_ptr m_subspaceForSVGTransformList; - // std::unique_ptr m_subspaceForSVGUnitTypes; - // std::unique_ptr m_subspaceForSVGUseElement; - // std::unique_ptr m_subspaceForSVGVKernElement; - // std::unique_ptr m_subspaceForSVGViewElement; - // std::unique_ptr m_subspaceForSVGViewSpec; - // std::unique_ptr m_subspaceForSVGZoomEvent; - // std::unique_ptr m_subspaceForGCObservation; - // std::unique_ptr m_subspaceForInternalSettings; - // std::unique_ptr m_subspaceForInternals; - // std::unique_ptr m_subspaceForInternalsMapLike; - // std::unique_ptr m_subspaceForInternalsSetLike; - // std::unique_ptr m_subspaceForMallocStatistics; - // std::unique_ptr m_subspaceForMemoryInfo; - // std::unique_ptr m_subspaceForMockCDMFactory; - // std::unique_ptr m_subspaceForMockContentFilterSettings; - // std::unique_ptr m_subspaceForMockPageOverlay; - // std::unique_ptr m_subspaceForMockPaymentCoordinator; - // std::unique_ptr m_subspaceForServiceWorkerInternals; - // std::unique_ptr m_subspaceForTypeConversions; - // std::unique_ptr m_subspaceForWebFakeXRDevice; - // std::unique_ptr m_subspaceForWebFakeXRInputController; - // std::unique_ptr m_subspaceForWebXRTest; - // std::unique_ptr m_subspaceForDedicatedWorkerGlobalScope; std::unique_ptr m_subspaceForWorker; std::unique_ptr m_subspaceForWorkerGlobalScope; - // std::unique_ptr m_subspaceForWorkerLocation; - // std::unique_ptr m_subspaceForExtendableEvent; - // std::unique_ptr m_subspaceForExtendableMessageEvent; - // std::unique_ptr m_subspaceForFetchEvent; - // std::unique_ptr m_subspaceForNavigationPreloadManager; - // std::unique_ptr m_subspaceForServiceWorker; - // std::unique_ptr m_subspaceForServiceWorkerClient; - // std::unique_ptr m_subspaceForServiceWorkerClients; - // std::unique_ptr m_subspaceForServiceWorkerContainer; - // std::unique_ptr m_subspaceForServiceWorkerGlobalScope; - // std::unique_ptr m_subspaceForServiceWorkerRegistration; - // std::unique_ptr m_subspaceForServiceWorkerWindowClient; - // std::unique_ptr m_subspaceForSharedWorker; - // std::unique_ptr m_subspaceForSharedWorkerGlobalScope; - // std::unique_ptr m_subspaceForPaintWorkletGlobalScope; - // std::unique_ptr m_subspaceForWorklet; - // std::unique_ptr m_subspaceForWorkletGlobalScope; - // std::unique_ptr m_subspaceForDOMParser; - // std::unique_ptr m_subspaceForXMLHttpRequest; - // std::unique_ptr m_subspaceForXMLHttpRequestEventTarget; - // std::unique_ptr m_subspaceForXMLHttpRequestProgressEvent; - // std::unique_ptr m_subspaceForXMLHttpRequestUpload; - // std::unique_ptr m_subspaceForXMLSerializer; - // std::unique_ptr m_subspaceForXPathEvaluator; - // std::unique_ptr m_subspaceForXPathExpression; - // std::unique_ptr m_subspaceForXPathNSResolver; - // std::unique_ptr m_subspaceForXPathResult; - // std::unique_ptr m_subspaceForXSLTProcessor; std::unique_ptr m_subspaceForBakeGlobalScope; @@ -969,8 +176,6 @@ class DOMIsoSubspaces { std::unique_ptr m_subspaceForCookieMapIterator; std::unique_ptr m_subspaceForDOMException; - // std::unique_ptr m_subspaceForDOMFormData; - // std::unique_ptr m_subspaceForDOMFormDataIterator; std::unique_ptr m_subspaceForDOMURL; std::unique_ptr m_subspaceForURLPattern; std::unique_ptr m_subspaceForJSSign; diff --git a/src/jsc/bindings/webcore/EventFactory.cpp b/src/jsc/bindings/webcore/EventFactory.cpp index 062a6aac8e82..93fc003acc49 100644 --- a/src/jsc/bindings/webcore/EventFactory.cpp +++ b/src/jsc/bindings/webcore/EventFactory.cpp @@ -36,280 +36,17 @@ namespace WebCore { JSC::JSValue toJSNewlyCreated(JSC::JSGlobalObject*, JSDOMGlobalObject* globalObject, Ref&& impl) { switch (impl->eventInterface()) { - // case AnimationEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case AnimationPlaybackEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(APPLE_PAY) - // case ApplePayCancelEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(APPLE_PAY_COUPON_CODE) - // case ApplePayCouponCodeChangedEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(APPLE_PAY) - // case ApplePayPaymentAuthorizedEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(APPLE_PAY) - // case ApplePayPaymentMethodSelectedEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(APPLE_PAY) - // case ApplePayShippingContactSelectedEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(APPLE_PAY) - // case ApplePayShippingMethodSelectedEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(APPLE_PAY) - // case ApplePayValidateMerchantEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEB_AUDIO) - // case AudioProcessingEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif case EventInterfaceType: { return createWrapper(globalObject, WTF::move(impl)); } - // case BeforeUnloadEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(MEDIA_RECORDER) - // case BlobEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case ClipboardEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); case CloseEventInterfaceType: { return createWrapper(globalObject, WTF::move(impl)); } - // case CompositionEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case CustomEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(DEVICE_ORIENTATION) - // case DeviceMotionEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(DEVICE_ORIENTATION) - // case DeviceOrientationEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case DragEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); case ErrorEventInterfaceType: { return createWrapper(globalObject, WTF::move(impl)); } - // #if ENABLE(SERVICE_WORKER) - // case ExtendableEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(SERVICE_WORKER) - // case ExtendableMessageEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(SERVICE_WORKER) - // case FetchEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case FocusEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case FormDataEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(GAMEPAD) - // case GamepadEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(IOS_GESTURE_EVENTS) || ENABLE(MAC_GESTURE_EVENTS) - // case GestureEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case HashChangeEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case IDBVersionChangeEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case InputEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case KeyboardEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(ENCRYPTED_MEDIA) - // case MediaEncryptedEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(ENCRYPTED_MEDIA) - // case MediaKeyMessageEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case MediaQueryListEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(MEDIA_RECORDER) - // case MediaRecorderErrorEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(MEDIA_STREAM) - // case MediaStreamTrackEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(PAYMENT_REQUEST) - // case MerchantValidationEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif case MessageEventInterfaceType: return createWrapper(globalObject, WTF::move(impl)); - // case MouseEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case MutationEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(NOTIFICATION_EVENT) - // case NotificationEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEB_AUDIO) - // case OfflineAudioCompletionEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(MEDIA_STREAM) - // case OverconstrainedErrorEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case OverflowEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case PageTransitionEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(PAYMENT_REQUEST) - // case PaymentMethodChangeEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(PAYMENT_REQUEST) - // case PaymentRequestUpdateEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(PICTURE_IN_PICTURE_API) - // case PictureInPictureEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case PointerEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case PopStateEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case ProgressEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case PromiseRejectionEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(SERVICE_WORKER) - // case PushEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(SERVICE_WORKER) - // case PushSubscriptionChangeEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCDTMFToneChangeEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCDataChannelEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCErrorEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCPeerConnectionIceErrorEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCPeerConnectionIceEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCRtpSFrameTransformErrorEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCTrackEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCTransformEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case SVGZoomEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case SecurityPolicyViolationEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case SpeechRecognitionErrorEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case SpeechRecognitionEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(SPEECH_SYNTHESIS) - // case SpeechSynthesisErrorEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(SPEECH_SYNTHESIS) - // case SpeechSynthesisEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case StorageEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case SubmitEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case TextEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(TOUCH_EVENTS) - // case TouchEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(VIDEO) - // case TrackEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case TransitionEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case UIEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(WEBGL) - // case WebGLContextEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(LEGACY_ENCRYPTED_MEDIA) - // case WebKitMediaKeyMessageEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(LEGACY_ENCRYPTED_MEDIA) - // case WebKitMediaKeyNeededEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WIRELESS_PLAYBACK_TARGET) - // case WebKitPlaybackTargetAvailabilityEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // case WheelEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // case XMLHttpRequestProgressEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #if ENABLE(WEBXR) - // case XRInputSourceEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEBXR) - // case XRInputSourcesChangeEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEBXR) - // case XRReferenceSpaceEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // #if ENABLE(WEBXR) - // case XRSessionEventInterfaceType: - // return createWrapper(globalObject, WTF::move(impl)); - // #endif - // } default: { break; } diff --git a/src/jsc/bindings/webcore/EventHeaders.h b/src/jsc/bindings/webcore/EventHeaders.h index 6692b9234a80..faf5d7a900e3 100644 --- a/src/jsc/bindings/webcore/EventHeaders.h +++ b/src/jsc/bindings/webcore/EventHeaders.h @@ -28,275 +28,13 @@ #ifndef EventHeaders_h #define EventHeaders_h -// #include "AnimationEvent.h" -// #include "JSAnimationEvent.h" -// #include "AnimationPlaybackEvent.h" -// #include "JSAnimationPlaybackEvent.h" -// #if ENABLE(APPLE_PAY) -// #include "ApplePayCancelEvent.h" -// #include "JSApplePayCancelEvent.h" -// #endif -// #if ENABLE(APPLE_PAY_COUPON_CODE) -// #include "ApplePayCouponCodeChangedEvent.h" -// #include "JSApplePayCouponCodeChangedEvent.h" -// #endif -// #if ENABLE(APPLE_PAY) -// #include "ApplePayPaymentAuthorizedEvent.h" -// #include "JSApplePayPaymentAuthorizedEvent.h" -// #endif -// #if ENABLE(APPLE_PAY) -// #include "ApplePayPaymentMethodSelectedEvent.h" -// #include "JSApplePayPaymentMethodSelectedEvent.h" -// #endif -// #if ENABLE(APPLE_PAY) -// #include "ApplePayShippingContactSelectedEvent.h" -// #include "JSApplePayShippingContactSelectedEvent.h" -// #endif -// #if ENABLE(APPLE_PAY) -// #include "ApplePayShippingMethodSelectedEvent.h" -// #include "JSApplePayShippingMethodSelectedEvent.h" -// #endif -// #if ENABLE(APPLE_PAY) -// #include "ApplePayValidateMerchantEvent.h" -// #include "JSApplePayValidateMerchantEvent.h" -// #endif -// #if ENABLE(WEB_AUDIO) -// #include "AudioProcessingEvent.h" -// #include "JSAudioProcessingEvent.h" -// #endif #include "Event.h" #include "JSEvent.h" -// #include "BeforeUnloadEvent.h" -// #include "JSBeforeUnloadEvent.h" -// #if ENABLE(MEDIA_RECORDER) -// #include "BlobEvent.h" -// #include "JSBlobEvent.h" -// #endif -// #include "ClipboardEvent.h" -// #include "JSClipboardEvent.h" #include "CloseEvent.h" #include "JSCloseEvent.h" -// #include "CompositionEvent.h" -// #include "JSCompositionEvent.h" -// #include "CustomEvent.h" -// #include "JSCustomEvent.h" -// #if ENABLE(DEVICE_ORIENTATION) -// #include "DeviceMotionEvent.h" -// #include "JSDeviceMotionEvent.h" -// #endif -// #if ENABLE(DEVICE_ORIENTATION) -// #include "DeviceOrientationEvent.h" -// #include "JSDeviceOrientationEvent.h" -// #endif -// #include "DragEvent.h" -// #include "JSDragEvent.h" #include "ErrorEvent.h" #include "JSErrorEvent.h" -// #if ENABLE(SERVICE_WORKER) -// #include "ExtendableEvent.h" -// #include "JSExtendableEvent.h" -// #endif -// #if ENABLE(SERVICE_WORKER) -// #include "ExtendableMessageEvent.h" -// #include "JSExtendableMessageEvent.h" -// #endif -// #if ENABLE(SERVICE_WORKER) -// #include "FetchEvent.h" -// #include "JSFetchEvent.h" -// #endif -// #include "FocusEvent.h" -// #include "JSFocusEvent.h" -// #include "FormDataEvent.h" -// #include "JSFormDataEvent.h" -// #if ENABLE(GAMEPAD) -// #include "GamepadEvent.h" -// #include "JSGamepadEvent.h" -// #endif -// #if ENABLE(IOS_GESTURE_EVENTS) || ENABLE(MAC_GESTURE_EVENTS) -// #include "GestureEvent.h" -// #include "JSGestureEvent.h" -// #endif -// #include "HashChangeEvent.h" -// #include "JSHashChangeEvent.h" -// #include "IDBVersionChangeEvent.h" -// #include "JSIDBVersionChangeEvent.h" -// #include "InputEvent.h" -// #include "JSInputEvent.h" -// #include "KeyboardEvent.h" -// #include "JSKeyboardEvent.h" -// #if ENABLE(ENCRYPTED_MEDIA) -// #include "MediaEncryptedEvent.h" -// #include "JSMediaEncryptedEvent.h" -// #endif -// #if ENABLE(ENCRYPTED_MEDIA) -// #include "MediaKeyMessageEvent.h" -// #include "JSMediaKeyMessageEvent.h" -// #endif -// #include "MediaQueryListEvent.h" -// #include "JSMediaQueryListEvent.h" -// #if ENABLE(MEDIA_RECORDER) -// #include "MediaRecorderErrorEvent.h" -// #include "JSMediaRecorderErrorEvent.h" -// #endif -// #if ENABLE(MEDIA_STREAM) -// #include "MediaStreamTrackEvent.h" -// #include "JSMediaStreamTrackEvent.h" -// #endif -// #if ENABLE(PAYMENT_REQUEST) -// #include "MerchantValidationEvent.h" -// #include "JSMerchantValidationEvent.h" -// #endif #include "MessageEvent.h" #include "JSMessageEvent.h" -// #include "MouseEvent.h" -// #include "JSMouseEvent.h" -// #include "MutationEvent.h" -// #include "JSMutationEvent.h" -// #if ENABLE(NOTIFICATION_EVENT) -// #include "NotificationEvent.h" -// #include "JSNotificationEvent.h" -// #endif -// #if ENABLE(WEB_AUDIO) -// #include "OfflineAudioCompletionEvent.h" -// #include "JSOfflineAudioCompletionEvent.h" -// #endif -// #if ENABLE(MEDIA_STREAM) -// #include "OverconstrainedErrorEvent.h" -// #include "JSOverconstrainedErrorEvent.h" -// #endif -// #include "OverflowEvent.h" -// #include "JSOverflowEvent.h" -// #include "PageTransitionEvent.h" -// #include "JSPageTransitionEvent.h" -// #if ENABLE(PAYMENT_REQUEST) -// #include "PaymentMethodChangeEvent.h" -// #include "JSPaymentMethodChangeEvent.h" -// #endif -// #if ENABLE(PAYMENT_REQUEST) -// #include "PaymentRequestUpdateEvent.h" -// #include "JSPaymentRequestUpdateEvent.h" -// #endif -// #if ENABLE(PICTURE_IN_PICTURE_API) -// #include "PictureInPictureEvent.h" -// #include "JSPictureInPictureEvent.h" -// #endif -// #include "PointerEvent.h" -// #include "JSPointerEvent.h" -// #include "PopStateEvent.h" -// #include "JSPopStateEvent.h" -// #include "ProgressEvent.h" -// #include "JSProgressEvent.h" -// #include "PromiseRejectionEvent.h" -// #include "JSPromiseRejectionEvent.h" -// #if ENABLE(SERVICE_WORKER) -// #include "PushEvent.h" -// #include "JSPushEvent.h" -// #endif -// #if ENABLE(SERVICE_WORKER) -// #include "PushSubscriptionChangeEvent.h" -// #include "JSPushSubscriptionChangeEvent.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "RTCDTMFToneChangeEvent.h" -// #include "JSRTCDTMFToneChangeEvent.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "RTCDataChannelEvent.h" -// #include "JSRTCDataChannelEvent.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "RTCErrorEvent.h" -// #include "JSRTCErrorEvent.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "RTCPeerConnectionIceErrorEvent.h" -// #include "JSRTCPeerConnectionIceErrorEvent.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "RTCPeerConnectionIceEvent.h" -// #include "JSRTCPeerConnectionIceEvent.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "RTCRtpSFrameTransformErrorEvent.h" -// #include "JSRTCRtpSFrameTransformErrorEvent.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "RTCTrackEvent.h" -// #include "JSRTCTrackEvent.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "RTCTransformEvent.h" -// #include "JSRTCTransformEvent.h" -// #endif -// #include "SVGZoomEvent.h" -// #include "JSSVGZoomEvent.h" -// #include "SecurityPolicyViolationEvent.h" -// #include "JSSecurityPolicyViolationEvent.h" -// #include "SpeechRecognitionErrorEvent.h" -// #include "JSSpeechRecognitionErrorEvent.h" -// #include "SpeechRecognitionEvent.h" -// #include "JSSpeechRecognitionEvent.h" -// #if ENABLE(SPEECH_SYNTHESIS) -// #include "SpeechSynthesisErrorEvent.h" -// #include "JSSpeechSynthesisErrorEvent.h" -// #endif -// #if ENABLE(SPEECH_SYNTHESIS) -// #include "SpeechSynthesisEvent.h" -// #include "JSSpeechSynthesisEvent.h" -// #endif -// #include "StorageEvent.h" -// #include "JSStorageEvent.h" -// #include "SubmitEvent.h" -// #include "JSSubmitEvent.h" -// #include "TextEvent.h" -// #include "JSTextEvent.h" -// #if ENABLE(TOUCH_EVENTS) -// #include "TouchEvent.h" -// #include "JSTouchEvent.h" -// #endif -// #if ENABLE(VIDEO) -// #include "TrackEvent.h" -// #include "JSTrackEvent.h" -// #endif -// #include "TransitionEvent.h" -// #include "JSTransitionEvent.h" -// #include "UIEvent.h" -// #include "JSUIEvent.h" -// #if ENABLE(WEBGL) -// #include "WebGLContextEvent.h" -// #include "JSWebGLContextEvent.h" -// #endif -// #if ENABLE(LEGACY_ENCRYPTED_MEDIA) -// #include "WebKitMediaKeyMessageEvent.h" -// #include "JSWebKitMediaKeyMessageEvent.h" -// #endif -// #if ENABLE(LEGACY_ENCRYPTED_MEDIA) -// #include "WebKitMediaKeyNeededEvent.h" -// #include "JSWebKitMediaKeyNeededEvent.h" -// #endif -// #if ENABLE(WIRELESS_PLAYBACK_TARGET) -// #include "WebKitPlaybackTargetAvailabilityEvent.h" -// #include "JSWebKitPlaybackTargetAvailabilityEvent.h" -// #endif -// #include "WheelEvent.h" -// #include "JSWheelEvent.h" -// #include "XMLHttpRequestProgressEvent.h" -// #include "JSXMLHttpRequestProgressEvent.h" -// #if ENABLE(WEBXR) -// #include "XRInputSourceEvent.h" -// #include "JSXRInputSourceEvent.h" -// #endif -// #if ENABLE(WEBXR) -// #include "XRInputSourcesChangeEvent.h" -// #include "JSXRInputSourcesChangeEvent.h" -// #endif -// #if ENABLE(WEBXR) -// #include "XRReferenceSpaceEvent.h" -// #include "JSXRReferenceSpaceEvent.h" -// #endif -// #if ENABLE(WEBXR) -// #include "XRSessionEvent.h" -// #include "JSXRSessionEvent.h" -// #endif #endif // EventHeaders_h diff --git a/src/jsc/bindings/webcore/EventPath.cpp b/src/jsc/bindings/webcore/EventPath.cpp index b78dd25bef66..92ac7fe0dc1c 100644 --- a/src/jsc/bindings/webcore/EventPath.cpp +++ b/src/jsc/bindings/webcore/EventPath.cpp @@ -1,241 +1,36 @@ -// /* -// * Copyright (C) 2013 Google Inc. All rights reserved. -// * Copyright (C) 2013-2022 Apple Inc. All rights reserved. -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Library General Public -// * License as published by the Free Software Foundation; either -// * version 2 of the License, or (at your option) any later version. -// * -// * This library is distributed in the hope that it will be useful, -// * but WITHOUT ANY WARRANTY; without even the implied warranty of -// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// * Library General Public License for more details. -// * -// * You should have received a copy of the GNU Library General Public License -// * along with this library; see the file COPYING.LIB. If not, write to -// * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -// * Boston, MA 02110-1301, USA. -// */ +/* + * Copyright (C) 2013 Google Inc. All rights reserved. + * Copyright (C) 2013-2022 Apple Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public License + * along with this library; see the file COPYING.LIB. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ #include "config.h" #include "EventPath.h" -// // #include "DOMWindow.h" #include "Event.h" #include "EventContext.h" #include "EventNames.h" -// // #include "FullscreenManager.h" -// // #include "HTMLSlotElement.h" -// // #include "MouseEvent.h" -// #include "Node.h" -// // #include "PseudoElement.h" -// // #include "ShadowRoot.h" -// // #include "TouchEvent.h" #include namespace WebCore { -// static inline bool shouldEventCrossShadowBoundary(Event& event, ShadowRoot& shadowRoot, EventTarget& target) -// { -// // #if ENABLE(FULLSCREEN_API) && ENABLE(VIDEO) -// // // Video-only full screen is a mode where we use the shadow DOM as an implementation -// // // detail that should not be detectable by the web content. -// // if (is(target)) { -// // if (auto* element = downcast(target).document().fullscreenManager().currentFullscreenElement()) { -// // // FIXME: We assume that if the full screen element is a media element that it's -// // // the video-only full screen. Both here and elsewhere. But that is probably wrong. -// // if (element->isMediaElement() && shadowRoot.host() == element) -// // return false; -// // } -// // } -// // #endif - -// bool targetIsInShadowRoot = is(target) && &downcast(target).treeScope().rootNode() == &shadowRoot; -// return !targetIsInShadowRoot || event.composed(); -// } - -// static Node* nodeOrHostIfPseudoElement(Node* node) -// { -// retur nnode; -// // return is(*node) ? downcast(*node).hostElement() : node; -// } - -// class RelatedNodeRetargeter { -// public: -// RelatedNodeRetargeter(Node& relatedNode, Node& target); - -// Node* currentNode(Node& currentTreeScope); -// void moveToNewTreeScope(TreeScope* previousTreeScope, TreeScope& newTreeScope); - -// private: -// Node* nodeInLowestCommonAncestor(); -// void collectTreeScopes(); - -// void checkConsistency(Node& currentTarget); - -// Node& m_relatedNode; -// Node* m_retargetedRelatedNode; -// Vector m_ancestorTreeScopes; -// unsigned m_lowestCommonAncestorIndex { 0 }; -// bool m_hasDifferentTreeRoot { false }; -// }; - EventPath::EventPath(Node& originalTarget, Event& event) { } -// buildPath(originalTarget, event); - -// if (auto* relatedTarget = event.relatedTarget(); is(relatedTarget) && !m_path.isEmpty()) -// setRelatedTarget(originalTarget, downcast(*relatedTarget)); - -// #if ENABLE(TOUCH_EVENTS) -// if (is(event)) -// retargetTouchLists(downcast(event)); -// #endif -// } - -// void EventPath::buildPath(Node& originalTarget, Event& event) -// { -// UNUSED_PARAM(originalTarget); -// UNUSED_PARAM(event); -// // EventContext::Type contextType = [&]() { -// // if (is(event) || event.isFocusEvent()) -// // return EventContext::Type::MouseOrFocus; -// // #if ENABLE(TOUCH_EVENTS) -// // if (is(event)) -// // return EventContext::Type::Touch; -// // #endif -// // return EventContext::Type::Normal; -// // }(); - -// // Node* node = nodeOrHostIfPseudoElement(&originalTarget); -// // Node* target = node ? eventTargetRespectingTargetRules(*node) : nullptr; -// // int closedShadowDepth = 0; -// // // Depths are used to decided which nodes are excluded in event.composedPath when the tree is mutated during event dispatching. -// // // They could be negative for nodes outside the shadow tree of the target node. -// // while (node) { -// // while (node) { -// // m_path.append(EventContext { contextType, *node, eventTargetRespectingTargetRules(*node), target, closedShadowDepth }); - -// // if (is(*node)) -// // break; - -// // ContainerNode* parent = node->parentNode(); -// // if (!parent) [[unlikely]] { -// // // https://dom.spec.whatwg.org/#interface-document -// // if (is(*node) && event.type() != eventNames().loadEvent) { -// // ASSERT(target); -// // if (target) { -// // if (auto* window = downcast(*node).domWindow()) -// // m_path.append(EventContext { EventContext::Type::Window, node, window, target, closedShadowDepth }); -// // } -// // } -// // return; -// // } - -// // if (auto* shadowRootOfParent = parent->shadowRoot(); shadowRootOfParent) [[unlikely]]) { -// // if (auto* assignedSlot = shadowRootOfParent->findAssignedSlot(*node)) { -// // if (shadowRootOfParent->mode() != ShadowRootMode::Open) -// // closedShadowDepth++; -// // // node is assigned to a slot. Continue dispatching the event at this slot. -// // parent = assignedSlot; -// // } -// // } -// // node = parent; -// // } - -// // bool exitingShadowTreeOfTarget = &target->treeScope() == &node->treeScope(); -// // ShadowRoot& shadowRoot = downcast(*node); -// // if (!shouldEventCrossShadowBoundary(event, shadowRoot, originalTarget)) -// // return; -// // node = shadowRoot.host(); -// // if (shadowRoot.mode() != ShadowRootMode::Open) -// // closedShadowDepth--; -// // if (exitingShadowTreeOfTarget) -// // target = eventTargetRespectingTargetRules(*node); -// } -// } - -// void EventPath::setRelatedTarget(Node& origin, Node& relatedNode) -// { -// UNUSED_PARAM(origin); -// UNUSED_PARAM(relatedNode); -// // RelatedNodeRetargeter retargeter(relatedNode, *m_path[0].node()); - -// // bool originIsRelatedTarget = &origin == &relatedNode; -// // Node& rootNodeInOriginTreeScope = origin.treeScope().rootNode(); -// // TreeScope* previousTreeScope = nullptr; -// // size_t originalEventPathSize = m_path.size(); -// // for (unsigned contextIndex = 0; contextIndex < originalEventPathSize; contextIndex++) { -// // auto& context = m_path[contextIndex]; -// // if (!context.isMouseOrFocusEventContext()) { -// // ASSERT(context.isWindowContext()); -// // continue; -// // } - -// // Node& currentTarget = *context.node(); -// // TreeScope& currentTreeScope = currentTarget.treeScope(); -// // if (previousTreeScope && ¤tTreeScope != previousTreeScope) [[unlikely]] -// // retargeter.moveToNewTreeScope(previousTreeScope, currentTreeScope); - -// // Node* currentRelatedNode = retargeter.currentNode(currentTarget); -// // if (!originIsRelatedTarget && context.target() == currentRelatedNode) [[unlikely]] { -// // m_path.shrink(contextIndex); -// // break; -// // } - -// // context.setRelatedTarget(currentRelatedNode); - -// // if (originIsRelatedTarget && context.node() == &rootNodeInOriginTreeScope) [[unlikely]] { -// // m_path.shrink(contextIndex + 1); -// // break; -// // } - -// // previousTreeScope = ¤tTreeScope; -// // } -// } - -// #if ENABLE(TOUCH_EVENTS) - -// void EventPath::retargetTouch(EventContext::TouchListType type, const Touch& touch) -// { -// auto* eventTarget = touch.target(); -// if (!is(eventTarget)) -// return; - -// RelatedNodeRetargeter retargeter(downcast(*eventTarget), *m_path[0].node()); -// TreeScope* previousTreeScope = nullptr; -// for (auto& context : m_path) { -// Node& currentTarget = *context.node(); -// TreeScope& currentTreeScope = currentTarget.treeScope(); -// if (previousTreeScope && ¤tTreeScope != previousTreeScope) [[unlikely]] -// retargeter.moveToNewTreeScope(previousTreeScope, currentTreeScope); - -// if (context.isTouchEventContext()) { -// Node* currentRelatedNode = retargeter.currentNode(currentTarget); -// context.touchList(type).append(touch.cloneWithNewTarget(currentRelatedNode)); -// } else -// ASSERT(context.isWindowContext()); - -// previousTreeScope = ¤tTreeScope; -// } -// } - -// void EventPath::retargetTouchList(EventContext::TouchListType type, const TouchList* list) -// { -// for (unsigned i = 0, length = list ? list->length() : 0; i < length; ++i) -// retargetTouch(type, *list->item(i)); -// } - -// void EventPath::retargetTouchLists(const TouchEvent& event) -// { -// retargetTouchList(EventContext::TouchListType::Touches, event.touches()); -// retargetTouchList(EventContext::TouchListType::TargetTouches, event.targetTouches()); -// retargetTouchList(EventContext::TouchListType::ChangedTouches, event.changedTouches()); -// } - -// #endif // https://dom.spec.whatwg.org/#dom-event-composedpath // Any node whose depth computed in EventPath::buildPath is greater than the context object is excluded. @@ -283,7 +78,6 @@ EventPath::EventPath(const Vector& targets) { m_path = targets.map([&](auto* target) { ASSERT(target); - // ASSERT(!is(target)); return EventContext { EventContext::Type::Normal, nullptr, target, *targets.begin(), 0 }; }); } @@ -293,138 +87,4 @@ EventPath::EventPath(EventTarget& target) m_path = { EventContext { EventContext::Type::Normal, nullptr, &target, &target, 0 } }; } -// static Node* moveOutOfAllShadowRoots(Node& startingNode) -// { -// Node* node = &startingNode; -// while (node->isInShadowTree()) -// node = downcast(node->treeScope().rootNode()).host(); -// return node; -// } - -// RelatedNodeRetargeter::RelatedNodeRetargeter(Node& relatedNode, Node& target) -// : m_relatedNode(relatedNode) -// , m_retargetedRelatedNode(&relatedNode) -// { -// auto& targetTreeScope = target.treeScope(); -// TreeScope* currentTreeScope = &m_relatedNode.treeScope(); -// if (currentTreeScope == &targetTreeScope && target.isConnected() && m_relatedNode.isConnected()) [[likely]] -// return; - -// if (¤tTreeScope->documentScope() != &targetTreeScope.documentScope()) { -// m_hasDifferentTreeRoot = true; -// m_retargetedRelatedNode = nullptr; -// return; -// } -// if (relatedNode.isConnected() != target.isConnected()) { -// m_hasDifferentTreeRoot = true; -// m_retargetedRelatedNode = moveOutOfAllShadowRoots(relatedNode); -// return; -// } - -// collectTreeScopes(); - -// // FIXME: We should collect this while constructing the event path. -// Vector targetTreeScopeAncestors; -// for (TreeScope* currentTreeScope = &targetTreeScope; currentTreeScope; currentTreeScope = currentTreeScope->parentTreeScope()) -// targetTreeScopeAncestors.append(currentTreeScope); -// ASSERT_WITH_SECURITY_IMPLICATION(!targetTreeScopeAncestors.isEmpty()); - -// unsigned i = m_ancestorTreeScopes.size(); -// unsigned j = targetTreeScopeAncestors.size(); -// ASSERT_WITH_SECURITY_IMPLICATION(m_ancestorTreeScopes.last() == targetTreeScopeAncestors.last()); -// while (m_ancestorTreeScopes[i - 1] == targetTreeScopeAncestors[j - 1]) { -// i--; -// j--; -// if (!i || !j) -// break; -// } - -// bool lowestCommonAncestorIsDocumentScope = i + 1 == m_ancestorTreeScopes.size(); -// if (lowestCommonAncestorIsDocumentScope && !relatedNode.isConnected() && !target.isConnected()) { -// Node& relatedNodeAncestorInDocumentScope = i ? *downcast(m_ancestorTreeScopes[i - 1]->rootNode()).shadowHost() : relatedNode; -// Node& targetAncestorInDocumentScope = j ? *downcast(targetTreeScopeAncestors[j - 1]->rootNode()).shadowHost() : target; -// if (&targetAncestorInDocumentScope.rootNode() != &relatedNodeAncestorInDocumentScope.rootNode()) { -// m_hasDifferentTreeRoot = true; -// m_retargetedRelatedNode = moveOutOfAllShadowRoots(relatedNode); -// return; -// } -// } - -// m_lowestCommonAncestorIndex = i; -// m_retargetedRelatedNode = nodeInLowestCommonAncestor(); -// } - -// inline Node* RelatedNodeRetargeter::currentNode(Node& currentTarget) -// { -// checkConsistency(currentTarget); -// return m_retargetedRelatedNode; -// } - -// void RelatedNodeRetargeter::moveToNewTreeScope(TreeScope* previousTreeScope, TreeScope& newTreeScope) -// { -// if (m_hasDifferentTreeRoot) -// return; - -// auto& currentRelatedNodeScope = m_retargetedRelatedNode->treeScope(); -// if (previousTreeScope != ¤tRelatedNodeScope) { -// // currentRelatedNode is still outside our shadow tree. New tree scope may contain currentRelatedNode -// // but there is no need to re-target it. Moving into a slot (thereby a deeper shadow tree) doesn't matter. -// return; -// } - -// bool enteredSlot = newTreeScope.parentTreeScope() == previousTreeScope; -// if (enteredSlot) { -// if (m_lowestCommonAncestorIndex) { -// if (m_ancestorTreeScopes.isEmpty()) -// collectTreeScopes(); -// bool relatedNodeIsInSlot = m_ancestorTreeScopes[m_lowestCommonAncestorIndex - 1] == &newTreeScope; -// if (relatedNodeIsInSlot) { -// m_lowestCommonAncestorIndex--; -// m_retargetedRelatedNode = nodeInLowestCommonAncestor(); -// ASSERT(&newTreeScope == &m_retargetedRelatedNode->treeScope()); -// } -// } else -// ASSERT(m_retargetedRelatedNode == &m_relatedNode); -// } else { -// ASSERT(previousTreeScope->parentTreeScope() == &newTreeScope); -// m_lowestCommonAncestorIndex++; -// ASSERT_WITH_SECURITY_IMPLICATION(m_ancestorTreeScopes.isEmpty() || m_lowestCommonAncestorIndex < m_ancestorTreeScopes.size()); -// m_retargetedRelatedNode = downcast(currentRelatedNodeScope.rootNode()).host(); -// ASSERT(&newTreeScope == &m_retargetedRelatedNode->treeScope()); -// } -// } - -// inline Node* RelatedNodeRetargeter::nodeInLowestCommonAncestor() -// { -// if (!m_lowestCommonAncestorIndex) -// return &m_relatedNode; -// auto& rootNode = m_ancestorTreeScopes[m_lowestCommonAncestorIndex - 1]->rootNode(); -// return downcast(rootNode).host(); -// } - -// void RelatedNodeRetargeter::collectTreeScopes() -// { -// ASSERT(m_ancestorTreeScopes.isEmpty()); -// for (TreeScope* currentTreeScope = &m_relatedNode.treeScope(); currentTreeScope; currentTreeScope = currentTreeScope->parentTreeScope()) -// m_ancestorTreeScopes.append(currentTreeScope); -// ASSERT_WITH_SECURITY_IMPLICATION(!m_ancestorTreeScopes.isEmpty()); -// } - -// #if !ASSERT_ENABLED - -// inline void RelatedNodeRetargeter::checkConsistency(Node&) -// { -// } - -// #else // ASSERT_ENABLED - -// void RelatedNodeRetargeter::checkConsistency(Node& currentTarget) -// { -// if (!m_retargetedRelatedNode) -// return; -// ASSERT(!currentTarget.isClosedShadowHidden(*m_retargetedRelatedNode)); -// ASSERT(m_retargetedRelatedNode == currentTarget.treeScope().retargetToScope(m_relatedNode).ptr()); -// } - -// #endif // ASSERT_ENABLED } diff --git a/src/jsc/bindings/webcore/EventTargetFactory.cpp b/src/jsc/bindings/webcore/EventTargetFactory.cpp index 716b2c3a5005..25155085a200 100644 --- a/src/jsc/bindings/webcore/EventTargetFactory.cpp +++ b/src/jsc/bindings/webcore/EventTargetFactory.cpp @@ -41,241 +41,18 @@ JSC::JSValue toJS(JSC::JSGlobalObject* state, JSDOMGlobalObject* globalObject, E break; case AbortSignalEventTargetInterfaceType: return toJS(state, globalObject, static_cast(impl)); - // #if ENABLE(APPLE_PAY) - // case ApplePaySessionEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEB_AUDIO) - // case AudioNodeEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(VIDEO) - // case AudioTrackListEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEB_AUDIO) - // case BaseAudioContextEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif case BroadcastChannelEventTargetInterfaceType: return toJS(state, globalObject, static_cast(impl)); case BunWebViewEventTargetInterfaceType: return Bun::toJS(state, globalObject, static_cast(impl)); - // case ClipboardEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case DOMApplicationCacheEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); case DOMWindowEventTargetInterfaceType: return globalObject; - // case DedicatedWorkerGlobalScopeEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case EventSourceEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case FileReaderEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case FontFaceSetEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case GPUDeviceEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case IDBDatabaseEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case IDBOpenDBRequestEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case IDBRequestEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case IDBTransactionEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #if ENABLE(VIDEO) - // case MediaControllerEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(MEDIA_STREAM) - // case MediaDevicesEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(ENCRYPTED_MEDIA) - // case MediaKeySessionEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // case MediaQueryListEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #if ENABLE(MEDIA_RECORDER) - // case MediaRecorderEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(MEDIA_SESSION_COORDINATOR) - // case MediaSessionCoordinatorEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(MEDIA_SOURCE) - // case MediaSourceEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(MEDIA_STREAM) - // case MediaStreamEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(MEDIA_STREAM) - // case MediaStreamTrackEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif case MessagePortEventTargetInterfaceType: return toJS(state, globalObject, static_cast(impl)); - // case NodeEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #if ENABLE(NOTIFICATIONS) - // case NotificationEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(OFFSCREEN_CANVAS) - // case OffscreenCanvasEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(PAYMENT_REQUEST) - // case PaymentRequestEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(PAYMENT_REQUEST) - // case PaymentResponseEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // case PerformanceEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case PermissionStatusEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #if ENABLE(PICTURE_IN_PICTURE_API) - // case PictureInPictureWindowEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCDTMFSenderEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCDataChannelEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCDtlsTransportEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCIceTransportEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCPeerConnectionEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCRtpSFrameTransformEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCRtpScriptTransformEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEB_RTC) - // case RTCSctpTransportEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WIRELESS_PLAYBACK_TARGET) - // case RemotePlaybackEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(SERVICE_WORKER) - // case ServiceWorkerEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(SERVICE_WORKER) - // case ServiceWorkerContainerEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(SERVICE_WORKER) - // case ServiceWorkerGlobalScopeEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(SERVICE_WORKER) - // case ServiceWorkerRegistrationEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // case SharedWorkerEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case SharedWorkerGlobalScopeEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #if ENABLE(MEDIA_SOURCE) - // case SourceBufferEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(MEDIA_SOURCE) - // case SourceBufferListEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // case SpeechRecognitionEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #if ENABLE(SPEECH_SYNTHESIS) - // case SpeechSynthesisEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(SPEECH_SYNTHESIS) - // case SpeechSynthesisUtteranceEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(VIDEO) - // case TextTrackEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(VIDEO) - // case TextTrackCueEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(VIDEO) - // case TextTrackCueGenericEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(VIDEO) - // case TextTrackListEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(VIDEO) - // case VideoTrackListEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // case VisualViewportEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case WebAnimationEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #if ENABLE(LEGACY_ENCRYPTED_MEDIA) - // case WebKitMediaKeySessionEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif case WebSocketEventTargetInterfaceType: return toJS(state, globalObject, static_cast(impl)); - // #if ENABLE(WEBXR) - // case WebXRLayerEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEBXR) - // case WebXRSessionEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEBXR) - // case WebXRSpaceEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif - // #if ENABLE(WEBXR) - // case WebXRSystemEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // #endif case WorkerEventTargetInterfaceType: return toJS(state, globalObject, static_cast(impl)); - // case WorkletGlobalScopeEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case XMLHttpRequestEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // case XMLHttpRequestUploadEventTargetInterfaceType: - // return toJS(state, globalObject, static_cast(impl)); - // } default: { break; } diff --git a/src/jsc/bindings/webcore/EventTargetHeaders.h b/src/jsc/bindings/webcore/EventTargetHeaders.h index c00627d96eb8..1ec0139cabca 100644 --- a/src/jsc/bindings/webcore/EventTargetHeaders.h +++ b/src/jsc/bindings/webcore/EventTargetHeaders.h @@ -30,239 +30,16 @@ #include "AbortSignal.h" #include "JSAbortSignal.h" -// #if ENABLE(APPLE_PAY) -// #include "ApplePaySession.h" -// #include "JSApplePaySession.h" -// #endif -// #if ENABLE(WEB_AUDIO) -// #include "AudioNode.h" -// #include "JSAudioNode.h" -// #endif -// #if ENABLE(VIDEO) -// #include "AudioTrackList.h" -// #include "JSAudioTrackList.h" -// #endif -// #if ENABLE(WEB_AUDIO) -// #include "BaseAudioContext.h" -// #include "JSBaseAudioContext.h" -// #endif #include "BroadcastChannel.h" #include "../../../runtime/webview/JSWebView.h" -// #include "Clipboard.h" -// #include "DOMApplicationCache.h" -// #include "DOMWindow.h" -// #include "DedicatedWorkerGlobalScope.h" -// #include "EventSource.h" -// #include "FileReader.h" -// #include "FontFaceSet.h" -// #include "GPUDevice.h" -// #include "IDBDatabase.h" -// #include "IDBOpenDBRequest.h" -// #include "IDBRequest.h" -// #include "IDBTransaction.h" #include "JSBroadcastChannel.h" -// #include "JSClipboard.h" -// #include "JSDOMApplicationCache.h" -// #include "JSDOMWindow.h" -// #include "JSDedicatedWorkerGlobalScope.h" -// #include "JSEventSource.h" -// #include "JSFileReader.h" -// #include "JSFontFaceSet.h" -// #include "JSGPUDevice.h" -// #include "JSIDBDatabase.h" -// #include "JSIDBOpenDBRequest.h" -// #include "JSIDBRequest.h" -// #include "JSIDBTransaction.h" -// #if ENABLE(VIDEO) -// #include "JSMediaController.h" -// #include "MediaController.h" -// #endif -// #if ENABLE(MEDIA_STREAM) -// #include "JSMediaDevices.h" -// #include "MediaDevices.h" -// #endif -// #if ENABLE(ENCRYPTED_MEDIA) -// #include "JSMediaKeySession.h" -// #include "MediaKeySession.h" -// #endif -// #include "JSMediaQueryList.h" -// #include "MediaQueryList.h" -// #if ENABLE(MEDIA_RECORDER) -// #include "JSMediaRecorder.h" -// #include "MediaRecorder.h" -// #endif -// #if ENABLE(MEDIA_SESSION_COORDINATOR) -// #include "JSMediaSessionCoordinator.h" -// #include "MediaSessionCoordinator.h" -// #endif -// #if ENABLE(MEDIA_SOURCE) -// #include "JSMediaSource.h" -// #include "MediaSource.h" -// #endif -// #if ENABLE(MEDIA_STREAM) -// #include "JSMediaStream.h" -// #include "MediaStream.h" -// #endif -// #if ENABLE(MEDIA_STREAM) -// #include "JSMediaStreamTrack.h" -// #include "MediaStreamTrack.h" -// #endif #include "MessagePort.h" #include "JSMessagePort.h" -// #include "JSNode.h" #include "Node.h" -// #if ENABLE(NOTIFICATIONS) -// #include "JSNotification.h" -// #include "Notification.h" -// #endif -// #if ENABLE(OFFSCREEN_CANVAS) -// #include "JSOffscreenCanvas.h" -// #include "OffscreenCanvas.h" -// #endif -// #if ENABLE(PAYMENT_REQUEST) -// #include "JSPaymentRequest.h" -// #include "PaymentRequest.h" -// #endif -// #if ENABLE(PAYMENT_REQUEST) -// #include "JSPaymentResponse.h" -// #include "PaymentResponse.h" -// #endif -// #include "JSPerformance.h" -// #include "JSPermissionStatus.h" -// #include "Performance.h" -// #include "PermissionStatus.h" -// #if ENABLE(PICTURE_IN_PICTURE_API) -// #include "JSPictureInPictureWindow.h" -// #include "PictureInPictureWindow.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "JSRTCDTMFSender.h" -// #include "RTCDTMFSender.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "JSRTCDataChannel.h" -// #include "RTCDataChannel.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "JSRTCDtlsTransport.h" -// #include "RTCDtlsTransport.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "JSRTCIceTransport.h" -// #include "RTCIceTransport.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "JSRTCPeerConnection.h" -// #include "RTCPeerConnection.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "JSRTCRtpSFrameTransform.h" -// #include "RTCRtpSFrameTransform.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "JSRTCRtpScriptTransform.h" -// #include "RTCRtpScriptTransform.h" -// #endif -// #if ENABLE(WEB_RTC) -// #include "JSRTCSctpTransport.h" -// #include "RTCSctpTransport.h" -// #endif -// #if ENABLE(WIRELESS_PLAYBACK_TARGET) -// #include "JSRemotePlayback.h" -// #include "RemotePlayback.h" -// #endif -// #if ENABLE(SERVICE_WORKER) -// #include "JSServiceWorker.h" -// #include "ServiceWorker.h" -// #endif -// #if ENABLE(SERVICE_WORKER) -// #include "JSServiceWorkerContainer.h" -// #include "ServiceWorkerContainer.h" -// #endif -// #if ENABLE(SERVICE_WORKER) -// #include "JSServiceWorkerGlobalScope.h" -// #include "ServiceWorkerGlobalScope.h" -// #endif -// #if ENABLE(SERVICE_WORKER) -// #include "JSServiceWorkerRegistration.h" -// #include "ServiceWorkerRegistration.h" -// #endif -// #include "JSSharedWorker.h" -// #include "JSSharedWorkerGlobalScope.h" -// #include "SharedWorker.h" -// #include "SharedWorkerGlobalScope.h" -// #if ENABLE(MEDIA_SOURCE) -// #include "JSSourceBuffer.h" -// #include "SourceBuffer.h" -// #endif -// #if ENABLE(MEDIA_SOURCE) -// #include "JSSourceBufferList.h" -// #include "SourceBufferList.h" -// #endif -// #include "JSSpeechRecognition.h" -// #include "SpeechRecognition.h" -// #if ENABLE(SPEECH_SYNTHESIS) -// #include "JSSpeechSynthesis.h" -// #include "SpeechSynthesis.h" -// #endif -// #if ENABLE(SPEECH_SYNTHESIS) -// #include "JSSpeechSynthesisUtterance.h" -// #include "SpeechSynthesisUtterance.h" -// #endif -// #if ENABLE(VIDEO) -// #include "JSTextTrack.h" -// #include "TextTrack.h" -// #endif -// #if ENABLE(VIDEO) -// #include "JSTextTrackCue.h" -// #include "TextTrackCue.h" -// #endif -// #if ENABLE(VIDEO) -// #include "JSTextTrackCueGeneric.h" -// #include "TextTrackCueGeneric.h" -// #endif -// #if ENABLE(VIDEO) -// #include "JSTextTrackList.h" -// #include "TextTrackList.h" -// #endif -// #if ENABLE(VIDEO) -// #include "JSVideoTrackList.h" -// #include "VideoTrackList.h" -// #endif -// #include "VisualViewport.h" -// #include "JSVisualViewport.h" -// #include "WebAnimation.h" -// #include "JSWebAnimation.h" -// #if ENABLE(LEGACY_ENCRYPTED_MEDIA) -// #include "JSWebKitMediaKeySession.h" -// #include "WebKitMediaKeySession.h" -// #endif #include "WebSocket.h" #include "JSWebSocket.h" -// #if ENABLE(WEBXR) -// #include "JSWebXRLayer.h" -// #include "WebXRLayer.h" -// #endif -// #if ENABLE(WEBXR) -// #include "JSWebXRSession.h" -// #include "WebXRSession.h" -// #endif -// #if ENABLE(WEBXR) -// #include "JSWebXRSpace.h" -// #include "WebXRSpace.h" -// #endif -// #if ENABLE(WEBXR) -// #include "JSWebXRSystem.h" -// #include "WebXRSystem.h" -// #endif #include "Worker.h" #include "JSWorker.h" -// #include "WorkletGlobalScope.h" -// #include "JSWorkletGlobalScope.h" -// #include "XMLHttpRequest.h" -// #include "JSXMLHttpRequest.h" -// #include "XMLHttpRequestUpload.h" -// #include "JSXMLHttpRequestUpload.h" #include "BunWorkerGlobalScope.h" diff --git a/src/jsc/bindings/webcore/PerformanceTiming.h b/src/jsc/bindings/webcore/PerformanceTiming.h index 779caa5c7550..4e5ad5526e4c 100644 --- a/src/jsc/bindings/webcore/PerformanceTiming.h +++ b/src/jsc/bindings/webcore/PerformanceTiming.h @@ -30,7 +30,6 @@ #pragma once -// #include "LocalDOMWindowProperty.h" #include #include #include @@ -67,28 +66,6 @@ class PerformanceTiming : public RefCounted { explicit PerformanceTiming(); unsigned long long monotonicTimeToIntegerMilliseconds(MonotonicTime) const; - - // mutable unsigned long long m_navigationStart { 0 }; - // mutable unsigned long long m_unloadEventStart { 0 }; - // mutable unsigned long long m_unloadEventEnd { 0 }; - // mutable unsigned long long m_redirectStart { 0 }; - // mutable unsigned long long m_redirectEnd { 0 }; - // mutable unsigned long long m_fetchStart { 0 }; - // mutable unsigned long long m_domainLookupStart { 0 }; - // mutable unsigned long long m_domainLookupEnd { 0 }; - // mutable unsigned long long m_connectStart { 0 }; - // mutable unsigned long long m_connectEnd { 0 }; - // mutable unsigned long long m_secureConnectionStart { 0 }; - // mutable unsigned long long m_requestStart { 0 }; - // mutable unsigned long long m_responseStart { 0 }; - // mutable unsigned long long m_responseEnd { 0 }; - // mutable unsigned long long m_domLoading { 0 }; - // mutable unsigned long long m_domInteractive { 0 }; - // mutable unsigned long long m_domContentLoadedEventStart { 0 }; - // mutable unsigned long long m_domContentLoadedEventEnd { 0 }; - // mutable unsigned long long m_domComplete { 0 }; - // mutable unsigned long long m_loadEventStart { 0 }; - // mutable unsigned long long m_loadEventEnd { 0 }; }; } // namespace WebCore diff --git a/src/react_compiler/hir/environment.rs b/src/react_compiler/hir/environment.rs index c9180b900974..d37bccb5c944 100644 --- a/src/react_compiler/hir/environment.rs +++ b/src/react_compiler/hir/environment.rs @@ -209,53 +209,6 @@ impl Environment { } } - /// Create a child Environment for compiling an outlined function. - /// - /// The child shares the same config, globals, and shapes, and receives copies of - /// all arenas (identifiers, types, scopes, functions) so that references from - /// the outlined HIR remain valid. Block/scope counters start past the cloned - /// data to avoid ID conflicts. - pub fn for_outlined_fn(&self, fn_type: ReactFunctionType) -> Self { - Self { - // Start block counter past any existing blocks in the outlined function. - // The outlined function has BlockId(0), parent may have more. Use parent's - // counter which is guaranteed to be > any block ID in the outlined function. - next_block_id_counter: self.next_block_id_counter, - // Scope counter must be consistent with scopes vec length - next_scope_id_counter: self.scopes.len() as u32, - next_mutable_range_id_counter: self.next_mutable_range_id_counter, - identifiers: self.identifiers.clone(), - types: self.types.clone(), - scopes: self.scopes.clone(), - functions: self.functions.clone(), - errors: CompilerError::new(), - fn_type, - output_mode: self.output_mode, - code: self.code, - filename: self.filename, - instrument_fn_name: self.instrument_fn_name, - instrument_gating_name: self.instrument_gating_name, - hook_guard_name: self.hook_guard_name, - renames: AstAlloc::vec(), - reference_node_ids: HashSet::new(), - hoisted_identifiers: HashSet::new(), - validate_preserve_existing_memoization_guarantees: self - .validate_preserve_existing_memoization_guarantees, - validate_no_set_state_in_render: self.validate_no_set_state_in_render, - enable_preserve_existing_memoization_guarantees: self - .enable_preserve_existing_memoization_guarantees, - globals: self.globals.clone(), - shapes: self.shapes.clone(), - module_types: self.module_types.clone(), - module_type_errors: self.module_type_errors.clone(), - config: self.config.clone(), - default_nonmutating_hook: self.default_nonmutating_hook.clone(), - default_mutating_hook: self.default_mutating_hook.clone(), - outlined_functions: AstAlloc::vec(), - uid_known_names: self.uid_known_names.clone(), - } - } - pub fn next_block_id(&mut self) -> BlockId { let id = BlockId(self.next_block_id_counter); self.next_block_id_counter += 1; @@ -632,46 +585,6 @@ impl Environment { Ok(None) } - /// Get the type of a numeric property on a receiver type. - /// Ported from the numeric branch of TS `getPropertyType`. - pub fn get_property_type_numeric( - &self, - receiver: &Type, - ) -> Result, CompilerDiagnostic> { - let shape_id = match receiver { - Type::Object { shape_id } | Type::Function { shape_id, .. } => shape_id.as_deref(), - _ => None, - }; - if let Some(shape_id) = shape_id { - let shape = self - .shapes - .get(shape_id) - .ok_or_else(|| shape_not_found(shape_id))?; - return Ok(shape.properties.get("*").cloned()); - } - Ok(None) - } - - /// Get the fallthrough (wildcard `*`) property type for computed property access. - /// Ported from TS `getFallthroughPropertyType`. - pub fn get_fallthrough_property_type( - &self, - receiver: &Type, - ) -> Result, CompilerDiagnostic> { - let shape_id = match receiver { - Type::Object { shape_id } | Type::Function { shape_id, .. } => shape_id.as_deref(), - _ => None, - }; - if let Some(shape_id) = shape_id { - let shape = self - .shapes - .get(shape_id) - .ok_or_else(|| shape_not_found(shape_id))?; - return Ok(shape.properties.get("*").cloned()); - } - Ok(None) - } - /// Get the function signature for a function type. /// Ported from TS `getFunctionSignature`. pub fn get_function_signature( @@ -904,11 +817,6 @@ impl Environment { &self.outlined_functions } - /// Take the outlined functions, leaving the vec empty. - pub fn take_outlined_functions(&mut self) -> HirVec { - AstAlloc::take(&mut self.outlined_functions) - } - /// Whether memoization is enabled for this compilation. /// Ported from TS `get enableMemoization()` in Environment.ts. /// Returns true for client/lint modes, false for SSR. @@ -927,36 +835,6 @@ impl Environment { } } - // ========================================================================= - // Name resolution helpers - // ========================================================================= - - /// Get the user-visible name for an identifier. - /// - /// First checks the identifier's own name. If None, looks for another - /// identifier with the same `declaration_id` that has a name. This handles - /// SSA identifiers that don't carry names but share a declaration_id with - /// the original named identifier from lowering. - /// - /// This is analogous to `identifierName` on Babel's SourceLocation, - /// which the parser sets on every identifier node. - pub fn identifier_name_for_id(&self, id: IdentifierId) -> Option { - let ident = &self.identifiers[id.0 as usize]; - if let Some(name) = &ident.name { - return Some(StoreStr::new(name.value())); - } - // Fall back: find another identifier with the same declaration_id that has a Named name - let decl_id = ident.declaration_id; - for other in &self.identifiers { - if other.declaration_id == decl_id { - if let Some(IdentifierName::Named(name)) = &other.name { - return Some(*name); - } - } - } - None - } - // ========================================================================= // ID-based type helper methods // =========================================================================