mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1129406 load event handler should remove itself with proper event name r=smaug
This commit is contained in:
parent
59425c759f
commit
c8bda51c33
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user