<?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>242786</bug_id>
          
          <creation_ts>2022-07-14 20:08:50 -0700</creation_ts>
          <short_desc>Assertion failure (!m_invoking) in web-platform-tests/web-animations/interfaces/Animation/commitStyles-crash.html</short_desc>
          <delta_ts>2022-07-17 15:39:16 -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>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=242784</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1883959</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-07-14 20:08:50 -0700</bug_when>
    <thetext>Assertion failure in imported/w3c/web-platform-tests/web-animations/interfaces/Animation/commitStyles-crash.html:

SSERTION FAILED: !m_invoking
./dom/CustomElementReactionQueue.cpp(247) : void WebCore::CustomElementQueue::add(WebCore::Element &amp;)
1   0x452bfb3d9 WTFCrash
2   0x46ff4183b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x47334c53c WebCore::CustomElementQueue::add(WebCore::Element&amp;)
4   0x47334b330 WebCore::CustomElementReactionQueue::enqueueElementOnAppropriateElementQueue(WebCore::Element&amp;)
5   0x47334bd6a WebCore::CustomElementReactionQueue::enqueueAttributeChangedCallbackIfNeeded(WebCore::Element&amp;, WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WTF::AtomString const&amp;)
6   0x47345f353 WebCore::Element::attributeChanged(WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WTF::AtomString const&amp;, WebCore::Element::AttributeModificationReason)
7   0x4735d35c0 WebCore::StyledElement::attributeChanged(WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WTF::AtomString const&amp;, WebCore::Element::AttributeModificationReason)
8   0x47346dec8 WebCore::Element::didModifyAttribute(WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WTF::AtomString const&amp;)
9   0x47345e900 WebCore::Element::setAttributeInternal(unsigned int, WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;, WebCore::Element::SynchronizationOfLazyAttribute)
10  0x473455dbf WebCore::Element::setAttribute(WebCore::QualifiedName const&amp;, WTF::AtomString const&amp;)
11  0x472c29a63 WebCore::WebAnimation::commitStyles()
12  0x471b7a3a6 WebCore::jsWebAnimationPrototypeFunction_commitStylesBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWebAnimation*)::&apos;lambda&apos;()::operator()() const
13  0x471b7a2f1 JSC::JSValue WebCore::toJS&lt;WebCore::IDLUndefined, WebCore::jsWebAnimationPrototypeFunction_commitStylesBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWebAnimation*)::&apos;lambda&apos;()&gt;(JSC::JSGlobalObject&amp;, JSC::ThrowScope&amp;, WebCore::jsWebAnimationPrototypeFunction_commitStylesBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWebAnimation*)::&apos;lambda&apos;()&amp;&amp;)
14  0x471b7a291 WebCore::jsWebAnimationPrototypeFunction_commitStylesBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWebAnimation*)
15  0x471b7a19e long long WebCore::IDLOperation&lt;WebCore::JSWebAnimation&gt;::call&lt;&amp;(WebCore::jsWebAnimationPrototypeFunction_commitStylesBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWebAnimation*)), (WebCore::CastedThisErrorBehavior)0&gt;(JSC::JSGlobalObject&amp;, JSC::CallFrame&amp;, char const*)
16  0x471b77cf4 WebCore::jsWebAnimationPrototypeFunction_commitStyles(JSC::JSGlobalObject*, JSC::CallFrame*)
17  0x337e2480c038</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884533</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-07-15 23:15:49 -0700</bug_when>
    <thetext>This is due to https://github.com/w3c/csswg-drafts/issues/7507</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884536</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-07-16 00:05:33 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/2485</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884649</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-07-17 15:38:33 -0700</bug_when>
    <thetext>Committed 252553@main (5b863a0f9261): &lt;https://commits.webkit.org/252553@main&gt;

Reviewed commits have been landed. Closing PR #2485 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884650</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-17 15:39:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/97164338&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>