Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a297ae2d59542416bd5e042c838b5a4a2882376e
https://github.com/WebKit/WebKit/commit/a297ae2d59542416bd5e042c838b5a4a2882376e
Author: Chris Dumez <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h
Log Message:
-----------
Introduce new WKBundlePageIsClosed() private API
https://bugs.webkit.org/show_bug.cgi?id=307404
rdar://170024652
Reviewed by Per Arne Vollan.
Introduce new WKBundlePageIsClosed() private API in order to address
rdar://169812399. Also do some hardening in existing WKBundlePage API to
guard against the corePage being nullptr (which occurs when the page has
been closed).
* Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageIsClosed):
(WKBundlePageInstallPageOverlay):
(WKBundlePageUninstallPageOverlay):
(WKBundlePageInstallPageOverlayWithAnimation):
(WKBundlePageUninstallPageOverlayWithAnimation):
(WKBundlePageHasLocalDataForURL):
(WKBundlePageSetCaptionDisplayMode):
(WKBundlePageCreateCaptionUserPreferencesTestingModeToken):
* Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:
Canonical link: https://commits.webkit.org/307147@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications