Bug 1409289 - Increase magic number delay to satisfy increased WebRender initialization overhead. r=jmaher

MozReview-Commit-ID: GIZvMxpOwlq

--HG--
extra : rebase_source : b79a8b1595ac19d50fe7fd0ec611144e61226bb9
This commit is contained in:
Kartikaya Gupta 2018-05-15 10:56:14 -04:00
parent 5e0cbf519a
commit fed90f2879

View File

@ -238,7 +238,12 @@ function plInit() {
content.selectedBrowser.messageManager.loadFrameScript("chrome://pageloader/content/tscroll.js", false, true);
content.selectedBrowser.messageManager.loadFrameScript("chrome://pageloader/content/Profiler.js", false, true);
setTimeout(plLoadPage, 100);
// Ensure that any webextensions that need to do setup have a chance
// to do so. e.g. the 'tps' talos test registers a about:tabswitch
// handler during initialization, and if we don't wait for that, then
// attempting to load that URL will result in an error and hang the
// test.
setTimeout(plLoadPage, 2000);
}, 500);
};