mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 618913 follow-up: fix test_notifications.html failure
This commit is contained in:
parent
b88a1c112f
commit
55a00ede0d
@ -32,7 +32,9 @@ function getPopup(aPopupNote, aKind) {
|
||||
function clickPopupButton(aPopup, aButtonIndex) {
|
||||
ok(true, "Looking for action at index " + aButtonIndex);
|
||||
|
||||
var notifications = aPopup.owner.panel.childNodes;
|
||||
var panel = aPopup.owner.panel.querySelector(".notification-popup-children")
|
||||
|| aPopup.owner.panel;
|
||||
var notifications = panel.childNodes;
|
||||
ok(notifications.length > 0, "at least one notification displayed");
|
||||
ok(true, notifications.length + " notifications");
|
||||
var notification = notifications[0];
|
||||
|
Loading…
Reference in New Issue
Block a user