mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 596522 - fix breakage from bug 578785 and re-enable test_bug510426.xul. a=testfix
This commit is contained in:
parent
f1225a7550
commit
deaba47a34
@ -114,11 +114,11 @@
|
||||
|
||||
newitem.priority = aPriority;
|
||||
if (aPriority >= this.PRIORITY_CRITICAL_LOW)
|
||||
newitem.type = "critical";
|
||||
newitem.setAttribute("type", "critical");
|
||||
else if (aPriority <= this.PRIORITY_INFO_HIGH)
|
||||
newitem.type = "info";
|
||||
newitem.setAttribute("type", "info");
|
||||
else
|
||||
newitem.type = "warning";
|
||||
newitem.setAttribute("type", "warning");
|
||||
|
||||
if (!insertPos) {
|
||||
newitem.style.position = "fixed";
|
||||
|
@ -26,10 +26,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=510426
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function openNotification() {
|
||||
SimpleTest.todo(false, "test disabled, see bug 596522");
|
||||
SimpleTest.finish();
|
||||
return;
|
||||
|
||||
var nb = document.getElementById("nb");
|
||||
var n = nb.appendNotification("Notification", "", null,
|
||||
nb.PRIORITY_WARNING_LOW, [{
|
||||
|
Loading…
Reference in New Issue
Block a user