зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1129406 load event handler should remove itself with proper event name r=smaug
This commit is contained in:
Родитель
09ef68bf15
Коммит
e525b7de36
|
@ -829,7 +829,7 @@ function runUnloadTests1(aNextTest)
|
|||
iframe.addEventListener("load", function () {
|
||||
ok(true, description + "old iframe is restored");
|
||||
// And also restore the iframe information with restored contents.
|
||||
iframe.removeEventListener("DOMContentLoaded", arguments.callee, true);
|
||||
iframe.removeEventListener("load", arguments.callee, true);
|
||||
childWindow = iframe.contentWindow;
|
||||
textareaInFrame = iframe.contentDocument.getElementById("textarea");
|
||||
setTimeout(aNextTest, 0);
|
||||
|
|
Загрузка…
Ссылка в новой задаче