Bug 1306472 followup. Fix the timeout on the html/browsers/browsing-the-web/navigating-across-documents/014.html web platform test. a=bustage
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 13 Oct 2016 14:17:26 -0400
changeset 358333 5e6651e32d271d35974a5eca2e898e7c354b8ea4
parent 358332 09b4ee752f1720c2782318f501f084bbe33175f8
child 358334 1f5f0d39b41a9e073a0841eb3d92cd23df504b29
push id1324
push usermtabara@mozilla.com
push dateMon, 16 Jan 2017 13:07:44 +0000
treeherdermozilla-release@a01c49833940 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1306472
milestone51.0a2
Bug 1306472 followup. Fix the timeout on the html/browsers/browsing-the-web/navigating-across-documents/014.html web platform test. a=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');
 });