<?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>298222</bug_id>
          
          <creation_ts>2025-09-02 03:06:55 -0700</creation_ts>
          <short_desc>REGRESSION (iOS 18.6): Page load takes ~24s in Safari/WebView</short_desc>
          <delta_ts>2025-09-02 11:21:41 -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>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>297591</dup_id>
          
          <bug_file_loc>dentsplysirona.com/de-de</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Performance</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Neetu">neetu.a.rani</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>deepak.srivastava</cc>
    
    <cc>ganesh.muddliyar</cc>
    
    <cc>koivisto</cc>
    
    <cc>neetu.a.rani</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2140185</commentid>
    <comment_count>0</comment_count>
    <who name="Neetu">neetu.a.rani</who>
    <bug_when>2025-09-02 03:06:55 -0700</bug_when>
    <thetext>Product: WebKit (Safari / iOS)
Version: iOS 18.6 (WebKit 618.x – exact version if possible)
Hardware: iPhone 14 / iOS 18.6 (also reproducible on other iPhones)

Steps to Reproduce

Open Safari on iOS 18.6 (or any WKWebView in an app).

Navigate to [dentsplysirona.com/de-de]

Observe load time and rendering.

Expected Results

Page loads in ~2–3 seconds (normal load time on iOS 18.5 and earlier).

Layout renders progressively, no long blocking tasks.


Actual Results

Page takes ~24 seconds to fully load.

Rendering stalls before first paint.

Same page on iOS 18.5 loads quickly, so this appears to be a regression introduced in 18.6.

Additional Notes- 

Issue affects both Safari and in-app WebViews (WKWebView).

Desktop Safari 18 (macOS) does not show this issue.

Clearing cache/cookies does not help.

Happens consistently across multiple sites with moderate JavaScript and CSS payloads.

Possibly related to JS parsing/render pipeline regression introduced in iOS 18.6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140187</commentid>
    <comment_count>1</comment_count>
    <who name="Neetu">neetu.a.rani</who>
    <bug_when>2025-09-02 04:25:53 -0700</bug_when>
    <thetext>Hi emilio@crisal.io are there any updates?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140244</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-09-02 08:37:56 -0700</bug_when>
    <thetext>*** Bug 298226 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140245</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-09-02 08:41:13 -0700</bug_when>
    <thetext>I can reproduce that the page loads quickly in iOS 18.4.1 (don&apos;t have 18.5 handy). Both iOS 26 and macOS 26 show the same issue which is similar to one reported, except that the page does get some content painted before stalling.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140246</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-02 08:41:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/159670991&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140255</commentid>
    <comment_count>5</comment_count>
    <who name="Ganesh Muddliyar">ganesh.muddliyar</who>
    <bug_when>2025-09-02 09:04:59 -0700</bug_when>
    <thetext>Do we know by when this will be fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140297</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2025-09-02 10:48:47 -0700</bug_when>
    <thetext>The page is spending a lot of time in CSS selector code:

      2405 ???  (in &lt;unknown binary&gt;)  [0x10f644044]
        2405 WebCore::jsDOMTokenListPrototypeFunction_add(JSC::JSGlobalObject*, JSC::CallFrame*)  (in WebCore) + 228  [0x1b54577c4]
          2405 WebCore::DOMTokenList::addInternal(std::span&lt;WTF::AtomString const, 18446744073709551615ul&gt;)  (in WebCore) + 332  [0x1b6b2bd28]
            2405 WebCore::DOMTokenList::updateAssociatedAttributeFromTokens()  (in WebCore) + 612  [0x1b6b2c6c0]
              2405 WebCore::Element::setAttribute(WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, bool)  (in WebCore) + 264  [0x1b68f2fb8]
                2405 WebCore::Element::setAttributeInternal(unsigned int, WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WebCore::Element::InSynchronizationOfLazyAttribute)  (in WebCore) + 564  [0x1b68fda04]
                  1338 WebCore::Style::AttributeChangeInvalidation::invalidateStyle(WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WTF::AtomString const&amp;)  (in WebCore) + 3656  [0x1b7984128]
                  ! 1127 WebCore::CSSSelectorList::makeJoining(WebCore::CSSSelectorList const&amp;, WebCore::CSSSelectorList const&amp;)  (in WebCore) + 200  [0x1b66454c0]
                  ! : 714 WebCore::CSSSelector::CSSSelector(WebCore::CSSSelector const&amp;)  (in WebCore) + 212,216,...  [0x1b4ca3290,0x1b4ca3294,...]
                  ! : 413 WebCore::CSSSelector::CSSSelector(WebCore::CSSSelector const&amp;)  (in WebCore) + 232  [0x1b4ca32a4]
                  ! :   321 WTF::fastMalloc(unsigned long)  (in JavaScriptCore) + 396,12,...  [0x1b098049c,0x1b098031c,...]
                  ! :   49 bmalloc_allocate_casual  (in JavaScriptCore) + 72  [0x1b221fe94]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140312</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2025-09-02 11:21:41 -0700</bug_when>
    <thetext>This was fixed in 299018@main.

*** This bug has been marked as a duplicate of bug 297591 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>