mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
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:
parent
5e0cbf519a
commit
fed90f2879
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user