WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
299934
[WebXR] Warn developer when accessing XRWebGLLayer framebuffer dimensions before first render
https://bugs.webkit.org/show_bug.cgi?id=299934
Summary
[WebXR] Warn developer when accessing XRWebGLLayer framebuffer dimensions bef...
Dan Glastonbury
Reported
2025-09-30 22:35:18 PDT
Add console warnings when developers access framebufferWidth or framebufferHeight properties on XRWebGLLayer before the framebuffer has been properly initialized. This commonly occurs when accessing these properties outside of a requestAnimationFrame callback, where the framebuffer dimensions are not yet available.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-09-30 22:35:25 PDT
<
rdar://problem/161708558
>
Dan Glastonbury
Comment 2
2025-09-30 23:43:59 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/51612
EWS
Comment 3
2025-10-01 23:53:28 PDT
Committed
300864@main
(227c6a7e9cad): <
https://commits.webkit.org/300864@main
> Reviewed commits have been landed. Closing PR #51612 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug