[Webkit-unassigned] [Bug 273598] New: VisionOS JS screen size API returns inconsistent values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 1 17:39:55 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=273598

            Bug ID: 273598
           Summary: VisionOS JS screen size API returns inconsistent
                    values
           Product: WebKit
           Version: Safari 17
          Hardware: Vision Pro
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: odinman08 at me.com

Created attachment 471245

  --> https://bugs.webkit.org/attachment.cgi?id=471245&action=review

Shows Safari JS api sending 1306px × 735px screen size

using https://whatismyviewport.com I checked viewport size and screen size in Safari native VisionOS. 

On one try the screen size was 1306px × 735px. Looking at my site's analytics I could see that screen size for Intel Mac user agent started appearing Feb 2 when Apple Vision Pro launched.

When I reopened safari later the page reported 960px x 540px.

What should the expected resolution for screen size be on a device with not much of a logical "screen." Selfishly I'd like it to be something unique to have a way to track growth of Apple Vision Pro users to make web product decisions around

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240502/d2e8b993/attachment-0001.htm>


More information about the webkit-unassigned mailing list