Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2163aef4894420c40b06a914a890d79026f85a58
https://github.com/WebKit/WebKit/commit/2163aef4894420c40b06a914a890d79026f85a58
Author: Jean Haberer <[email protected]>
Date: 2026-05-05 (Tue, 05 May 2026)
Changed paths:
M LayoutTests/model-element/immersive/model-element-immersive-basic.html
M Source/WebCore/dom/DocumentImmersive.cpp
Log Message:
-----------
Use `NotAllowedError` for transient activation error during immersive request
https://bugs.webkit.org/show_bug.cgi?id=313676
rdar://175832849
Reviewed by Etienne Segonzac.
TypeError is not the correct exception for a missing user gesture. Use
NotAllowedError, which is the standard exception type for operations
that require transient activation, consistent with the Fullscreen API.
* LayoutTests/model-element/immersive/model-element-immersive-basic.html:
* Source/WebCore/dom/DocumentImmersive.cpp:
(WebCore::DocumentImmersive::requestImmersive):
Canonical link: https://commits.webkit.org/312612@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications