Bug 1306472 followup. Fix the timeout on the html/browsers/browsing-the-web/navigating-across-documents/014.html web platform test. r=bustage
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 13 Oct 2016 14:17:26 -0400
changeset 424977 9126be480c4594a25352ce6e585fb8b6afe5ef6f
parent 424976 46db039dbe102cf4529df8fe237b20455c3f154d
child 424978 e3f5d150e1baec0ad3289c15e73c7ef816f590cc
push id32314
push userbmo:hiikezoe@mozilla-japan.org
push dateFri, 14 Oct 2016 00:31:54 +0000
reviewersbustage
bugs1306472
milestone52.0a1
Bug 1306472 followup. Fix the timeout on the html/browsers/browsing-the-web/navigating-across-documents/014.html web platform test. r=bustage
testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/014.html
--- a/testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/014.html
+++ b/testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/014.html
@@ -1,15 +1,15 @@
 <!doctype html>
 <title> Link with javascript onclick form submission script order </title>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <div id="log"></div>
 <iframe id="test" name="test"></iframe>
-<form action="javascript:parent.events.push('submit')"></form>
+<form target="test" action="javascript:parent.events.push('submit');"></form>
 <a target="test" onclick="document.forms[0].submit()">Test</a>
 <script>
 var t = async_test(undefined, {timeout:4000});
 var events = [];
 t.step(function() {
   document.getElementsByTagName("a")[0].click();
   events.push('after script');
 });