Attempt to fix Legacy WebKit test failure following r223704
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Oct 2017 21:58:48 +0000 (21:58 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Oct 2017 21:58:48 +0000 (21:58 +0000)
(https://bugs.webkit.org/show_bug.cgi?id=178403)

Call testRunner.setCanOpenWindows() to tell DumpRenderTree to allow the test to open a new window.

* http/tests/security/referrer-policy-subframe-window-open.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@223714 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/security/referrer-policy-subframe-window-open.html

index b61f84e..52a5656 100644 (file)
@@ -1,3 +1,12 @@
+2017-10-19  Daniel Bates  <dabates@apple.com>
+
+        Attempt to fix Legacy WebKit test failure following r223704
+        (https://bugs.webkit.org/show_bug.cgi?id=178403)
+
+        Call testRunner.setCanOpenWindows() to tell DumpRenderTree to allow the test to open a new window.
+
+        * http/tests/security/referrer-policy-subframe-window-open.html:
+
 2017-10-19  Tim Horton  <timothy_horton@apple.com>
 
         Expand r209943 to suppress paste during provisional navigation as well
index a6f3a86..faa8ccf 100644 (file)
@@ -6,6 +6,7 @@
 if (window.testRunner) {
     testRunner.dumpAsText();
     testRunner.waitUntilDone();
+    testRunner.setCanOpenWindows();
 }
 
 function receiveMessage(messageEvent) {