Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 15cade05e54f40feb0b64a3b5b815ed1e1f92dcb
https://github.com/WebKit/WebKit/commit/15cade05e54f40feb0b64a3b5b815ed1e1f92dcb
Author: Sihui Liu <[email protected]>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
Log Message:
-----------
Fix editing/pasteboard/paste-noscript.html crash under Site Isolation
https://bugs.webkit.org/show_bug.cgi?id=301610
Reviewed by Ryosuke Niwa.
When running editing/pasteboard/paste-noscript.html with site isolation on, the
assertion in collectFrameWebArchives
(`RELEASE_ASSERT(result.isNewEntry)`) fails as an iframe is being visited
twice. This is because the frame traveral
does not stay within target frame -- `collectFrameWebArchives` should only
collect archives for descendants of target
frame (including the target frame).
* Source/WebKit/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::collectFrameWebArchives):
Canonical link: https://commits.webkit.org/302316@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications