зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1609475 - Expand on the comment about special behaviour in docshell/test/navigation/file_bug1609475.html, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D64426 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
3cfeb5574f
Коммит
29dd301b29
|
@ -30,7 +30,8 @@
|
|||
// Replace load listener to catch page loads from the session history.
|
||||
ifr.onload = loadListener;
|
||||
// Need to use setTimeout, because triggering loads inside
|
||||
// load event listener has special behavior.
|
||||
// load event listener has special behavior since at the moment
|
||||
// the docshell keeps track of whether it is executing a load handler or not.
|
||||
setTimeout(resolve);
|
||||
}
|
||||
ifr.contentWindow.location.href = "frame2.html";
|
||||
|
|
Загрузка…
Ссылка в новой задаче