[Webkit-unassigned] [Bug 239135] New: WKWebView false positive when testing a.relList.supports("ar"), fails to open USDZ in AR QuickLook

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 12 11:51:10 PDT 2022


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

            Bug ID: 239135
           Summary: WKWebView false positive when testing
                    a.relList.supports("ar"), fails to open USDZ in AR
                    QuickLook
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Major
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mail at milesgreen.net

When testing for AR support within a WKWebView, a.relList.supports("ar") will return true even if the current WKWebView does not handle viewing USDZ files in AR QuickLook.

For example, open the Apple AR QuickLook gallery (https://developer.apple.com/augmented-reality/quick-look/) inside the Facebook / Instagram / LinkedIn native iOS apps (a non-exhaustive list of example apps).

All these apps open external web links in a WKWebView implementation.

All will report a.relList.supports("ar") as true.

However, clicking on <a> tags set with rel="ar" will result in erroneous behaviour, rather than opening the linked USDZ in AR Quick Look.

LinkedIn app attempts to display the USDZ as text.

Instagram app appears to start loading something (visible progress bar along top of page), but never resolves, never displays the USDZ in AR QuickLook. 

Facebook app declares a 'network error' (!).

This makes feature detection unreliable and redundant. 

Ideally, USDZs opened from WKWebView would *always* work and open in AR QuickLook, regardless of app implementation. 

Or, a.relList.supports("ar") in WKWebView should *only* return true if the app has specifically implemented handling USDZ / AR QuickLook.

-- 
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/20220412/b7cd47e7/attachment.htm>


More information about the webkit-unassigned mailing list