<?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>228642</bug_id>
          
          <creation_ts>2021-07-30 07:46:33 -0700</creation_ts>
          <short_desc>imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html is a flaky failure</short_desc>
          <delta_ts>2021-09-20 08:04:58 -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>DOM</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=230011</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="Eric Hutchison">ehutchison</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>ehutchison</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>1780776</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-07-30 07:46:33 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html

is a flaky failure on Mac.

History: https://results.webkit.org/?platform=mac&amp;suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcross-origin-opener-policy%2Fiframe-popup-same-origin-to-unsafe-none.https.html

Results: https://build.webkit.org/results/Apple-BigSur-Release-AppleSilicon-WK2-Tests/r280377%20(2883)/results.html

Diff:
--- /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https-expected.txt
+++ /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https-actual.txt
@@ -1,3 +1,5 @@
+
+Harness Error (TIMEOUT), message = null
 
 FAIL same-origin with SAME_ORIGIN iframe opening popup via window_open a SAME_ORIGIN with COOP: &quot;&quot; assert_equals: opener expected false but got true
 FAIL same-origin with SAME_ORIGIN iframe opening popup via anchor a SAME_ORIGIN with COOP: &quot;&quot; assert_equals: opener expected false but got true
@@ -23,7 +25,7 @@
 FAIL same-origin with CROSS_ORIGIN iframe opening popup via anchor a SAME_SITE with COOP: &quot;&quot; assert_equals: opener expected false but got true
 FAIL same-origin with CROSS_ORIGIN iframe opening popup via form_GET a SAME_SITE with COOP: &quot;&quot; assert_equals: opener expected false but got true
 FAIL same-origin with CROSS_ORIGIN iframe opening popup via form_POST a SAME_SITE with COOP: &quot;&quot; assert_equals: opener expected false but got true
-FAIL same-origin with SAME_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: &quot;&quot; assert_equals: opener expected false but got true
+TIMEOUT same-origin with SAME_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: &quot;&quot; Test timed out
 FAIL same-origin with SAME_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: &quot;&quot; assert_equals: opener expected false but got true
 FAIL same-origin with SAME_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: &quot;&quot; assert_equals: opener expected false but got true
 FAIL same-origin with SAME_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: &quot;&quot; assert_equals: opener expected false but got true

Reproduced using run-webkit-tests -f --iterations 500 --exit-after-n-failures 1 --clobber-old-results imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html on r280377.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1780778</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-07-30 07:47:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/81325260&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1780781</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-07-30 07:53:16 -0700</bug_when>
    <thetext>Updated test expectations at https://trac.webkit.org/changeset/280473/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790185</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-09-03 08:59:08 -0700</bug_when>
    <thetext>Issue affects imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html, imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-same-origin.https.html, and imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html.

History: https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcross-origin-opener-policy%2Fiframe-popup-same-origin-allow-popups-to-same-origin.https.html

Reproduces on r281875.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790187</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-09-03 08:59:58 -0700</bug_when>
    <thetext>*** Bug 228644 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790189</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-09-03 09:00:20 -0700</bug_when>
    <thetext>*** Bug 229509 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790194</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-09-03 09:11:11 -0700</bug_when>
    <thetext>Updated test expectations for imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html at http://trac.webkit.org/changeset/281997/webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790200</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-09-03 09:29:21 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html is also affected.

History: https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcross-origin-opener-policy%2Fiframe-popup-unsafe-none-to-unsafe-none.https.html

Update test expectations at http://trac.webkit.org/changeset/282001/webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790202</commentid>
    <comment_count>8</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-09-03 09:31:29 -0700</bug_when>
    <thetext>Updated diff:

--- /Volumes/Data/worker/bigsur-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https-expected.txt
+++ /Volumes/Data/worker/bigsur-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https-actual.txt
@@ -1,8 +1,10 @@
+
+Harness Error (TIMEOUT), message = null
 
 PASS same-origin-allow-popups with SAME_ORIGIN iframe opening popup via window_open a SAME_ORIGIN with COOP: &quot;same-origin&quot;
 PASS same-origin-allow-popups with SAME_ORIGIN iframe opening popup via anchor a SAME_ORIGIN with COOP: &quot;same-origin&quot;
 PASS same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_GET a SAME_ORIGIN with COOP: &quot;same-origin&quot;
-PASS same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_POST a SAME_ORIGIN with COOP: &quot;same-origin&quot;
+TIMEOUT same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_POST a SAME_ORIGIN with COOP: &quot;same-origin&quot; Test timed out
 PASS same-origin-allow-popups with SAME_SITE iframe opening popup via window_open a SAME_ORIGIN with COOP: &quot;same-origin&quot;
 PASS same-origin-allow-popups with SAME_SITE iframe opening popup via anchor a SAME_ORIGIN with COOP: &quot;same-origin&quot;
 PASS same-origin-allow-popups with SAME_SITE iframe opening popup via form_GET a SAME_ORIGIN with COOP: &quot;same-origin&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790204</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-09-03 09:40:10 -0700</bug_when>
    <thetext>Also, imported/w3c/web-platform-tests/html/cross-origin-opener-policy/javascript-url.https.html appears to be related with similar diff.

History: https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcross-origin-opener-policy%2Fjavascript-url.https.html

Diff: 
--- /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/javascript-url.https-expected.txt
+++ /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/javascript-url.https-actual.txt
@@ -21,6 +21,8 @@
     |  validate    | &lt;--status---+---------------------&apos;
     &apos;--------------&apos;
 
+Harness Error (TIMEOUT), message = null
+
 PASS navigation: SAME_ORIGIN; parentCOOP: unsafe-none; childCOOP: unsafe-none
 PASS navigation: SAME_SITE; parentCOOP: unsafe-none; childCOOP: unsafe-none
 PASS navigation: SAME_ORIGIN; parentCOOP: unsafe-none; childCOOP: same-origin-allow-popups
@@ -36,7 +38,7 @@
 PASS navigation: SAME_ORIGIN; parentCOOP: same-origin; childCOOP: unsafe-none
 PASS navigation: SAME_SITE; parentCOOP: same-origin; childCOOP: unsafe-none
 PASS navigation: SAME_ORIGIN; parentCOOP: same-origin; childCOOP: same-origin-allow-popups
-PASS navigation: SAME_SITE; parentCOOP: same-origin; childCOOP: same-origin-allow-popups
+TIMEOUT navigation: SAME_SITE; parentCOOP: same-origin; childCOOP: same-origin-allow-popups Test timed out
 PASS navigation: SAME_ORIGIN; parentCOOP: same-origin; childCOOP: same-origin
 PASS navigation: SAME_SITE; parentCOOP: same-origin; childCOOP: same-origin
 

Updated test expectations at http://trac.webkit.org/changeset/282002/webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790206</commentid>
    <comment_count>10</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-09-03 09:41:17 -0700</bug_when>
    <thetext>I was able to reproduce with:
run-webkit-tests --debug --force --repeat-each=100 imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html

In my case, the failure was:
-PASS same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_GET a SAME_SITE with COOP: &quot;same-origin&quot;
+TIMEOUT same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_GET a SAME_SITE with COOP: &quot;same-origin&quot; Test timed out

So form_GET instead of form_POST.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790324</commentid>
    <comment_count>11</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-09-03 13:10:24 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #10)
&gt; I was able to reproduce with:
&gt; run-webkit-tests --debug --force --repeat-each=100
&gt; imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-
&gt; same-origin-allow-popups-to-same-origin.https.html
&gt; 
&gt; In my case, the failure was:
&gt; -PASS same-origin-allow-popups with SAME_ORIGIN iframe opening popup via
&gt; form_GET a SAME_SITE with COOP: &quot;same-origin&quot;
&gt; +TIMEOUT same-origin-allow-popups with SAME_ORIGIN iframe opening popup via
&gt; form_GET a SAME_SITE with COOP: &quot;same-origin&quot; Test timed out
&gt; 
&gt; So form_GET instead of form_POST.

I just updated my checkout and am no longer able to reproduce anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1791013</commentid>
    <comment_count>12</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-09-07 08:10:47 -0700</bug_when>
    <thetext>No failure since 9/3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795085</commentid>
    <comment_count>13</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-09-20 08:04:58 -0700</bug_when>
    <thetext>Unskipped in &lt;https://commits.webkit.org/r282748&gt;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>