Bug 825902 - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/inspector/test/browser_inspector_bug_566084_location_changed.js; r=paul
authorGirish Sharma <scrapmachines@gmail.com>
Wed, 02 Jan 2013 21:18:15 +0530
changeset 126688 b8b75a9e321419fdc32ed7cd04faf13e9b79f110
parent 126687 c7d1fb2a2248d83c74ee0f26006c7a434a5f8ea3
child 126689 08e7a043f6b317d01b58722ba39131640ef50d56
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspaul
bugs825902
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 825902 - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/inspector/test/browser_inspector_bug_566084_location_changed.js; r=paul
browser/devtools/inspector/test/browser_inspector_bug_566084_location_changed.js
--- a/browser/devtools/inspector/test/browser_inspector_bug_566084_location_changed.js
+++ b/browser/devtools/inspector/test/browser_inspector_bug_566084_location_changed.js
@@ -20,17 +20,17 @@ function test() {
     let para = content.document.querySelector("p");
     ok(para, "found the paragraph element");
     is(para.textContent, "init", "paragraph content is correct");
 
     inspector.markDirty();
 
     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");
 
     gBrowser.selectedBrowser.addEventListener("load", onPageLoad, true);
 
     content.location = "data:text/html,<div>location change test 1 for " +
       "inspector</div><p>test1</p>";