<?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>296566</bug_id>
          
          <creation_ts>2025-07-28 07:35:26 -0700</creation_ts>
          <short_desc>REGRESSION(297543@main): [ iOS Release ] imported/w3c/web-platform-tests/screen-orientation/lock-basic.html is a constant text failure and flakey text failure</short_desc>
          <delta_ts>2026-03-23 08:52:22 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <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="Bryan Medina">bmedina2</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jbedard</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2132861</commentid>
    <comment_count>0</comment_count>
    <who name="Bryan Medina">bmedina2</who>
    <bug_when>2025-07-28 07:35:26 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/screen-orientation/lock-basic.html 

is a constant text failure on iPadOS Release and a flakey text failure on iOS Release.  

HISTORY: 
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fscreen-orientation%2Flock-basic.html  

TEXT DIFF:
--- /Volumes/Data/worker/Apple-iPadOS-18-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/screen-orientation/lock-basic-expected.txt
+++ /Volumes/Data/worker/Apple-iPadOS-18-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/screen-orientation/lock-basic-actual.txt
@@ -1,5 +1,5 @@
 
-PASS Test that screen.orientation.lock returns a promise which will be fulfilled with a void value.
-FAIL Test that screen.orientation.lock returns a pending promise. promise_test: Unhandled rejection with value: object &quot;NotSupportedError: Lock type should be one of { &quot;any&quot;, &quot;natural&quot;, &quot;portrait&quot;, &quot;landscape&quot; }&quot;
+FAIL Test that screen.orientation.lock returns a promise which will be fulfilled with a void value. promise_test: Unhandled rejection with value: object &quot;TypeError: Cannot request fullscreen without transient activation.&quot;
+FAIL Test that screen.orientation.lock returns a pending promise. promise_test: Unhandled rejection with value: object &quot;TypeError: Cannot request fullscreen without transient activation.&quot;
 PASS Test that screen.orientation.lock() is actually async
 


TEXT DIFF URL: https://build.webkit.org/results/Apple-iPadOS-18-Simulator-Release-WK2-Tests/297868@main%20(1575)/imported/w3c/web-platform-tests/screen-orientation/lock-basic-diff.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132862</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-07-28 07:35:54 -0700</bug_when>
    <thetext>&lt;rdar://problem/156914901&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132866</commentid>
    <comment_count>2</comment_count>
    <who name="Bryan Medina">bmedina2</who>
    <bug_when>2025-07-28 07:38:51 -0700</bug_when>
    <thetext>I was able to reproduce the text failure locally on my device running iOS 18 Simulator using the following command:

run-webkit-tests imported/w3c/web-platform-tests/screen-orientation/lock-basic.html --ipad-simulator --iterations=2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132869</commentid>
    <comment_count>3</comment_count>
    <who name="Bryan Medina">bmedina2</who>
    <bug_when>2025-07-28 08:04:55 -0700</bug_when>
    <thetext>Referring to the history, it is shown that the tests were failing somewhere between 297539@main and 297557@main. Using reproduction steps above, I found that the tests were passing at 297542@main, but failed at 297543@main. At this time, I believe that the regression point is 297543@main.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132873</commentid>
    <comment_count>4</comment_count>
    <who name="Bryan Medina">bmedina2</who>
    <bug_when>2025-07-28 08:11:45 -0700</bug_when>
    <thetext>For context, the test is a constant failure on iPadOS, but a flakey failure on iOS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132874</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-07-28 08:16:32 -0700</bug_when>
    <thetext>Test gardening commit 297927@main (65ee64e9b646): &lt;https://commits.webkit.org/297927@main&gt;

Reviewed commits have been landed. Closing PR #48605 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2192128</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2026-03-20 12:31:14 -0700</bug_when>
    <thetext>Test gardening pull request: https://github.com/WebKit/WebKit/pull/61024</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2192773</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-03-23 08:52:02 -0700</bug_when>
    <thetext>Test gardening commit 309760@main (3f706c071a37): &lt;https://commits.webkit.org/309760@main&gt;

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

    </bug>

</bugzilla>