<?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>180760</bug_id>
          
          <creation_ts>2017-12-13 11:20:33 -0800</creation_ts>
          <short_desc>Layout Test fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate.html is flaky</short_desc>
          <delta_ts>2026-01-05 10:15:24 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Matt Lewis">jlewis3</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>aestes</cc>
    
    <cc>ap</cc>
    
    <cc>jacob_uphoff</cc>
    
    <cc>lforschler</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1381208</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-12-13 11:20:33 -0800</bug_when>
    <thetext>The following layout test is flaky on [insert platform]

fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate.html

Probable cause:

I think that this revision is a good place to start as it is dealing with the Policy Delegate a few revisions before the first failure of the test. https://trac.webkit.org/changeset/224758/webkit

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=fast%2Floader%2Fredirect-to-invalid-url-using-meta-refresh-calls-policy-delegate.html

Results:
https://build.webkit.org/results/Apple%20Sierra%20Release%20WK2%20(Tests)/r225841%20(6357)/results.html
https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20(Tests)/builds/6357</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1381210</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-12-13 11:21:47 -0800</bug_when>
    <thetext>(In reply to Matt Lewis from comment #0)
&gt; The following layout test is flaky on [insert platform]
&gt; 
&gt; fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate.
&gt; html
&gt; 
&gt; Probable cause:
&gt; 
&gt; I think that this revision is a good place to start as it is dealing with
&gt; the Policy Delegate a few revisions before the first failure of the test.
&gt; https://trac.webkit.org/changeset/224758/webkit
&gt; 
&gt; Flakiness Dashboard:
&gt; 
&gt; https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.
&gt; html#showAllRuns=true&amp;tests=fast%2Floader%2Fredirect-to-invalid-url-using-
&gt; meta-refresh-calls-policy-delegate.html
&gt; 
&gt; Results:
&gt; https://build.webkit.org/results/Apple%20Sierra%20Release%20WK2%20(Tests)/
&gt; r225841%20(6357)/results.html
&gt; https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20(Tests)/
&gt; builds/6357
platforms would be macOS WK1, High Sierra Leaks and most recently High Sierra Release WK2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409739</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-03-27 17:48:59 -0700</bug_when>
    <thetext>--- /Volumes/Data/slave/sierra-debug-tests-wk1/build/layout-test-results/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk1/build/layout-test-results/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-actual.txt
@@ -1,4 +1,3 @@
-Policy delegate: attempt to load http://a=a&amp;b=b/ with navigation type &apos;other&apos;
 Tests that we do not redirect to an invalid URL initiated by &lt;meta http-equiv=&quot;refresh&quot;&gt;. This test PASSED if you see an entry in the dumped frame load callbacks of the form: &quot;willPerformClientRedirectToURL: http://A=a&amp;B=b&quot; followed by &quot;didCancelClientRedirectForFrame&quot;.
 
 Note, this test must be run in DumpRenderTree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409740</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-03-27 17:49:34 -0700</bug_when>
    <thetext>This test fails alongside fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed-async-delegates.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409741</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-03-27 17:51:19 -0700</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #3)
&gt; This test fails alongside
&gt; fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed-async-
&gt; delegates.html

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=fast%2Floader%2Fredirect-to-invalid-url-using-meta-refresh

All recent failures on macOS are seen with debug WK1 bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1438631</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-07-02 14:30:57 -0700</bug_when>
    <thetext>This is still happening:

https://build.webkit.org/results/Apple%20Sierra%20Debug%20WK1%20(Tests)/r233425%20(8442)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1451227</commentid>
    <comment_count>6</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2018-08-17 14:37:27 -0700</bug_when>
    <thetext>Text Diff of fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate.html:

--- /Volumes/Data/slave/sierra-debug-tests-wk1/build/layout-test-results/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk1/build/layout-test-results/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-actual.txt
@@ -1,4 +1,3 @@
-Policy delegate: attempt to load http://a=a&amp;b=b/ with navigation type &apos;other&apos;
 Tests that we do not redirect to an invalid URL initiated by &lt;meta http-equiv=&quot;refresh&quot;&gt;. This test PASSED if you see an entry in the dumped frame load callbacks of the form: &quot;willPerformClientRedirectToURL: http://A=a&amp;B=b&quot; followed by &quot;didCancelClientRedirectForFrame&quot;.
 
 Note, this test must be run in DumpRenderTree.

text Diff of fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed-async-delegates.html:

--- /Volumes/Data/slave/sierra-debug-tests-wk1/build/layout-test-results/fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed-async-delegates-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk1/build/layout-test-results/fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed-async-delegates-actual.txt
@@ -1,3 +1,4 @@
+Policy delegate: attempt to load http://a=a&amp;b=b/ with navigation type &apos;other&apos;
 main frame - didFinishDocumentLoadForFrame
 main frame - didHandleOnloadEventsForFrame
 main frame - willPerformClientRedirectToURL: http://A=a%25B=b 


Issue causing these two tests to fail in tandem is the first line of output missing from the first test ran by test runner and that line appearing in the second tests output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1611002</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-01-24 23:02:50 -0800</bug_when>
    <thetext>*** Bug 206668 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1611003</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-01-24 23:03:11 -0800</bug_when>
    <thetext>&lt;rdar://problem/58837324&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1611984</commentid>
    <comment_count>9</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2020-01-28 09:23:00 -0800</bug_when>
    <thetext>*** Bug 206668 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2169326</commentid>
    <comment_count>10</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2026-01-05 10:15:24 -0800</bug_when>
    <thetext>Closing old WebKitLegacy bugs as we cut-back WebKitLegacy testing. See https://bugs.webkit.org/show_bug.cgi?id=304436.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>