http/wpt/loading/redirect-headers.html is flaky
[WebKit-https.git] / LayoutTests / http / wpt / loading / redirect-headers.html
1 <html>
2 <script>
3 if (window.testRunner) {
4     testRunner.dumpAsText();
5     testRunner.dumpResourceLoadCallbacks();
6     testRunner.dumpAllHTTPRedirectedResponseHeaders();
7     testRunner.waitUntilDone();
8 }
9
10 async function doTest()
11 {
12     const response = await fetch("../beacon/resources/redirect.py?status=302&location=/");
13     await response.text();
14     testRunner.notifyDone();
15 }
16 </script>
17 <body onload="doTest();">
18 </body>
19 </html>