Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 832ae665098cfe68dc899a7dfc5a795cde5ae3dc
      
https://github.com/WebKit/WebKit/commit/832ae665098cfe68dc899a7dfc5a795cde5ae3dc
  Author: Rob Buis <[email protected]>
  Date:   2025-12-06 (Sat, 06 Dec 2025)

  Changed paths:
    M LayoutTests/platform/ios-site-isolation/TestExpectations
    M LayoutTests/platform/mac-site-isolation/TestExpectations
    M Source/WebCore/bindings/js/JSEventTargetCustom.h
    M Source/WebCore/page/DOMWindow.h
    M Source/WebCore/page/LocalDOMWindow.h

  Log Message:
  -----------
  Fix http/tests/security/cross-frame-access-call.html with site isolation 
enabled
https://bugs.webkit.org/show_bug.cgi?id=303095

Reviewed by Chris Dumez.

Fix a casting problem with site-isolation where the dynamicDowncast
to LocalDOMWindow even works for RemoteDOMWindow, by correcting the
type casts for DOMWindow/LocalDOMWindow given an EventTarget.

* LayoutTests/platform/ios-site-isolation/TestExpectations:
* LayoutTests/platform/mac-site-isolation/TestExpectations:
* Source/WebCore/bindings/js/JSEventTargetCustom.h:
(WebCore::IDLOperation<JSEventTarget>::call):
* Source/WebCore/page/DOMWindow.h:
(isType):
* Source/WebCore/page/LocalDOMWindow.h:
(isType):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to