From 5e9898d8e096d6a0608eb4a828623b195cb95cef Mon Sep 17 00:00:00 2001 From: Myk Melez Date: Tue, 7 Aug 2012 13:55:38 -0700 Subject: [PATCH] bug 772299 - widget's addProgressListener method should pass through aNotifyMask argument; r=gavin --- toolkit/content/widgets/browser.xml | 6 +++++- webapprt/content/webapp.js | 4 ++-- webapprt/test/chrome/browser_window-title.js | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/toolkit/content/widgets/browser.xml b/toolkit/content/widgets/browser.xml index 66eafbc84929..cbd0179aae76 100644 --- a/toolkit/content/widgets/browser.xml +++ b/toolkit/content/widgets/browser.xml @@ -447,9 +447,13 @@ + diff --git a/webapprt/content/webapp.js b/webapprt/content/webapp.js index 632afa997ebc..b5a98eea0bf2 100644 --- a/webapprt/content/webapp.js +++ b/webapprt/content/webapp.js @@ -61,8 +61,8 @@ function onLoad() { // available beforehand. Services.obs.addObserver(function observeOnce(subj, topic, data) { Services.obs.removeObserver(observeOnce, "webapprt-test-did-install"); - gAppBrowser.webProgress. - addProgressListener(progressListener,Ci.nsIWebProgress.NOTIFY_LOCATION); + gAppBrowser.addProgressListener(progressListener, + Ci.nsIWebProgress.NOTIFY_LOCATION); }, "webapprt-test-did-install", false); // This observer is present for the lifetime of the runtime. diff --git a/webapprt/test/chrome/browser_window-title.js b/webapprt/test/chrome/browser_window-title.js index 91c73bad1d67..2e37070fcedd 100644 --- a/webapprt/test/chrome/browser_window-title.js +++ b/webapprt/test/chrome/browser_window-title.js @@ -36,8 +36,8 @@ function test() { } }; - appBrowser.webProgress. - addProgressListener(progressListener, Ci.nsIWebProgress.NOTIFY_LOCATION); + appBrowser.addProgressListener(progressListener, + Ci.nsIWebProgress.NOTIFY_LOCATION); function testNext() { if (!tests.length) {