Bug 1393402 fix intermittent by removing early testing timeout r=mixedpuppy
authorShane Caraveo <scaraveo@mozilla.com>
Sun, 03 Sep 2017 18:09:43 -0700
changeset 428307 020c55bcd8068648040c2615996e16e3b62bd10c
parent 428306 75ffa3ed13d525f97f23e839a0ebfcbdeabb91ea
child 428308 6106d550ba968098cfb69a427c6dd646935a58d9
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmixedpuppy
bugs1393402
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1393402 fix intermittent by removing early testing timeout r=mixedpuppy MozReview-Commit-ID: AAnS9cXlTz0
toolkit/components/extensions/test/mochitest/test_ext_redirect_jar.html
--- a/toolkit/components/extensions/test/mochitest/test_ext_redirect_jar.html
+++ b/toolkit/components/extensions/test/mochitest/test_ext_redirect_jar.html
@@ -54,17 +54,16 @@ function getExtension() {
       async function testSubFrameResource(tabId, code) {
         let [result] = await browser.tabs.executeScript(tabId, {code: `
           new Promise(resolve => {
             var s = document.createElement('iframe');
             s.src = "/intercept?r=" + Math.random();
             s.onload = () => resolve(['loaded', s.contentWindow.location.href]);
             s.onerror = () => resolve(['error']);
             document.documentElement.appendChild(s);
-            setTimeout(() => resolve(['timed_out']), 5000);
           });`,
         });
         return result;
       }
 
       let tab = await browser.tabs.create({url: "http://mochi.test:8888/tests/toolkit/components/extensions/test/mochitest/file_sample.html"});
       let result = await testSubFrameResource(tab.id);
       browser.test.assertEq("loaded", result[0], "frame 1 loaded");