зеркало из https://github.com/mozilla/gecko-dev.git
Bug 563639 - [Debug] crashtest: intermittent "382778-1.html | timed out waiting for ..." probably caused by "targetDocument.body is null"; r=roc
--HG-- extra : rebase_source : 1c202e9ea2b44a764cd6e0753e8ba79e5c1542a4
This commit is contained in:
Родитель
96c4d56f21
Коммит
714921c7a8
|
@ -9,9 +9,8 @@ function init1()
|
|||
targetIframe = document.createElementNS('http://www.w3.org/1999/xhtml', 'iframe');
|
||||
targetIframe.src = "data:text/html,";
|
||||
targetIframe.setAttribute("style", "width: 700px; height: 500px; border: 1px dotted green;");
|
||||
targetIframe.addEventListener("load", init2, false);
|
||||
document.body.appendChild(targetIframe);
|
||||
|
||||
setTimeout(init2, 100);
|
||||
}
|
||||
|
||||
|
||||
|
@ -27,7 +26,7 @@ function init2()
|
|||
|
||||
targetDocument.designMode = 'on';
|
||||
|
||||
setTimeout(boom, 100);
|
||||
setTimeout(boom, 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче