mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 1062631 - Handle nuked window references in tilt tests. r=paul
This commit is contained in:
parent
52e67dbdb5
commit
33f4e1dcb0
@ -17,6 +17,10 @@ function notification(win, topic) {
|
||||
}
|
||||
|
||||
let { notification, window } = expected.shift();
|
||||
if (Cu.isDeadWrapper(window)) {
|
||||
// Sometimes we end up with a nuked window reference here :-(
|
||||
return;
|
||||
}
|
||||
is(topic, notification, "Saw the expected notification");
|
||||
is(win, window, "Saw the expected window");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user