<?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>234436</bug_id>
          
          <creation_ts>2021-12-17 10:19:58 -0800</creation_ts>
          <short_desc>REGRESSION (r287124?): ASSERTION FAILED: addResult3.isNewEntry in WTR::WebNotificationProvider::showWebNotification()</short_desc>
          <delta_ts>2021-12-22 14:04:54 -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>New Bugs</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>234534</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=234370</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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beidson</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1825116</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-12-17 10:19:58 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/notifications/lang.html is flakily failing the following assert on macOS debug bots

ASSERTION FAILED: addResult3.isNewEntry
/Volumes/Data/worker/bigsur-debug/build/Tools/WebKitTestRunner/WebNotificationProvider.cpp(100) : void WTR::WebNotificationProvider::showWebNotification(WKPageRef, WKNotificationRef)
1   0x1052fd6ec WTFCrash
2   0x10494a580 void () block_pointer std::__1::exchange&lt;void () block_pointer, std::nullptr_t&gt;(void () block_pointer&amp;, std::nullptr_t&amp;&amp;)
3   0x104a238fc WTR::WebNotificationProvider::showWebNotification(OpaqueWKPage const*, OpaqueWKNotification const*)
4   0x104a23618 WTR::showWebNotification(OpaqueWKPage const*, OpaqueWKNotification const*, void const*)
5   0x10fddc604 WebKit::WebNotificationProvider::show(WebKit::WebPageProxy&amp;, WebKit::WebNotification&amp;)
6   0x10fdda04c WebKit::WebNotificationManagerProxy::show(WebKit::WebPageProxy*, WebCore::NotificationData const&amp;)
7   0x10faf70c4 WebKit::WebPageProxy::showNotification(WebCore::NotificationData const&amp;)
8   0x10fdd9910 WebKit::WebNotificationManagerMessageHandler::showNotification(WebCore::NotificationData const&amp;)
9   0x10e68a7a4 void IPC::callMemberFunctionImpl&lt;WebKit::NotificationManagerMessageHandler, void (WebKit::NotificationManagerMessageHandler::*)(WebCore::NotificationData const&amp;), std::__1::tuple&lt;WebCore::NotificationData&gt;, 0ul&gt;(WebKit::NotificationManagerMessageHandler*, void (WebKit::NotificationManagerMessageHandler::*)(WebCore::NotificationData const&amp;), std::__1::tuple&lt;WebCore::NotificationData&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt;)
10  0x10e689620 void IPC::callMemberFunction&lt;WebKit::NotificationManagerMessageHandler, void (WebKit::NotificationManagerMessageHandler::*)(WebCore::NotificationData const&amp;), std::__1::tuple&lt;WebCore::NotificationData&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt; &gt;(std::__1::tuple&lt;WebCore::NotificationData&gt;&amp;&amp;, WebKit::NotificationManagerMessageHandler*, void (WebKit::NotificationManagerMessageHandler::*)(WebCore::NotificationData const&amp;))
11  0x10e688080 void IPC::handleMessage&lt;Messages::NotificationManagerMessageHandler::ShowNotification, WebKit::NotificationManagerMessageHandler, void (WebKit::NotificationManagerMessageHandler::*)(WebCore::NotificationData const&amp;)&gt;(IPC::Connection&amp;, IPC::Decoder&amp;, WebKit::NotificationManagerMessageHandler*, void (WebKit::NotificationManagerMessageHandler::*)(WebCore::NotificationData const&amp;))
12  0x10e687c68 WebKit::NotificationManagerMessageHandler::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
13  0x10f44c2c0 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
14  0x10f870084 WebKit::AuxiliaryProcessProxy::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
15  0x10fb2472c WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
16  0x10f4072f4 IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
17  0x10f407a10 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)
18  0x10f4063c4 IPC::Connection::dispatchIncomingMessages()
19  0x10f4279e0 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14::operator()()
20  0x10f4278e8 WTF::Detail::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14, void&gt;::call()
21  0x105327f58 WTF::Function&lt;void ()&gt;::operator()() const
22  0x1053b89e4 WTF::RunLoop::performWork()
23  0x1053bd7b0 WTF::RunLoop::performWork(void*)
24  0x188b72a84 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
25  0x188b729d0 __CFRunLoopDoSource0
26  0x188b726bc __CFRunLoopDoSources0
27  0x188b71044 __CFRunLoopRun
28  0x188b70598 CFRunLoopRunSpecific
29  0x18991a638 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
30  0x1049b4e08 WTR::TestController::platformRunUntil(bool&amp;, WTF::Seconds)
31  0x104968684 WTR::TestController::runUntil(bool&amp;, WTF::Seconds)

https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fnotifications%2Flang.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825117</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-17 10:20:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/86639831&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825138</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-12-17 10:59:01 -0800</bug_when>
    <thetext>It looks like this might be related to https://trac.webkit.org/changeset/287124/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825223</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-12-17 15:39:46 -0800</bug_when>
    <thetext>Also appearing with imported/w3c/web-platform-tests/wasm/serialization/module/serialization-via-notifications-api.any.html

https://results.webkit.org/?suite=layout-tests&amp;test=imported/w3c/web-platform-tests/wasm/serialization/module/serialization-via-notifications-api.any.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1826395</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-12-22 14:04:54 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>