Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4bd79fbe48607802bb5a86ff8b991e8ca457c825
      
https://github.com/WebKit/WebKit/commit/4bd79fbe48607802bb5a86ff8b991e8ca457c825
  Author: Alex Christensen <[email protected]>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M LayoutTests/http/tests/site-isolation/window-properties-expected.txt
    M LayoutTests/platform/mac-site-isolation/TestExpectations
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/DerivedSources-input.xcfilelist
    M Source/WebCore/DerivedSources-output.xcfilelist
    M Source/WebCore/DerivedSources.make
    M Source/WebCore/Modules/cache/WindowOrWorkerGlobalScopeCaches.cpp
    M Source/WebCore/Modules/cache/WindowOrWorkerGlobalScopeCaches.h
    M Source/WebCore/Modules/cookie-store/LocalDOMWindow+CookieStore.idl
    M Source/WebCore/Modules/fetch/WindowOrWorkerGlobalScopeFetch.cpp
    M Source/WebCore/Modules/fetch/WindowOrWorkerGlobalScopeFetch.h
    M 
Source/WebCore/Modules/indexeddb/WindowOrWorkerGlobalScopeIndexedDatabase.cpp
    M 
Source/WebCore/Modules/indexeddb/WindowOrWorkerGlobalScopeIndexedDatabase.h
    M Source/WebCore/Modules/speech/LocalDOMWindow+SpeechSynthesis.idl
    M Source/WebCore/Modules/speech/LocalDOMWindowSpeechSynthesis.cpp
    M Source/WebCore/Modules/speech/LocalDOMWindowSpeechSynthesis.h
    M Source/WebCore/Modules/webdatabase/Database.cpp
    M Source/WebCore/Modules/webdatabase/LocalDOMWindow+WebDatabase.idl
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/bindings/js/CommonVM.cpp
    M Source/WebCore/bindings/js/DOMWrapperWorld.cpp
    M Source/WebCore/bindings/js/JSCustomElementInterface.cpp
    M Source/WebCore/bindings/js/JSDOMBindingSecurity.cpp
    M Source/WebCore/bindings/js/JSDOMBindingSecurity.h
    M Source/WebCore/bindings/js/JSDOMBindingSecurityInlines.h
    M Source/WebCore/bindings/js/JSDOMExceptionHandling.cpp
    M Source/WebCore/bindings/js/JSDOMExceptionHandling.h
    M Source/WebCore/bindings/js/JSDOMGlobalObject.cpp
    M Source/WebCore/bindings/js/JSDOMPromise.cpp
    M Source/WebCore/bindings/js/JSDOMPromiseDeferred.cpp
    M Source/WebCore/bindings/js/JSDOMPromiseDeferred.h
    M Source/WebCore/bindings/js/JSDOMWindowBase.cpp
    M Source/WebCore/bindings/js/JSDOMWindowBase.h
    A Source/WebCore/bindings/js/JSDOMWindowCustom.cpp
    A Source/WebCore/bindings/js/JSDOMWindowCustom.h
    M Source/WebCore/bindings/js/JSDOMWindowProperties.cpp
    M Source/WebCore/bindings/js/JSDOMWindowProperties.h
    M Source/WebCore/bindings/js/JSDOMWrapper.cpp
    M Source/WebCore/bindings/js/JSDocumentCustom.cpp
    M Source/WebCore/bindings/js/JSErrorHandler.cpp
    M Source/WebCore/bindings/js/JSEventListener.cpp
    M Source/WebCore/bindings/js/JSEventListener.h
    M Source/WebCore/bindings/js/JSEventTargetCustom.cpp
    M Source/WebCore/bindings/js/JSEventTargetCustom.h
    M Source/WebCore/bindings/js/JSLazyEventListener.cpp
    R Source/WebCore/bindings/js/JSLocalDOMWindowCustom.cpp
    R Source/WebCore/bindings/js/JSLocalDOMWindowCustom.h
    M Source/WebCore/bindings/js/JSLocationCustom.cpp
    M Source/WebCore/bindings/js/JSMessageEventCustom.cpp
    M Source/WebCore/bindings/js/JSNodeCustom.cpp
    R Source/WebCore/bindings/js/JSRemoteDOMWindowBase.cpp
    R Source/WebCore/bindings/js/JSRemoteDOMWindowBase.h
    R Source/WebCore/bindings/js/JSRemoteDOMWindowCustom.cpp
    M Source/WebCore/bindings/js/JSWindowProxy.cpp
    M Source/WebCore/bindings/js/JSWindowProxy.h
    M Source/WebCore/bindings/js/JSXMLDocumentCustom.cpp
    M Source/WebCore/bindings/js/ScheduledAction.cpp
    M Source/WebCore/bindings/js/ScriptCachedFrameData.cpp
    M Source/WebCore/bindings/js/ScriptCachedFrameData.h
    M Source/WebCore/bindings/js/ScriptController.cpp
    M Source/WebCore/bindings/js/ScriptControllerMac.mm
    M Source/WebCore/bindings/js/WebCoreJSClientData.cpp
    M Source/WebCore/bindings/js/WebCoreJSClientData.h
    M Source/WebCore/bindings/js/WindowProxy.cpp
    M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
    M Source/WebCore/bindings/scripts/preprocess-idls.pl
    A Source/WebCore/bindings/scripts/test/DOMWindow.idl
    A Source/WebCore/bindings/scripts/test/JS/JSDOMWindow.cpp
    A Source/WebCore/bindings/scripts/test/JS/JSDOMWindow.h
    A Source/WebCore/bindings/scripts/test/JS/JSDOMWindowConstructors.cpp
    A Source/WebCore/bindings/scripts/test/JS/JSDOMWindowConstructors.h
    R Source/WebCore/bindings/scripts/test/JS/JSLocalDOMWindow.cpp
    R Source/WebCore/bindings/scripts/test/JS/JSLocalDOMWindow.h
    R Source/WebCore/bindings/scripts/test/LocalDOMWindow.idl
    M Source/WebCore/bindings/scripts/test/LocalDOMWindowConstructors.idl
    M Source/WebCore/bindings/scripts/test/SupplementalDependencies.dep
    M Source/WebCore/bridge/objc/WebScriptObject.mm
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/EventTargetFactory.in
    M Source/WebCore/dom/ScriptExecutionContext.cpp
    M Source/WebCore/dom/WindowOrWorkerGlobalScopeTrustedTypes.cpp
    M Source/WebCore/dom/WindowOrWorkerGlobalScopeTrustedTypes.h
    M Source/WebCore/html/HTMLCanvasElement.cpp
    M Source/WebCore/html/PDFDocument.cpp
    M Source/WebCore/inspector/InspectorController.cpp
    M Source/WebCore/inspector/PageDebugger.cpp
    M Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
    M Source/WebCore/inspector/agents/InspectorIndexedDBAgent.cpp
    M Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp
    M Source/WebCore/inspector/agents/InspectorTimelineAgent.cpp
    M Source/WebCore/inspector/agents/page/PageAuditAgent.cpp
    M Source/WebCore/inspector/agents/page/PageDebuggerAgent.cpp
    M Source/WebCore/inspector/agents/page/PageRuntimeAgent.cpp
    M Source/WebCore/page/DOMWindow.cpp
    M Source/WebCore/page/DOMWindow.h
    M Source/WebCore/page/DOMWindow.idl
    M Source/WebCore/page/Frame.cpp
    M Source/WebCore/page/LocalDOMWindow+CSSOM.idl
    M Source/WebCore/page/LocalDOMWindow+CSSOMView.idl
    M Source/WebCore/page/LocalDOMWindow+Compat.idl
    M Source/WebCore/page/LocalDOMWindow+DeviceMotion.idl
    M Source/WebCore/page/LocalDOMWindow+DeviceOrientation.idl
    M Source/WebCore/page/LocalDOMWindow+RequestIdleCallback.idl
    M Source/WebCore/page/LocalDOMWindow+Selection.idl
    M Source/WebCore/page/LocalDOMWindow+VisualViewport.idl
    M Source/WebCore/page/LocalDOMWindow.cpp
    M Source/WebCore/page/LocalDOMWindow.h
    R Source/WebCore/page/LocalDOMWindow.idl
    M Source/WebCore/page/LocalFrame.cpp
    M Source/WebCore/page/PerformanceLogging.cpp
    M Source/WebCore/page/RemoteDOMWindow.cpp
    M Source/WebCore/page/RemoteDOMWindow.h
    R Source/WebCore/page/RemoteDOMWindow.idl
    M Source/WebCore/page/ResourceUsageThread.cpp
    M Source/WebCore/page/cocoa/ResourceUsageOverlayCocoa.mm
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/testing/Internals.h
    M Source/WebCore/testing/Internals.idl
    M Source/WebCore/xml/XMLHttpRequest.cpp
    M Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebProcess.cpp
    M Source/WebKitLegacy/mac/Misc/WebCoreStatistics.mm
    M Source/WebKitLegacy/mac/WebView/WebFrame.mm
    M Source/WebKitLegacy/mac/WebView/WebScriptDebugger.mm
    M Source/WebKitLegacy/mac/WebView/WebView.mm

  Log Message:
  -----------
  Fix bindings security checks of RemoteDOMWindow property access
https://bugs.webkit.org/show_bug.cgi?id=272632
rdar://126419644

Reviewed by Charlie Wolfe.

In order to make more exotic ways of using JS to access properties on 
DOMWindows,
we need to have one IDL for LocalDOMWindow and RemoteDOMWindow that chooses 
which
object type to access properties of at runtime.  I introduced DOMWindowType so 
that
determination can be a well-predicted branch instead of a virtual function call.

This makes http/tests/security/cross-origin-window-property-access.html work 
with
site isolation enabled.  There is a bit of cleanup to do, but this PR is big 
enough.

* LayoutTests/platform/mac-site-isolation/TestExpectations:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Modules/cache/WindowOrWorkerGlobalScopeCaches.cpp:
* Source/WebCore/Modules/cache/WindowOrWorkerGlobalScopeCaches.h:
* Source/WebCore/Modules/cookie-store/LocalDOMWindow+CookieStore.idl:
* Source/WebCore/Modules/fetch/WindowOrWorkerGlobalScopeFetch.cpp:
(WebCore::WindowOrWorkerGlobalScopeFetch::fetch):
* Source/WebCore/Modules/fetch/WindowOrWorkerGlobalScopeFetch.h:
* Source/WebCore/Modules/indexeddb/WindowOrWorkerGlobalScopeIndexedDatabase.cpp:
(WebCore::WindowOrWorkerGlobalScopeIndexedDatabase::indexedDB):
* Source/WebCore/Modules/indexeddb/WindowOrWorkerGlobalScopeIndexedDatabase.h:
* Source/WebCore/Modules/speech/LocalDOMWindow+SpeechSynthesis.idl:
* Source/WebCore/Modules/speech/LocalDOMWindowSpeechSynthesis.cpp:
(WebCore::LocalDOMWindowSpeechSynthesis::LocalDOMWindowSpeechSynthesis):
(WebCore::LocalDOMWindowSpeechSynthesis::from):
(WebCore::LocalDOMWindowSpeechSynthesis::speechSynthesis):
* Source/WebCore/Modules/speech/LocalDOMWindowSpeechSynthesis.h:
* Source/WebCore/Modules/webdatabase/Database.cpp:
* Source/WebCore/Modules/webdatabase/LocalDOMWindow+WebDatabase.idl:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/CommonVM.cpp:
(WebCore::lexicalFrameFromCommonVM):
* Source/WebCore/bindings/js/DOMWrapperWorld.cpp:
* Source/WebCore/bindings/js/JSCustomElementInterface.cpp:
(WebCore::JSCustomElementInterface::upgradeElement):
(WebCore::JSCustomElementInterface::invokeCallback):
* Source/WebCore/bindings/js/JSDOMBindingSecurity.cpp:
(WebCore::remoteFrameAccessError):
(WebCore::reportErrorAccessingRemoteFrame):
(WebCore::BindingSecurity::shouldAllowAccessToDOMWindow):
* Source/WebCore/bindings/js/JSDOMBindingSecurity.h:
* Source/WebCore/bindings/js/JSDOMBindingSecurityInlines.h:
(WebCore::BindingSecurity::shouldAllowAccessToDOMWindow):
* Source/WebCore/bindings/js/JSDOMExceptionHandling.cpp:
(WebCore::reportException):
* Source/WebCore/bindings/js/JSDOMGlobalObject.cpp:
(WebCore::JSDOMGlobalObject::scriptExecutionContext const):
(WebCore::scriptModuleLoader):
(WebCore::toJSDOMGlobalObject):
* Source/WebCore/bindings/js/JSDOMPromise.cpp:
* Source/WebCore/bindings/js/JSDOMPromiseDeferred.cpp:
* Source/WebCore/bindings/js/JSDOMPromiseDeferred.h:
* Source/WebCore/bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::JSDOMWindowBase):
(WebCore::JSDOMWindowBase::finishCreation):
(WebCore::JSDOMWindowBase::updateDocument):
(WebCore::JSDOMWindowBase::scriptExecutionContext const):
(WebCore::JSDOMWindowBase::printErrorMessage const):
(WebCore::JSDOMWindowBase::currentScriptExecutionOwner):
(WebCore::JSDOMWindowBase::reportViolationForUnsafeEval):
(WebCore::toJS):
(WebCore::toJSDOMWindow):
(WebCore::incumbentDOMWindow):
(WebCore::activeDOMWindow):
(WebCore::firstDOMWindow):
(WebCore::legacyActiveDOMWindowForAccessor):
(WebCore::toJSLocalDOMWindow): Deleted.
* Source/WebCore/bindings/js/JSDOMWindowBase.h:
(WebCore::toJS):
(WebCore::toJSDOMWindow):
(WebCore::toJSLocalDOMWindow): Deleted.
* Source/WebCore/bindings/js/JSDOMWindowCustom.cpp: Added.
(WebCore::JSDOMWindow::visitAdditionalChildren):
(WebCore::JSC_DEFINE_CUSTOM_GETTER):
(WebCore::allowsLegacyExpandoIndexedProperties):
(WebCore::jsDOMWindowGetOwnPropertySlotRestrictedAccess):
(WebCore::handleCommonCrossOriginProperties):
(WebCore::JSDOMWindow::getOwnPropertySlot):
(WebCore::JSDOMWindow::getOwnPropertySlotByIndex):
(WebCore::JSDOMWindow::put):
(WebCore::JSDOMWindow::putByIndex):
(WebCore::JSDOMWindow::deleteProperty):
(WebCore::JSDOMWindow::deletePropertyByIndex):
(WebCore::JSDOMWindow::analyzeHeap):
(WebCore::addCrossOriginPropertyNames):
(WebCore::addCrossOriginOwnPropertyNames):
(WebCore::addScopedChildrenIndexes):
(WebCore::JSDOMWindow::getOwnPropertyNames):
(WebCore::JSDOMWindow::defineOwnProperty):
(WebCore::JSDOMWindow::getPrototype):
(WebCore::JSDOMWindow::preventExtensions):
(WebCore::JSDOMWindow::event const):
(WebCore::DialogHandler::DialogHandler):
(WebCore::DialogHandler::dialogCreated):
(WebCore::DialogHandler::returnValue const):
(WebCore::JSC_DEFINE_HOST_FUNCTION):
(WebCore::JSDOMWindow::queueMicrotask):
(WebCore::JSDOMWindow::toWrapped):
(WebCore::JSDOMWindow::setOpener):
(WebCore::JSDOMWindow::self const):
(WebCore::JSDOMWindow::window const):
(WebCore::JSDOMWindow::frames const):
(WebCore::jsDOMWindowInstanceFunction_openDatabaseBody):
(WebCore::JSDOMWindow::openDatabase const):
(WebCore::JSDOMWindow::setOpenDatabase):
(WebCore::mainWorldGlobalObject):
* Source/WebCore/bindings/js/JSDOMWindowCustom.h: Renamed from 
Source/WebCore/bindings/js/JSLocalDOMWindowCustom.h.
(WebCore::asJSDOMWindow):
(WebCore::mainWorldGlobalObject):
* Source/WebCore/bindings/js/JSDOMWindowProperties.cpp:
(WebCore::JSDOMWindowProperties::getOwnPropertySlot):
* Source/WebCore/bindings/js/JSDOMWindowProperties.h:
* Source/WebCore/bindings/js/JSDOMWrapper.cpp:
(WebCore::JSDOMObject::JSDOMObject):
* Source/WebCore/bindings/js/JSDocumentCustom.cpp:
(WebCore::cachedDocumentWrapper):
* Source/WebCore/bindings/js/JSErrorHandler.cpp:
(WebCore::JSErrorHandler::handleEvent):
* Source/WebCore/bindings/js/JSEventListener.cpp:
(WebCore::JSEventListener::handleEvent):
* Source/WebCore/bindings/js/JSEventListener.h:
(WebCore::windowEventHandlerAttribute):
(WebCore::setWindowEventHandlerAttribute):
* Source/WebCore/bindings/js/JSEventTargetCustom.cpp:
(WebCore::JSEventTarget::toWrapped):
(WebCore::jsEventTargetCast):
* Source/WebCore/bindings/js/JSEventTargetCustom.h:
* Source/WebCore/bindings/js/JSLazyEventListener.cpp:
(WebCore::JSLazyEventListener::initializeJSFunction const):
(WebCore::JSLazyEventListener::create):
* Source/WebCore/bindings/js/JSLocationCustom.cpp:
(WebCore::getOwnPropertySlotCommon):
* Source/WebCore/bindings/js/JSMessageEventCustom.cpp:
* Source/WebCore/bindings/js/JSNodeCustom.cpp:
* Source/WebCore/bindings/js/JSRemoteDOMWindowBase.cpp: Removed.
* Source/WebCore/bindings/js/JSRemoteDOMWindowBase.h: Removed.
* Source/WebCore/bindings/js/JSRemoteDOMWindowCustom.cpp: Removed.
* Source/WebCore/bindings/js/JSWindowProxy.cpp:
(WebCore::JSWindowProxy::setWindow):
(WebCore::JSWindowProxy::wrapped const):
* Source/WebCore/bindings/js/JSWindowProxy.h:
* Source/WebCore/bindings/js/JSXMLDocumentCustom.cpp:
* Source/WebCore/bindings/js/ScheduledAction.cpp:
(WebCore::ScheduledAction::execute):
* Source/WebCore/bindings/js/ScriptCachedFrameData.cpp:
(WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
* Source/WebCore/bindings/js/ScriptCachedFrameData.h:
* Source/WebCore/bindings/js/ScriptController.cpp:
(WebCore::ScriptController::initScriptForWindowProxy):
(WebCore::ScriptController::updateDocument):
* Source/WebCore/bindings/js/ScriptControllerMac.mm:
* Source/WebCore/bindings/js/WebCoreJSClientData.cpp:
(WebCore::JSHeapData::JSHeapData):
(WebCore::JSVMClientData::overrideSourceURL const):
* Source/WebCore/bindings/js/WebCoreJSClientData.h:
* Source/WebCore/bindings/js/WindowProxy.cpp:
(WebCore::WindowProxy::setDOMWindow):
* Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:
(IsDOMGlobalObject):
(GenerateHeader):
(GenerateOverloadDispatcher):
(GenerateRuntimeEnableConditionalString):
(GenerateImplementation):
(GenerateAttributeGetterBodyDefinition):
(GenerateAttributeSetterBodyDefinition):
(GenerateOperationBodyDefinition):
* Source/WebCore/bridge/objc/WebScriptObject.mm:
(WebCore::addExceptionToConsole):
* Source/WebCore/dom/Document.cpp:
* Source/WebCore/dom/EventTargetFactory.in:
* Source/WebCore/dom/ScriptExecutionContext.cpp:
* Source/WebCore/dom/WindowOrWorkerGlobalScopeTrustedTypes.cpp:
(WebCore::WindowOrWorkerGlobalScopeTrustedTypes::trustedTypes):
* Source/WebCore/dom/WindowOrWorkerGlobalScopeTrustedTypes.h:
* Source/WebCore/html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::getContext):
* Source/WebCore/inspector/InspectorController.cpp:
(WebCore::InspectorController::canAccessInspectedScriptState const):
* Source/WebCore/inspector/PageDebugger.cpp:
* Source/WebCore/inspector/agents/InspectorDOMAgent.cpp:
* Source/WebCore/inspector/agents/InspectorIndexedDBAgent.cpp:
* Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp:
* Source/WebCore/inspector/agents/InspectorTimelineAgent.cpp:
* Source/WebCore/inspector/agents/page/PageAuditAgent.cpp:
* Source/WebCore/inspector/agents/page/PageDebuggerAgent.cpp:
* Source/WebCore/inspector/agents/page/PageRuntimeAgent.cpp:
* Source/WebCore/page/DOMWindow.cpp:
(WebCore::DOMWindow::DOMWindow):
(WebCore::DOMWindow::name const):
(WebCore::DOMWindow::setName):
(WebCore::DOMWindow::status const):
(WebCore::DOMWindow::setStatus):
(WebCore::DOMWindow::length const):
(WebCore::DOMWindow::documentIfLocal):
(WebCore:: const):
(WebCore::DOMWindow::outerHeight const):
(WebCore::DOMWindow::outerWidth const):
(WebCore::DOMWindow::innerHeight const):
(WebCore::DOMWindow::innerWidth const):
(WebCore::DOMWindow::screenX const):
(WebCore::DOMWindow::screenY const):
(WebCore::DOMWindow::screenLeft const):
(WebCore::DOMWindow::screenTop const):
(WebCore::DOMWindow::scrollX const):
(WebCore::DOMWindow::scrollY const):
(WebCore::DOMWindow::offscreenBuffering const):
(WebCore::DOMWindow::devicePixelRatio const):
(WebCore::DOMWindow::origin const):
(WebCore::DOMWindow::isSecureContext const):
(WebCore::DOMWindow::crossOriginIsolated const):
(WebCore::DOMWindow::focus):
(WebCore::DOMWindow::blur):
(WebCore::DOMWindow::print):
(WebCore::DOMWindow::stop):
(WebCore::DOMWindow::postMessage):
(WebCore::DOMWindow::getComputedStyle const):
(WebCore::DOMWindow::matchMedia):
(WebCore::DOMWindow::open):
(WebCore::DOMWindow::alert):
(WebCore::DOMWindow::confirmForBindings):
(WebCore::DOMWindow::prompt):
(WebCore::DOMWindow::captureEvents):
(WebCore::DOMWindow::releaseEvents):
(WebCore::DOMWindow::find const):
(WebCore::DOMWindow::requestAnimationFrame):
(WebCore::DOMWindow::webkitRequestAnimationFrame):
(WebCore::DOMWindow::cancelAnimationFrame):
(WebCore::DOMWindow::requestIdleCallback):
(WebCore::DOMWindow::cancelIdleCallback):
(WebCore::DOMWindow::createImageBitmap):
(WebCore::DOMWindow::getMatchedCSSRules const):
(WebCore::DOMWindow::webkitConvertPointFromPageToNode const):
(WebCore::DOMWindow::webkitConvertPointFromNodeToPage const):
(WebCore::DOMWindow::collectMatchingElementsInFlatTree):
(WebCore::DOMWindow::matchingElementInFlatTree):
(WebCore::DOMWindow::scrollBy const):
(WebCore::DOMWindow::scrollTo const):
(WebCore::DOMWindow::moveBy const):
(WebCore::DOMWindow::moveTo const):
(WebCore::DOMWindow::resizeBy const):
(WebCore::DOMWindow::resizeTo const):
(WebCore::DOMWindow::setTimeout):
(WebCore::DOMWindow::clearTimeout):
(WebCore::DOMWindow::setInterval):
(WebCore::DOMWindow::clearInterval):
(WebCore::DOMWindow::reportError):
(WebCore::DOMWindow::structuredClone):
(WebCore::DOMWindow::btoa):
(WebCore::DOMWindow::atob):
* Source/WebCore/page/DOMWindow.h:
(WebCore::DOMWindow::isLocalDOMWindow const):
(WebCore::DOMWindow::isRemoteDOMWindow const):
* Source/WebCore/page/DOMWindow.idl:
* Source/WebCore/page/Frame.cpp:
(WebCore::Frame::takeWindowProxyFrom):
* Source/WebCore/page/LocalDOMWindow+CSSOM.idl:
* Source/WebCore/page/LocalDOMWindow+CSSOMView.idl:
* Source/WebCore/page/LocalDOMWindow+Compat.idl:
* Source/WebCore/page/LocalDOMWindow+DeviceMotion.idl:
* Source/WebCore/page/LocalDOMWindow+DeviceOrientation.idl:
* Source/WebCore/page/LocalDOMWindow+RequestIdleCallback.idl:
* Source/WebCore/page/LocalDOMWindow+Selection.idl:
* Source/WebCore/page/LocalDOMWindow+VisualViewport.idl:
* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::LocalDOMWindow):
* Source/WebCore/page/LocalDOMWindow.h:
(isType):
* Source/WebCore/page/LocalDOMWindow.idl: Removed.
* Source/WebCore/page/LocalFrame.cpp:
(WebCore::LocalFrame::fromJSContext):
(WebCore::LocalFrame::contentFrameFromWindowOrFrameElement):
* Source/WebCore/page/PerformanceLogging.cpp:
* Source/WebCore/page/RemoteDOMWindow.cpp:
(WebCore::RemoteDOMWindow::RemoteDOMWindow):
(WebCore::RemoteDOMWindow::setOpener):
* Source/WebCore/page/RemoteDOMWindow.h:
* Source/WebCore/page/RemoteDOMWindow.idl: Removed.
* Source/WebCore/page/ResourceUsageThread.cpp:
* Source/WebCore/page/cocoa/ResourceUsageOverlayCocoa.mm:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::windowLocationHost):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:
* Source/WebCore/xml/XMLHttpRequest.cpp:
* Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::reportException):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
* Source/WebKit/WebProcess/WebProcess.cpp:
* Source/WebKitLegacy/mac/Misc/WebCoreStatistics.mm:
* Source/WebKitLegacy/mac/WebView/WebFrame.mm:
(-[WebFrame 
_stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
* Source/WebKitLegacy/mac/WebView/WebScriptDebugger.mm:
(toWebFrame):
* Source/WebKitLegacy/mac/WebView/WebView.mm:
(+[WebView _reportException:inContext:]):

Canonical link: https://commits.webkit.org/277560@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to