<?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>255931</bug_id>
          
          <creation_ts>2023-04-25 09:48:55 -0700</creation_ts>
          <short_desc>[ iOS ] 2x imported/w3c/web-platform-tests/screen-orientation are near-constant text failures.</short_desc>
          <delta_ts>2023-04-28 12:09:43 -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>Other</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=255631</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="Bri Harris">bharris9</reporter>
          <assigned_to name="Marcos Caceres">marcosc</assigned_to>
          <cc>marcosc</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>1951087</commentid>
    <comment_count>0</comment_count>
    <who name="Bri Harris">bharris9</who>
    <bug_when>2023-04-25 09:48:55 -0700</bug_when>
    <thetext>The following two tests:

imported/w3c/web-platform-tests/screen-orientation/nested-documents.html
imported/w3c/web-platform-tests/screen-orientation/unlock.html


are near-constant failures on iOS 16. 

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


NESTED DOCUMENT DIFF:
@@ -1,5 +1,7 @@
 
 
+Harness Error (FAIL), message = Test named &apos;Requesting orientation lock from one document cancels the lock request from another document&apos; specified 1 &apos;cleanup&apos; function, and 1 failed.
+
 FAIL Requesting orientation lock from one document cancels the lock request from another document promise_rejects_dom: function &quot;function () { throw e }&quot; threw object &quot;SecurityError: Locking the screen orientation is only allowed when in fullscreen&quot; that is not a DOMException AbortError: property &quot;code&quot; is equal to 18, expected 20
-FAIL The orientation lock from one document affects lock requests from other documents promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+NOTRUN The orientation lock from one document affects lock requests from other documents


UNLOCK DIFF:
@@ -1,8 +1,9 @@
 
+Harness Error (FAIL), message = Test named &apos;unlock() doesn&apos;t throw when there is no lock with fullscreen&apos; specified 1 &apos;cleanup&apos; function, and 1 failed.
 
 PASS unlock() doesn&apos;t throw when there is no lock
 PASS unlock() returns a void value
 PASS unlock() doesn&apos;t throw when there is no lock with fullscreen
-PASS unlock() aborts a pending lock request
-FAIL unlock() aborts a pending lock request across documents promise_rejects_dom: function &quot;function () { throw e }&quot; threw object &quot;SecurityError: Locking the screen orientation is only allowed when in fullscreen&quot; that is not a DOMException AbortError: property &quot;code&quot; is equal to 18, expected 20
+NOTRUN unlock() aborts a pending lock request
+NOTRUN unlock() aborts a pending lock request across documents</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951088</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-04-25 09:49:29 -0700</bug_when>
    <thetext>&lt;rdar://problem/108508861&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951091</commentid>
    <comment_count>2</comment_count>
    <who name="Bri Harris">bharris9</who>
    <bug_when>2023-04-25 09:52:12 -0700</bug_when>
    <thetext>I was able to replicate these failures on iOS 16 ToT as follows:

run-webkit-tests --iOS-simulator --root imported/w3c/web-platform-tests/screen-orientation/nested-documents.html

run-webkit-tests --iOS-simulator --root imported/w3c/web-platform-tests/screen-orientation/unlock.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951095</commentid>
    <comment_count>3</comment_count>
    <who name="Bri Harris">bharris9</who>
    <bug_when>2023-04-25 10:01:07 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/13155</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951107</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-25 10:31:00 -0700</bug_when>
    <thetext>Test gardening commit 263381@main (e22594d0492e): &lt;https://commits.webkit.org/263381@main&gt;

Reviewed commits have been landed. Closing PR #13155 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951113</commentid>
    <comment_count>5</comment_count>
    <who name="Marcos Caceres">marcosc</who>
    <bug_when>2023-04-25 10:52:14 -0700</bug_when>
    <thetext>Thanks Bri! I&apos;ll take a look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951221</commentid>
    <comment_count>6</comment_count>
    <who name="Marcos Caceres">marcosc</who>
    <bug_when>2023-04-25 17:38:52 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/13185</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951868</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-28 12:09:41 -0700</bug_when>
    <thetext>Committed 263509@main (5eb2125a124b): &lt;https://commits.webkit.org/263509@main&gt;

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

    </bug>

</bugzilla>