Bug 305313
| Summary: | [WebXR] Viewports don't get an initial value until getViewport is called | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sergio Villar Senin <svillar> |
| Component: | WebXR | Assignee: | Sergio Villar Senin <svillar> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | djg, kkinnunen, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
Sergio Villar Senin
The base layer viewports are not properly computed until getViewports() is called. This seems sensible from the JavaScript POV, however it might cause issues in the underlying platforms if a carefully crafted WebXR example is created. If getViewport() is not ever called the viewports won't get a proper value and thus the underlying platforms would get 0x0 sized viewports which in some cases might cause issues.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sergio Villar Senin
Pull request: https://github.com/WebKit/WebKit/pull/56443
EWS
Committed 305565@main (8de7eac55bb0): <https://commits.webkit.org/305565@main>
Reviewed commits have been landed. Closing PR #56443 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/168125694>