<?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>264885</bug_id>
          
          <creation_ts>2023-11-15 10:24:50 -0800</creation_ts>
          <short_desc>Regression(270725@main) Many Web extensions API tests are crashing</short_desc>
          <delta_ts>2023-11-15 12:12:11 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Extensions</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=264801</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=264884</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="Chris Dumez">cdumez</reporter>
          <assigned_to name="Timothy Hatcher">timothy</assigned_to>
          <cc>kkinnunen</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zdobersek</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1992827</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-11-15 10:24:50 -0800</bug_when>
    <thetext>Many Web extensions API tests are crashing:
ASSERTION FAILED: !m_storage || isValidOptionSetEnum(e)
        /Volumes/Data/worker/Apple-Sonoma-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/OptionSet.h(140) : WTF::OptionSet&lt;WebKit::WebExtensionWindowTypeFilter&gt;::OptionSet(E) [E = WebKit::WebExtensionWindowTypeFilter]
        1   0x108644a7c WTFCrash
        2   0x1376df800 std::__1::span&lt;unsigned char const, 18446744073709551615ul&gt;::span[abi:v160006]&lt;unsigned char const*&gt;(unsigned char const*, unsigned long)
        3   0x13a14885c WTF::OptionSet&lt;WebKit::WebExtensionWindowTypeFilter&gt;::OptionSet(WebKit::WebExtensionWindowTypeFilter)
        4   0x13a144ca8 WTF::OptionSet&lt;WebKit::WebExtensionWindowTypeFilter&gt;::OptionSet(WebKit::WebExtensionWindowTypeFilter)
        5   0x13a1448c4 WebKit::WebExtensionAPIWindows::parseWindowTypesFilter(NSDictionary*, WTF::OptionSet&lt;WebKit::WebExtensionWindowTypeFilter&gt;&amp;, NSString*, NSString* __autoreleasing*)
        6   0x13a155e5c WebKit::WebExtensionAPIWindowsEvent::addListener(WebKit::WebPage*, WTF::RefPtr&lt;WebKit::WebExtensionCallbackHandler, WTF::RawPtrTraits&lt;WebKit::WebExtensionCallbackHandler&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebExtensionCallbackHandler&gt;&gt;, NSDictionary*, NSString* __autoreleasing*)
        7   0x137c2b1bc WebKit::JSWebExtensionAPIWindowsEvent::addListener(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**)
        8   0x108fb6658 long long JSC::APICallbackFunction::callImpl&lt;JSC::JSCallbackFunction&gt;(JSC::JSGlobalObject*, JSC::CallFrame*)
        9   0x108faec04 JSC::callJSCallbackFunction(JSC::JSGlobalObject*, JSC::CallFrame*)
        10  0x280004030 9   ???                                 0x0000000280004030 0x0 + 10737434672
        11  0x108d3d7bc llint_entry
        12  0x108d174bc vmEntryToJavaScript
        13  0x109ea8278 JSC::Interpreter::executeModuleProgram(JSC::JSModuleRecord*, JSC::ModuleProgramExecutable*, JSC::JSGlobalObject*, JSC::JSModuleEnvironment*, JSC::JSValue, JSC::JSValue)
        14  0x10a3a0dbc JSC::JSModuleRecord::evaluate(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)
        15  0x10a0bafbc JSC::AbstractModuleRecord::evaluate(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)
        16  0x2ccaeb6d8 WebCore::ScriptController::evaluateModule(WTF::URL const&amp;, JSC::AbstractModuleRecord&amp;, WebCore::DOMWrapperWorld&amp;, JSC::JSValue, JSC::JSValue)
        17  0x2ccaeb888 WebCore::ScriptController::evaluateModule(WTF::URL const&amp;, JSC::AbstractModuleRecord&amp;, JSC::JSValue, JSC::JSValue)
        18  0x2ccaf35b8 WebCore::ScriptModuleLoader::evaluate(JSC::JSGlobalObject*, JSC::JSModuleLoader*, JSC::JSValue, JSC::JSValue, JSC::JSValue, JSC::JSValue, JSC::JSValue)
        19  0x2cc9c29f4 WebCore::JSDOMGlobalObject::moduleLoaderEvaluate(JSC::JSGlobalObject*, JSC::JSModuleLoader*, JSC::JSValue, JSC::JSValue, JSC::JSValue, JSC::JSValue, JSC::JSValue)
        20  0x10a39bcd4 JSC::JSModuleLoader::evaluate(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue, JSC::JSValue, JSC::JSValue, JSC::JSValue)
        21  0x10a399760 JSC::moduleLoaderEvaluate(JSC::JSGlobalObject*, JSC::CallFrame*)
        22  0x28000c1fc 21  ???                                 0x000000028000c1fc 0x0 + 10737467900
        23  0x108d3e8d4 llint_entry
        24  0x108d174bc vmEntryToJavaScript
        25  0x109ea64b4 JSC::Interpreter::executeCallImpl(JSC::VM&amp;, JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
        26  0x109ea65a4 JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
        27  0x10a135788 JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
        28  0x10a39ac30 JSC::JSModuleLoader::linkAndEvaluateModule(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)
        29  0x10a16e020 JSC::linkAndEvaluateModule(JSC::JSGlobalObject*, JSC::Identifier const&amp;, JSC::JSValue)
        30  0x2ccaeb358 WebCore::JSExecState::linkAndEvaluateModule(JSC::JSGlobalObject&amp;, JSC::Identifier const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
        31  0x2ccaeb20c WebCore::ScriptController::linkAndEvaluateModuleScriptInWorld(WebCore::LoadableModuleScript&amp;, WebCore::DOMWrapperWorld&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992829</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-11-15 10:28:54 -0800</bug_when>
    <thetext>Might be a dupe of Bug 264884.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992830</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-15 10:30:58 -0800</bug_when>
    <thetext>&lt;rdar://problem/118464397&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992831</commentid>
    <comment_count>3</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2023-11-15 10:32:21 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20548</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992854</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-15 12:12:09 -0800</bug_when>
    <thetext>Committed 270782@main (5effaab5ea00): &lt;https://commits.webkit.org/270782@main&gt;

Reviewed commits have been landed. Closing PR #20548 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>