Bug #12866 ยป 0001-Additional-logging-and-comment-with-potential-fix.patch
| src/web/skeleton/Boot.js | ||
|---|---|---|
|
(function() {
|
||
|
function doLoad() {
|
||
|
console.log("doLoad called");
|
||
|
console.timeLog("time for setTimeout(doLoad, 0) to call doLoad");
|
||
|
const doc = document, win = window;
|
||
|
try {
|
||
| ... | ... | |
|
}
|
||
|
}
|
||
|
console.log("about to call setTimeout(doLoad, 0)");
|
||
|
console.time("time for setTimeout(doLoad, 0) to call doLoad");
|
||
|
setTimeout(doLoad, 0);
|
||
|
// replace setTimeout above with doLoad() below eliminates two second delay at boot w/FF
|
||
|
// doLoad();
|
||
|
})();
|
||