Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ce6ba9ee81f8e3f9117dfeca0d166b0956f2c61b
      
https://github.com/WebKit/WebKit/commit/ce6ba9ee81f8e3f9117dfeca0d166b0956f2c61b
  Author: Basuke Suzuki <[email protected]>
  Date:   2025-11-13 (Thu, 13 Nov 2025)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/entries-mainframe-with-iframe-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/entries-mainframe-with-iframe.html

  Log Message:
  -----------
  [Navigation API] Add test verifying main frame navigation.entries() excludes 
iframe history.
https://bugs.webkit.org/show_bug.cgi?id=302354
rdar://156914269

Reviewed by Rupin Mittal.

Add a test to verify that the main frame's navigation.entries() correctly 
excludes history entries
from iframes, as requested in review feedback for 297926@main:
- https://github.com/WebKit/WebKit/pull/48449#discussion_r2227034292

The test performs independent navigations in both the main frame and an iframe, 
then explicitly
verifies that:
- Main frame entries contain only main frame URLs
- Iframe entries contain only iframe URLs
- Entry counts are independent (not combined)
- No cross-contamination occurs between frame histories

* 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/entries-mainframe-with-iframe-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/entries-mainframe-with-iframe.html:
 Added.

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



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

Reply via email to