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 378823 020c55bcd8068648040c2615996e16e3b62bd10c
parent 378822 75ffa3ed13d525f97f23e839a0ebfcbdeabb91ea
child 378824 6106d550ba968098cfb69a427c6dd646935a58d9
push id32442
push userarchaeopteryx@coole-files.de
push dateTue, 05 Sep 2017 09:39:11 +0000
treeherdermozilla-central@35bd47b6e5ac [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");