mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
Bug 618913 follow-up: fix test_notifications.html failure
This commit is contained in:
parent
4d6492b193
commit
9485c21906
@ -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