Bug 1161995 - Update browser_bug538331.js

This commit is contained in:
Dão Gottwald 2015-05-19 14:55:56 +02:00
parent 39dc7cb0f2
commit 9bb2b6c4ba

View File

@ -303,8 +303,7 @@ const BG_NOTIFY_TESTS = [
// _showUpdateNotification in nsBrowserGlue.js
function testShowNotification()
{
let gTestBrowser = gBrowser.selectedBrowser;
let notifyBox = gBrowser.getNotificationBox(gTestBrowser);
let notifyBox = document.getElementById("high-priority-global-notificationbox");
// Catches any windows opened by these tests (e.g. alert windows) and closes
// them