diff --git a/browser/devtools/inspector/test/browser_inspector_bug_566084_location_changed.js b/browser/devtools/inspector/test/browser_inspector_bug_566084_location_changed.js index 8c6a0046ca7..309218051cc 100644 --- a/browser/devtools/inspector/test/browser_inspector_bug_566084_location_changed.js +++ b/browser/devtools/inspector/test/browser_inspector_bug_566084_location_changed.js @@ -25,7 +25,7 @@ function test() { let target = TargetFactory.forTab(gBrowser.selectedTab); let toolbox = gDevTools.getToolbox(target); - notificationBox = toolbox.getNotificationBox(); + notificationBox = gBrowser.getNotificationBox(); notificationBox.addEventListener("AlertActive", alertActive1, false); ok(toolbox, "We have access to the notificationBox");