Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e62c8b61b1e2f193986af19fc95211ce32d1fab9
https://github.com/WebKit/WebKit/commit/e62c8b61b1e2f193986af19fc95211ce32d1fab9
Author: Ahmad Saleem <[email protected]>
Date: 2026-01-10 (Sat, 10 Jan 2026)
Changed paths:
A LayoutTests/fast/frames/nested-about-srcdocs-expected.html
A LayoutTests/fast/frames/nested-about-srcdocs.html
M Source/WebCore/html/HTMLFrameOwnerElement.cpp
Log Message:
-----------
Third nested iframe with srcdoc does not render in Safari
https://bugs.webkit.org/show_bug.cgi?id=305276
rdar://167917471
Reviewed by Ryosuke Niwa.
The fix is similar to 305404@main, which was to fix about:blank case,
we had similar issue for about:srcdoc, where isProhibitedSelfReference
incorrectly determines about:srcdoc inside another about:srcdoc as self
referencing.
* Source/WebCore/html/HTMLFrameOwnerElement.cpp:
(WebCore::HTMLFrameOwnerElement::isProhibitedSelfReference const):
* LayoutTests/fast/frames/nested-about-srcdocs-expected.html: Added.
* LayoutTests/fast/frames/nested-about-srcdocs.html: Added.
Canonical link: https://commits.webkit.org/305421@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications