[iOS] LayoutTest http/tests/quicklook/hide-referer-on-navigation.html is failing
https://bugs.webkit.org/show_bug.cgi?id=184825
<rdar://problem/38924997>

Patch by Sihui Liu <sihui_liu@apple.com> on 2018-04-26
Reviewed by Geoffrey Garen.

Policy decisions are made asynchronously now, so we need to set the async flag of this test.

* http/tests/quicklook/hide-referer-on-navigation.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@231075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 15a27cc..30bd77e 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,15 @@
+2018-04-26  Sihui Liu  <sihui_liu@apple.com>
+
+        [iOS] LayoutTest http/tests/quicklook/hide-referer-on-navigation.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=184825
+        <rdar://problem/38924997>
+
+        Reviewed by Geoffrey Garen.
+
+        Policy decisions are made asynchronously now, so we need to set the async flag of this test. 
+
+        * http/tests/quicklook/hide-referer-on-navigation.html:
+
 2018-04-25  Ryan Haddad  <ryanhaddad@apple.com>
 
         Mark http/tests/workers/worker-importScripts-banned-mimetype.html as flaky.
diff --git a/LayoutTests/http/tests/quicklook/hide-referer-on-navigation.html b/LayoutTests/http/tests/quicklook/hide-referer-on-navigation.html
index 10c3a0a..56ae654 100644
--- a/LayoutTests/http/tests/quicklook/hide-referer-on-navigation.html
+++ b/LayoutTests/http/tests/quicklook/hide-referer-on-navigation.html
@@ -7,10 +7,11 @@
 if (window.testRunner) {
     testRunner.dumpAsText();
     testRunner.dumpChildFramesAsText();
+    testRunner.waitUntilDone();
 }
 </script>
 </head>
-<body onload="runTest(document.querySelector('iframe'))">
+<body onload="runTest(document.querySelector('iframe'), undefined, true /* runAsync */)">
 <p>This test verifies that the HTTP referrer is hidden when navigating from a Microsoft Word QuickLook preview. This test PASSED only if nothing is printed below.</p>
 
 <iframe src="resources/hide-referer-on-navigation.docx"></iframe>