Bug 312323

Summary: [WebXR] Add feature flag for XRWebGLBinding
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: WebXRAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Normal CC: djg, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Dan Glastonbury
Reported 2026-04-14 16:01:32 PDT
Work was done in 310069@main to support the WebXR Layers API. This is used by WebGPU and WebGL bindings. For platforms that don't support WebGL bindings, add a feature flag to disable XRWebGLBinding being exposed to the page that is independent of the layers feature flag.
Attachments
Dan Glastonbury
Comment 1 2026-04-14 16:01:46 PDT
Dan Glastonbury
Comment 2 2026-04-14 21:22:31 PDT
After testing on a number of three.js apps, it's best to only enable layer when OpenXR is supported.
Dan Glastonbury
Comment 3 2026-04-14 21:29:40 PDT
EWS
Comment 4 2026-04-14 22:50:00 PDT
Committed 311263@main (114ad783c3f1): <https://commits.webkit.org/311263@main> Reviewed commits have been landed. Closing PR #62792 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.