Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 82c23c393f9b9c5226015513aa053b4f8cd61f7e
      
https://github.com/WebKit/WebKit/commit/82c23c393f9b9c5226015513aa053b4f8cd61f7e
  Author: Anthony Tarbinian <[email protected]>
  Date:   2026-04-24 (Fri, 24 Apr 2026)

  Changed paths:
    M LayoutTests/platform/ios-site-isolation/TestExpectations
    M LayoutTests/platform/mac-site-isolation/TestExpectations

  Log Message:
  -----------
  [Site Isolation] http/tests/security/frameNavigation/not-opener.html has 
intentional log diff
https://bugs.webkit.org/show_bug.cgi?id=313262
rdar://175533445

Reviewed by Sihui Liu.

With site isolation enabled,
http/tests/security/frameNavigation/not-opener.html
has an intentional test difference between the output
when run with site isolation disabled. See the following diff:

@@ -1,3 +1,3 @@
-CONSOLE MESSAGE: Unsafe JavaScript attempt to initiate navigation for frame 
with URL 'http://127.0.0.1:8000/security/frameNavigation/resources/ready.html' 
from frame with URL 
'http://localhost:8000/security/frameNavigation/resources/not-opener-helper.html'.
 The frame attempting navigation is neither same-origin with the target, nor is 
it the target's parent or opener.
+CONSOLE MESSAGE: Unsafe JavaScript attempt to initiate navigation for frame 
with URL 'http://127.0.0.1:8000/' from frame with URL 
'http://localhost:8000/security/frameNavigation/resources/not-opener-helper.html'.
 The frame attempting navigation is neither same-origin with the target, nor is 
it the target's parent or opener.

This was an intentional difference caused by 
https://commits.webkit.org/310093@main
since we don't want to allow a web process to access the full URL of a remote 
frame.

Also see https://commits.webkit.org/310523@main

This patch moves http/tests/security/frameNavigation/not-opener.html
to the section of site isolation TestExpectations which cover these
expected differences.

* LayoutTests/platform/ios-site-isolation/TestExpectations:
* LayoutTests/platform/mac-site-isolation/TestExpectations:

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



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

Reply via email to