Bug 259202 - [WebXR] Update the algorithm for resolving requested features
Summary: [WebXR] Update the algorithm for resolving requested features
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebXR (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ada Chan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-13 19:24 PDT by Ada Chan
Modified: 2023-07-18 13:53 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ada Chan 2023-07-13 19:24:48 PDT
[WebXR] Update the algorithm for resolving requested features
Comment 1 Radar WebKit Bug Importer 2023-07-13 19:25:08 PDT
<rdar://problem/112239466>
Comment 2 Ada Chan 2023-07-13 19:28:47 PDT
The updated spec no longer automatically sets granted to all the previously enabled features, but rather only add it to granted if it's requested and previously enabled.
See https://immersive-web.github.io/webxr/#resolve-the-requested-features.

Also update the APIUIClient method for requesting XR session permissions
to take in the required and optional features requested by the session
so the client has more information to decide how to present the feature
consent UI to the users.
Comment 4 Ada Chan 2023-07-13 21:23:43 PDT
(In reply to Ada Chan from comment #3)
> Pull request:
> https://stash.sd.apple.com/projects/SAFARI/repos/webkit/pull-requests/11/
> overview

Please disregard this link.
Comment 5 Ada Chan 2023-07-14 02:16:24 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15836
Comment 6 EWS 2023-07-18 13:53:12 PDT
Committed 266137@main (7f4d02174118): <https://commits.webkit.org/266137@main>

Reviewed commits have been landed. Closing PR #15836 and removing active labels.