<?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>270851</bug_id>
          
          <creation_ts>2024-03-12 06:32:21 -0700</creation_ts>
          <short_desc>REGRESSION(275922@main) fast/css/cssom-mutation-stylerule.html is a constant crash</short_desc>
          <delta_ts>2024-03-12 08:59:03 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>270855</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=270793</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="Vitaly Dyackhov">vitaly</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2020444</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2024-03-12 06:32:21 -0700</bug_when>
    <thetext>#0  0x00007f4c854a7a88 in WebCore::StyleSheetContents::setHasNestingRules() (this=0x0) at /home/vitaly/WebKit/Source/WebCore/css/StyleSheetContents.h:149
#1  0x00007f4c856eb6f3 in operator()() const (__closure=0x7fff02ff3e70) at /home/vitaly/WebKit/Source/WebCore/css/parser/CSSParserImpl.cpp:1359
#2  0x00007f4c856eff69 in WebCore::CSSParserImpl::runInNewNestingContext&lt;WebCore::CSSParserImpl::consumeStyleRule(WebCore::CSSParserTokenRange, WebCore::CSSParserTokenRange)::&lt;lambda()&gt; &gt;(struct {...} &amp;&amp;) (this=0x7fff02ff3fa0, run=...) at /home/vitaly/WebKit/Source/WebCore/css/parser/CSSParserImpl.cpp:642
#3  0x00007f4c856eb9fa in WebCore::CSSParserImpl::consumeStyleRule(WebCore::CSSParserTokenRange, WebCore::CSSParserTokenRange) (this=0x7fff02ff3fa0, prelude=..., block=...) at /home/vitaly/WebKit/Source/WebCore/css/parser/CSSParserImpl.cpp:1343
#4  0x00007f4c856e5582 in WebCore::CSSParserImpl::consumeQualifiedRule(WebCore::CSSParserTokenRange&amp;, WebCore::CSSParserImpl::AllowedRulesType) (this=0x7fff02ff3fa0, range=..., allowedRules=WebCore::CSSParserImpl::AllowImportRules) at /home/vitaly/WebKit/Source/WebCore/css/parser/CSSParserImpl.cpp:507
#5  0x00007f4c856e3d6a in WebCore::CSSParserImpl::parseRule(WTF::String const&amp;, WebCore::CSSParserContext const&amp;, WebCore::StyleSheetContents*, WebCore::CSSParserImpl::AllowedRulesType, WebCore::CSSParserEnum::IsNestedContext) (string=..., context=..., styleSheet=0x0, allowedRules=WebCore::CSSParserImpl::AllowImportRules, isNestedContext=WebCore::CSSParserEnum::IsNestedContext::Yes) at /home/vitaly/WebKit/Source/WebCore/css/parser/CSSParserImpl.cpp:234
#6  0x00007f4c856df18a in WebCore::CSSParser::parseRule(WebCore::CSSParserContext const&amp;, WebCore::StyleSheetContents*, WTF::String const&amp;, WebCore::CSSParserEnum::IsNestedContext) (context=..., sheet=0x0, string=..., isNestedContext=WebCore::CSSParserEnum::IsNestedContext::Yes) at /home/vitaly/WebKit/Source/WebCore/css/parser/CSSParser.cpp:76
#7  0x00007f4c854dfdf0 in WebCore::CSSStyleRule::insertRule(WTF::String const&amp;, unsigned int) (this=0x7f4c6325e880, ruleString=..., index=0) at /home/vitaly/WebKit/Source/WebCore/css/CSSStyleRule.cpp:239
#8  0x00007f4c82b40c54 in WebCore::jsCSSStyleRulePrototypeFunction_insertRuleBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::IDLOperation&lt;WebCore::JSCSSStyleRule&gt;::ClassParameter) (lexicalGlobalObject=0x7f4c1a01d088, callFrame=0x7fff02ff42d0, castedThis=0x7f4c63069348) at /home/vitaly/WebKit/WebKitBuild/WPE/Debug/WebCore/DerivedSources/JSCSSStyleRule.cpp:307
#9  0x00007f4c82b4e889 in WebCore::IDLOperation&lt;WebCore::JSCSSStyleRule&gt;::call&lt;WebCore::jsCSSStyleRulePrototypeFunction_insertRuleBody&gt;(JSC::JSGlobalObject&amp;, JSC::CallFrame&amp;, char const*) (lexicalGlobalObject=..., callFrame=..., operationName=0x7f4c8b747b96 &quot;insertRule&quot;) at /home/vitaly/WebKit/Source/WebCore/bindings/js/JSDOMOperation.h:63
#10 0x00007f4c82b40d0a in WebCore::jsCSSStyleRulePrototypeFunction_insertRule(JSC::JSGlobalObject*, JSC::CallFrame*) (lexicalGlobalObject=0x7f4c1a01d088, callFrame=0x7fff02ff42d0) at /home/vitaly/WebKit/WebKitBuild/WPE/Debug/WebCore/DerivedSources/JSCSSStyleRule.cpp:312
#11 0x00007f4c22a0c038 in  ()
#12 0x00007fff02ff4350 in  ()
#13 0x00007f4c8881601b in op_call_ignore_result_return_location () at /home/vitaly/WebKit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm:1172
#14 0x0000000000000000 in  ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020447</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2024-03-12 06:43:57 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/25773</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020463</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-12 08:33:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/124454677&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020470</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-03-12 08:59:03 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>