NEW309550
WebXR AR Session Causes Page Reload and Browser Instability on iOS 26+
https://bugs.webkit.org/show_bug.cgi?id=309550
Summary WebXR AR Session Causes Page Reload and Browser Instability on iOS 26+
http.bappy
Reported 2026-03-09 22:00:27 PDT
On devices running iOS 26+, attempting to start or exit a WebXR immersive-ar session frequently causes the browser to reload the page or crash instead of entering AR mode. The issue occurs across multiple devices and can also be reproduced in other WebXR environments, suggesting a WebKit-level issue rather than an application-specific implementation problem. Steps to Reproduce • Open a webpage that supports WebXR AR functionality. • Tap the button that calls navigator.xr.requestSession("immersive-ar"). • Attempt to enter the AR session. • In some cases, exit the AR session and attempt to re-enter it. • Expected Results • The browser should transition into or out of the immersive AR session without reloading the page or crashing. Actual Results One of the following behaviors occurs: • The page reloads automatically when attempting to enter or exit the AR session. • The browser crashes during AR initialization. • In some cases, the AR session fails to start entirely. Frequency Occurs most of the time across tested devices. Occurs consistently (100%) on iPhone 17 Pro Max. Devices Tested • iPhone 14 Page reload occurs most of the time when triggering AR. • iPhone 14 Pro Page reload occurs most of the time. • iPhone 15 Page reload occurs most of the time. • iPhone 17 Pro Max Page reload occurs consistently on every attempt. iOS Version • iOS 26+ Additional Testing • Mozilla WebXR Viewer (iOS) The same behavior can be reproduced in the application WebXR Viewer. Entering or exiting AR sessions results in the same page reload behavior. • WebXR Sample Projects Testing with WebXR sample projects shows additional instability: The browser crashes most of the time during AR initialization. Some examples fail to launch AR entirely. Three.js AR Examples Testing with AR examples built using Three.js shows: • Many examples fail to enter AR mode. • The AR session either fails to start or the browser becomes unstable. Notes The issue appears to occur during the transition into immersive AR mode. Possible contributing factors may include: • WebGL context reset during AR initialization • GPU resource constraints • Changes in rendering or XR session handling introduced in iOS 26+ Because the behavior can also be reproduced in multiple WebXR environments and sample implementations, the issue does not appear to be specific to a single application implementation. Impact This issue prevents reliable use of WebXR immersive AR sessions on iOS 26+ devices.
Attachments
Dan Glastonbury
Comment 1 2026-03-11 18:04:25 PDT
Dan Glastonbury
Comment 2 2026-03-11 19:25:15 PDT
Thank you for the bug report but WebXR isn't supported on iOS devices. To help me further, which version of iOS 26 was tested and what settings, if any, were changed?
http.bappy
Comment 3 2026-03-16 03:14:24 PDT
Thank you for the response. The devices were tested on iOS 26+ (latest available public builds during testing). No special settings were modified — tests were performed using the default system configuration and standard browser settings. We understand that WebXR is not officially supported on iOS devices. However, we noticed a behavioral change beginning with iOS 26. In earlier versions (iOS 25.x and earlier), while WebXR was still not officially supported, the application did not trigger page reloads or browser crashes during AR initialization. Additionally, the application WebXR Viewer was previously able to run its WebXR-based AR experiences reliably. On iOS 26+, the behavior appears different: Attempting to start an immersive AR session often triggers a page reload. WebXR sample pages frequently cause the browser to crash during initialization. AR examples built using Three.js frequently fail to enter AR mode. Given this change in behavior between iOS 25.x and iOS 26+, we wanted to ask whether any changes were introduced to the rendering pipeline, WebGL handling, or graphics resource management in iOS 26 that could cause WebGL contexts or XR initialization flows to reset or terminate the page. We are trying to understand whether the observed behavior might be related to such changes.
http.bappy
Comment 4 2026-03-16 03:14:56 PDT
(In reply to Dan Glastonbury from comment #2) > Thank you for the bug report but WebXR isn't supported on iOS devices. > > To help me further, which version of iOS 26 was tested and what settings, if > any, were changed? Thank you for the response. The devices were tested on iOS 26+ (latest available public builds during testing). No special settings were modified — tests were performed using the default system configuration and standard browser settings. We understand that WebXR is not officially supported on iOS devices. However, we noticed a behavioral change beginning with iOS 26. In earlier versions (iOS 25.x and earlier), while WebXR was still not officially supported, the application did not trigger page reloads or browser crashes during AR initialization. Additionally, the application WebXR Viewer was previously able to run its WebXR-based AR experiences reliably. On iOS 26+, the behavior appears different: Attempting to start an immersive AR session often triggers a page reload. WebXR sample pages frequently cause the browser to crash during initialization. AR examples built using Three.js frequently fail to enter AR mode. Given this change in behavior between iOS 25.x and iOS 26+, we wanted to ask whether any changes were introduced to the rendering pipeline, WebGL handling, or graphics resource management in iOS 26 that could cause WebGL contexts or XR initialization flows to reset or terminate the page. We are trying to understand whether the observed behavior might be related to such changes.
Note You need to log in before you can comment on or make changes to this bug.