Created attachment 461150 [details] Console log from minimum repro SFSafariViewController WebAssembly regression between iOS 15.5 and 16 beta 3 Website running WebAssembly opened within SFSafariViewController causes error. Minimum repro test: https://5oqkgi.csb.app/ Expectation: The screen shows text with "1+2=3" Result: The screen is blank Console logs from repro (also attached): [Error] Unhandled Promise Rejection: ReferenceError: Can't find variable: WebAssembly (anonymous function) (5oqkgi.csb.app:17) asyncFunctionResume (anonymous function) promiseReactionJobWithoutPromise promiseReactionJob Testing for whether window.WebAssembly was present, shows undefined: > window.WebAssembly < undefined As a result of this bug, Niantic WebAR sites are broken impacting major brands including: Paramount Pictures, Universal Pictures, Marvel, LA Dodgers, MGM, Xbox, & More Example of impacted Paramount Pictures website (Opened in SFSafariViewController): https://whatsmycallsign.com Expected result: After user enters their name, and allows camera permissions, they see their front camera feed with an AR face effect. Actual result on iOS 16 beta 3 SFSafariViewController: User enters their name, and sees an incorrect iOS version message triggered by a caught WebAssembly error
<rdar://problem/97471640>
Thank you for your report! I confirmed this bug and it turned out the SafariViewController side issue. Safari engineer is looking into it ;)
(In reply to Yusuke Suzuki from comment #2) > Thank you for your report! I confirmed this bug and it turned out the > SafariViewController side issue. Safari engineer is looking into it ;) Has this been resolved? I am not seeing this error in beta 7 (20a5356a).
It is fixed in the new betas :), thanks!