зеркало из https://github.com/mozilla/pjs.git
Bug 596522 - fix breakage from bug 578785 and re-enable test_bug510426.xul. a=testfix
This commit is contained in:
Родитель
1cc0fe0db8
Коммит
0017a1b17a
|
@ -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, [{
|
||||
|
|
Загрузка…
Ссылка в новой задаче