[Webkit-unassigned] [Bug 236065] New: WebGL tests do not work on iOS devices due to universal access sandbox extension not granted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 3 01:01:06 PST 2022


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

            Bug ID: 236065
           Summary: WebGL tests do not work on iOS devices due to
                    universal access sandbox extension not granted
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com

WebGL tests do not work on iOS devices due to universal access sandbox extension not granted

WTR on macOS and ios-simulator can run a file that loads another file from ../ (iframe, webgl tests). This needs UniversalFileAccess.
WTR on iOS device cannot create a sandbox extension for UniversalFileAccess. UI process will not  try to load the iframe because it does not know that url to be accessible.
Any way to fix the test runner on iOS devices?

WebPageProxy::maybeInitializeSandboxExtensionHandle will ask for universal file url extension, will fail. It will initialize baseurl -based extension, but since the iframe src is not in the base url, this is unused.

WebProcessProxy::checkURLReceivedFromWebProcess checks the iframe source. it will return false.  If the function returns true, the files load fine, so they don’t strictly need any sandbox extension.

-- 
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/20220203/f14bc34e/attachment-0001.htm>


More information about the webkit-unassigned mailing list