Skip to content

Commit

Permalink
Backout 4e54a6eb43d2 (bug 780686) and f10e4ac36ed2 (bug 772299) due t…
Browse files Browse the repository at this point in the history
…o mochitest-other permaorange on a CLOSED TREE.
  • Loading branch information
rvandermeulen committed Aug 8, 2012
1 parent 8aaf798 commit 88f630d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dom/apps/src/Webapps.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ let DOMApplicationRegistry = {
let clone = {
installOrigin: aApp.installOrigin,
origin: aApp.origin,
receipts: aApp.receipts ? JSON.parse(JSON.stringify(aApp.receipts)) : null,
receipts: aApp.receipts,
installTime: aApp.installTime,
manifestURL: aApp.manifestURL,
progress: aApp.progress || 0.0,
Expand Down
6 changes: 1 addition & 5 deletions toolkit/content/widgets/browser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -447,13 +447,9 @@

<method name="addProgressListener">
<parameter name="aListener"/>
<parameter name="aNotifyMask"/>
<body>
<![CDATA[
if (!aNotifyMask) {
aNotifyMask = Components.interfaces.nsIWebProgress.NOTIFY_ALL;
}
this.webProgress.addProgressListener(aListener, aNotifyMask);
this.webProgress.addProgressListener(aListener, Components.interfaces.nsIWebProgress.NOTIFY_ALL);
]]>
</body>
</method>
Expand Down
4 changes: 2 additions & 2 deletions webapprt/content/webapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.addProgressListener(progressListener,
Ci.nsIWebProgress.NOTIFY_LOCATION);
gAppBrowser.webProgress.
addProgressListener(progressListener,Ci.nsIWebProgress.NOTIFY_LOCATION);
}, "webapprt-test-did-install", false);

// This observer is present for the lifetime of the runtime.
Expand Down
4 changes: 2 additions & 2 deletions webapprt/test/chrome/browser_window-title.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ function test() {
}
};

appBrowser.addProgressListener(progressListener,
Ci.nsIWebProgress.NOTIFY_LOCATION);
appBrowser.webProgress.
addProgressListener(progressListener, Ci.nsIWebProgress.NOTIFY_LOCATION);

function testNext() {
if (!tests.length) {
Expand Down

0 comments on commit 88f630d

Please sign in to comment.