зеркало из https://github.com/mozilla/gecko-dev.git
Bug 496058 - mochitest-browser-chrome: browser_bookmarksProperties.js times out intermittently, r=enn
This commit is contained in:
Родитель
b8ba42b5d6
Коммит
11bfb6f912
|
@ -599,8 +599,8 @@ function open_properties_dialog() {
|
|||
if (aTopic === "domwindowopened") {
|
||||
ww.unregisterNotification(this);
|
||||
var win = aSubject.QueryInterface(Ci.nsIDOMWindow);
|
||||
win.addEventListener("load", function onLoad(event) {
|
||||
win.removeEventListener("load", onLoad, false);
|
||||
win.addEventListener("focus", function(event) {
|
||||
win.removeEventListener("focus", arguments.callee, false);
|
||||
// Windows has been loaded, execute our test now.
|
||||
executeSoon(function () {
|
||||
// Ensure overlay is loaded
|
||||
|
|
Загрузка…
Ссылка в новой задаче