Bug 1161995 - Update browser_bug538331.js

This commit is contained in:
Dão Gottwald 2015-05-19 14:55:56 +02:00
parent e8e85fe1e1
commit 8502f6afd4

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