<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>309550</bug_id>
          
          <creation_ts>2026-03-09 22:00:27 -0700</creation_ts>
          <short_desc>WebXR AR Session Causes Page Reload and Browser Instability on iOS 26+</short_desc>
          <delta_ts>2026-03-16 03:14:56 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebXR</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 26</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>http.bappy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>djg</cc>
    
    <cc>eddy_wong</cc>
    
    <cc>http.bappy</cc>
    
    <cc>kkinnunen</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2188598</commentid>
    <comment_count>0</comment_count>
    <who name="">http.bappy</who>
    <bug_when>2026-03-09 22:00:27 -0700</bug_when>
    <thetext>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(&quot;immersive-ar&quot;).
• 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2189348</commentid>
    <comment_count>1</comment_count>
    <who name="Dan Glastonbury">djg</who>
    <bug_when>2026-03-11 18:04:25 -0700</bug_when>
    <thetext>rdar://172328177</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2189374</commentid>
    <comment_count>2</comment_count>
    <who name="Dan Glastonbury">djg</who>
    <bug_when>2026-03-11 19:25:15 -0700</bug_when>
    <thetext>Thank you for the bug report but WebXR isn&apos;t supported on iOS devices.

To help me further, which version of iOS 26 was tested and what settings, if any, were changed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2190518</commentid>
    <comment_count>3</comment_count>
    <who name="">http.bappy</who>
    <bug_when>2026-03-16 03:14:24 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2190519</commentid>
    <comment_count>4</comment_count>
    <who name="">http.bappy</who>
    <bug_when>2026-03-16 03:14:56 -0700</bug_when>
    <thetext>(In reply to Dan Glastonbury from comment #2)
&gt; Thank you for the bug report but WebXR isn&apos;t supported on iOS devices.
&gt; 
&gt; To help me further, which version of iOS 26 was tested and what settings, if
&gt; 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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>