<?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>264884</bug_id>
          
          <creation_ts>2023-11-15 09:39:46 -0800</creation_ts>
          <short_desc>REGRESSION (270722@main): [ macOS Debug ] Multiple TestWebKitAPI.WKWebExtension tests are failing</short_desc>
          <delta_ts>2023-11-15 12:22:22 -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=263918</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=264885</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="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Timothy Hatcher">timothy</assigned_to>
          <cc>cdumez</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zdobersek</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1992818</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2023-11-15 09:39:46 -0800</bug_when>
    <thetext>Description:
The following tests are crashing on ToT since 270725@main


api-tests: TestWebKitAPI.WKWebExtensionAPIWindows.Remove 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.CreateWithSpecifiedOptions 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.GoForward
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.ToggleReaderMode
api-tests: TestWebKitAPI.WKWebExtensionAPIWindows.FocusChangedEvent
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.RemoveMultipleTabs 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.Update 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.GoBack
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.QueryWithPrivateAccess 
api-tests: TestWebKitAPI.WKWebExtensionAPIWindows.GetLastFocused 
api-tests: TestWebKitAPI.WKWebExtensionAPIWindows.RemovedEvent 
api-tests: TestWebKitAPI.WKWebExtensionAPIWindows.CreatedEvent 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.DuplicateWithOptions 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.Zoom 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.Get 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.Remove 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.DetachedAndAttachedEvent 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.Create 
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.Duplicate
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.Reload 
api-tests: TestWebKitAPI.WKWebExtensionAPIWindows.GetAll
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.DetectLanguage 
api-tests: TestWebKitAPI.WKWebExtensionAPIWindows.Errors
api-tests: TestWebKitAPI.WKWebExtensionAPITabs.Query 
api-tests: TestWebKitAPI.WKWebExtensionAPIWindows.GetCurrent 
api-tests: TestWebKitAPI.WKWebExtensionAPIExtension.InIncognitoContext 


History:
https://results.webkit.org/?suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;test=TestWebKitAPI.WKWebExtensionAPIExtension.InIncognitoContextWithoutPrivateAccess&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.Create&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.CreateWithRelativeURL&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.CreateWithSpecifiedOptions&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.CreatedEvent&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.DetachedAndAttachedEvent&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.DetectLanguage&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.Duplicate&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.DuplicateWithOptions&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.Get&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.GetCurrent&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.GoBack&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.GoForward&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.Query&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.QueryWithPrivateAccess&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.Reload&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.Remove&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.RemoveMultipleTabs&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.RemovedEvent&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.ToggleReaderMode&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.Update&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.UpdatedEvent&amp;test=TestWebKitAPI.WKWebExtensionAPITabs.Zoom&amp;test=TestWebKitAPI.WKWebExtensionAPIWindows.CreatedEvent&amp;test=TestWebKitAPI.WKWebExtensionAPIWindows.Errors&amp;test=TestWebKitAPI.WKWebExtensionAPIWindows.FocusChangedEvent&amp;test=TestWebKitAPI.WKWebExtensionAPIWindows.GetAll&amp;test=TestWebKitAPI.WKWebExtensionAPIWindows.GetAllWithPrivateAccess&amp;test=TestWebKitAPI.WKWebExtensionAPIWindows.GetCurrent&amp;test=TestWebKitAPI.WKWebExtensionAPIWindows.GetLastFocused&amp;test=TestWebKitAPI.WKWebExtensionAPIWindows.Remove&amp;test=TestWebKitAPI.WKWebExtensionAPIWindows.RemovedEvent</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992819</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-15 09:42:36 -0800</bug_when>
    <thetext>&lt;rdar://problem/118461886&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992820</commentid>
    <comment_count>2</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2023-11-15 09:47:55 -0800</bug_when>
    <thetext>Error logs:


 TestWebKitAPI.WKWebExtensionAPIExtension.InIncognitoContextWithoutPrivateAccess
        *** Terminating app due to uncaught exception &apos;NSInternalInconsistencyException&apos;, reason: &apos;Window returned by windowForWebExtensionContext: does not contain the tab&apos;
        *** First throw call stack:
        (
        	0   CoreFoundation                      0x00000001908a6800 __exceptionPreprocess + 176
        	1   libobjc.A.dylib                     0x000000019039deb4 objc_exception_throw + 60
        	2   CoreFoundation                      0x00000001908a66f0 +[NSException exceptionWithName:reason:userInfo:] + 0
        	3   WebKit                              0x0000000154874a34 _ZNK6WebKit15WebExtensionTab6windowENS0_17SkipContainsCheckE + 624
        	4   WebKit                              0x0000000154873ffc _ZNK6WebKit15WebExtensionTab10parametersEv + 92
        	5   WebKit                              0x000000015477e934 _ZZN6WebKit19WebExtensionContext22didChangeTabPropertiesERNS_15WebExtensionTabEN3WTF9OptionSetINS1_17ChangedPropertiesEEEENK3$_6clEv + 356
        	6   WebKit                              0x000000015477ebd8 _ZZN3WTF11BlockPtrArcIFvvEE12fromCallableIZN6WebKit19WebExtensionContext22didChangeTabPropertiesERNS4_15WebExtensionTabENS_9OptionSetINS6_17ChangedPropertiesEEEE3$_6EES2_T_ENKUlPvE_clESD_ + 32
        	7   WebKit                              0x000000015477ebac _ZZN3WTF11BlockPtrArcIFvvEE12fromCallableIZN6WebKit19WebExtensionContext22didChangeTabPropertiesERNS4_15WebExtensionTabENS_9OptionSetINS6_17ChangedPropertiesEEEE3$_6EES2_T_ENUlPvE_8__invokeESD_ +	8   libdispatch.dylib                   0x00000001905a7910 _dispatch_client_callout + 20
        	9   libdispatch.dylib                   0x00000001905aadc8 _dispatch_continuation_pop + 600
        	10  libdispatch.dylib                   0x00000001905bebe4 _dispatch_source_latch_and_call + 420
        	11  libdispatch.dylib                   0x00000001905bd7b4 _dispatch_source_invoke + 832
        	12  libdispatch.dylib                   0x00000001905b5eb8 _dispatch_main_queue_drain + 744
        	13  libdispatch.dylib                   0x00000001905b5bc0 _dispatch_main_queue_callback_4CF + 44
        	14  CoreFoundation                      0x000000019087315c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
        	15  CoreFoundation                      0x0000000190830a80 __CFRunLoopRun + 1996
        	16  CoreFoundation                      0x000000019082fc5c CFRunLoopRunSpecific + 608
        	17  Foundation                          0x0000000191938a78 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
        	18  TestWebKitAPI                       0x0000000101b2c064 _ZN13TestWebKitAPI4Util3runEPb + 108
        	19  TestWebKitAPI                       0x0000000101b39204 -[TestWebExtensionManager runForTimeInterval:] + 224
        	20  TestWebKitAPI                       0x0000000101905f48 _ZN13TestWebKitAPI70WKWebExtensionAPIExtension_InIncognitoContextWithoutPrivateAccess_Test8TestBodyEv + 2264
        	21  TestWebKitAPI                       0x0000000101c1364c _ZN7testing8internal38HandleSehExceptionsInMethodIfSupportedINS_4TestEvEET0_PT_MS4_FS3_vEPKc + 132
        	22  TestWebKitAPI                       0x0000000101bca85c _ZN7testing8internal35HandleExceptionsInMethodIfSupportedINS_4TestEvEET0_PT_MS4_FS3_vEPKc + 96
        	23  TestWebKitAPI                       0x0000000101bca7ac _ZN7testing4Test3RunEv + 192
        	24  TestWebKitAPI                       0x0000000101bcb814 _ZN7testing8TestInfo3RunEv + 244
        	25  TestWebKitAPI                       0x0000000101bcc984 _ZN7testing9TestSuite3RunEv + 276
        	26  TestWebKitAPI                       0x0000000101bda624 _ZN7testing8internal12UnitTestImpl11RunAllTestsEv + 1008
        	27  TestWebKitAPI                       0x0000000101c13f2c _ZN7testing8internal38HandleSehExceptionsInMethodIfSupportedINS0_12UnitTestImplEbEET0_PT_MS4_FS3_vEPKc + 132
        	28  TestWebKitAPI                       0x0000000101bd9ff8 _ZN7testing8internal35HandleExceptionsInMethodIfSupportedINS0_12UnitTestImplEbEET0_PT_MS4_FS3_vEPKc + 96
        	29  TestWebKitAPI                       0x0000000101bd9ee4 _ZN7testing8UnitTest3RunEv + 216
        	30  TestWebKitAPI                       0x0000000101185318 _Z13RUN_ALL_TESTSv + 16
        	31  TestWebKitAPI                       0x00000001011852ac _ZN13TestWebKitAPI15TestsController3runEiPPc + 156
        	32  TestWebKitAPI                       0x0000000101b9ed58 main + 548
        	33  dyld                                0x00000001903d90e0 start + 2360
        )
        libc++abi: terminating due to uncaught exception of type NSException</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992825</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-11-15 10:10:50 -0800</bug_when>
    <thetext>Looks like a regression from https://commits.webkit.org/270722@main based on the graphs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992826</commentid>
    <comment_count>4</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2023-11-15 10:22:39 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20548</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992855</commentid>
    <comment_count>5</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2023-11-15 12:12:33 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20554</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992861</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-15 12:22:19 -0800</bug_when>
    <thetext>Committed 270783@main (5bb3967aa676): &lt;https://commits.webkit.org/270783@main&gt;

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

    </bug>

</bugzilla>