<?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>288118</bug_id>
          
          <creation_ts>2025-02-20 10:00:44 -0800</creation_ts>
          <short_desc>REGRESSION (289499@main): [ macOS wk2 ] imported/w3c/web-platform-tests/css/selectors/invalidation/fullscreen-pseudo-class-in-has.html is a flaky failure</short_desc>
          <delta_ts>2025-02-21 10:45:33 -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>287679</dup_id>
          
          <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="Karl Rackler">rackler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ben_schwartz</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>2096406</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2025-02-20 10:00:44 -0800</bug_when>
    <thetext>Description:
imported/w3c/web-platform-tests/css/selectors/invalidation/fullscreen-pseudo-class-in-has.html

The test is primarily a flaky failure on Sonoma+ arm64, but there are a few failures on Ventura and x86_64. It appears the test relied on the InjectedBundlePageFullScreenClient that was removed at 289499@main.

289500@main --&gt; Failed
289499@main --&gt; Failed
289498@main --&gt; Passed
289497@main --&gt; Passed

This issue can be bisected to 289499@main using the command: 
run-webkit-tests --release --no-retry --force -f --iterations=1000 imported/w3c/web-platform-tests/css/selectors/invalidation/fullscreen-pseudo-class-in-has.html

History:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fselectors%2Finvalidation%2Ffullscreen-pseudo-class-in-has.html&amp;flavor=wk2&amp;platform=mac

Diff:
@@ -1,5 +1,14 @@
+CONSOLE MESSAGE: Unhandled Promise Rejection: InvalidStateError: The object is in an invalid state.
 This is some text.
+This is going to be fullscreened
+
+Harness Error (FAIL), message = Unhandled rejection: The object is in an invalid state.
 
 PASS :fullscreen pseudo-class invalidation with requestFullscreen + exitFullscreen
-PASS :fullscreen pseudo-class invalidation with requestFullscreen + remove
+TIMEOUT :fullscreen pseudo-class invalidation with requestFullscreen + remove Test timed out
 
+Harness Error (FAIL), message = Unhandled rejection: The object is in an invalid state.
+
+PASS :fullscreen pseudo-class invalidation with requestFullscreen + exitFullscreen
+TIMEOUT :fullscreen pseudo-class invalidation with requestFullscreen + remove Test timed out
+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096407</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-02-20 10:01:23 -0800</bug_when>
    <thetext>&lt;rdar://problem/145227048&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096411</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-20 10:09:23 -0800</bug_when>
    <thetext>Test gardening commit 290721@main (06ed724a37a0): &lt;https://commits.webkit.org/290721@main&gt;

Reviewed commits have been landed. Closing PR #40978 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096449</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2025-02-20 11:33:53 -0800</bug_when>
    <thetext>Description
imported/w3c/web-platform-tests/screen-orientation/orientation-reading.html

imported/w3c/web-platform-tests/screen-orientation/orientation-reading.html is failing at the same regression point.

This issue can be reproduced using command:
run-webkit-tests --release --no-retry --force --iterations=1000 imported/w3c/web-platform-tests/screen-orientation/orientation-reading.html 

History:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fscreen-orientation%2Forientation-reading.html&amp;platform=mac

Diff:
@@ -1,7 +1,7 @@
 
 PASS screen.orientation attributes are present
 PASS Test the orientations and associated angles when the natural orientation is &apos;portrait&apos;
-PASS Test the orientations and associated angles when the natural orientation is &apos;landscape&apos;
+FAIL Test the orientations and associated angles when the natural orientation is &apos;landscape&apos; promise_test: Unhandled rejection with value: object &quot;InvalidStateError: The object is in an invalid state.&quot;
 PASS Test that ScreenOrientation properties are not writable
 PASS Test that ScreenOrientation is always the same object
 FAIL Test that ScreenOrientation&apos;s attribute values change after &apos;change&apos; event fires promise_test: Unhandled rejection with value: object &quot;NotSupportedError: Screen orientation locking is not supported&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096454</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-20 11:43:56 -0800</bug_when>
    <thetext>Test gardening commit 290731@main (8d06d1eee049): &lt;https://commits.webkit.org/290731@main&gt;

Reviewed commits have been landed. Closing PR #40989 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096756</commentid>
    <comment_count>5</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2025-02-21 10:45:33 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>