Bug 1199038 - Increase the timeout in worker test to reduce instability, r=Ms2ger draft
authorJames Graham <james@hoppipolla.co.uk>
Mon, 07 Mar 2016 14:32:47 +0000
changeset 337409 f2e44e03b69d63f077b2766d6681561d895d8685
parent 337389 6cacb08f6f5ca0f3345288c5ed4d707352a22fe9
child 515651 e4d45262bf01ea935cb6af936bcd5bc1e2173331
push id12345
push userbmo:james@hoppipolla.co.uk
push dateMon, 07 Mar 2016 14:33:29 +0000
reviewersMs2ger
bugs1199038
milestone47.0a1
Bug 1199038 - Increase the timeout in worker test to reduce instability, r=Ms2ger MozReview-Commit-ID: 6N3ocuwWpRP
testing/web-platform/tests/workers/semantics/run-a-worker/003.html
--- a/testing/web-platform/tests/workers/semantics/run-a-worker/003.html
+++ b/testing/web-platform/tests/workers/semantics/run-a-worker/003.html
@@ -1,11 +1,8 @@
-<!--
-/*
--->
 <!doctype html>
 <title>handling for 404 response</title>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <div id=log></div>
 <script>
 setup({allow_uncaught_exception: true});
 
@@ -14,14 +11,11 @@ async_test(function() {
   worker.onerror = this.step_func(function(e) { this.done(); });
 }, 'worker');
 
 async_test(function() {
   var shared = new SharedWorker('404_shared');
   // NOTE: this handler will not fire, as runtime scripting errors
   // are not forwarded to SharedWorker objects, but instead reported to the user directly.
   shared.onerror = this.step_func(function(e) { assert_unreached(); }, shared, 'error');
-  setTimeout(this.step_func(function() { this.done(); }), 1000);
+  step_timeout(this.step_func(function() { this.done(); }), 5000);
 }, 'shared');
 </script>
-<!--
-*/
-//-->