Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking, a=blocking-basecamp
authorJustin Lebar <justin.lebar@gmail.com>
Sat, 10 Nov 2012 10:32:37 -0800
changeset 116825 d54f23b093c436b334180cd6dff9983cb88cfc9d
parent 116824 bb4b31442abc3db000f5ecbe73ead4f9a76b6ff6
child 116826 8b57ef499ff92a08b218625e384b845a9acaa14a
push id1708
push userakeybl@mozilla.com
push dateMon, 19 Nov 2012 21:10:21 +0000
treeherdermozilla-beta@27b14fe50103 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssicking, blocking-basecamp
bugs802366
milestone18.0a2
Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking, a=blocking-basecamp
dom/apps/src/Webapps.jsm
--- a/dom/apps/src/Webapps.jsm
+++ b/dom/apps/src/Webapps.jsm
@@ -1829,20 +1829,16 @@ let DOMApplicationRegistry = {
       mm.addMessageListener(msgName, listener);
     });
   },
 
   receiveAppMessage: function(appId, message) {
     switch (message.name) {
       case "Webapps:ClearBrowserData":
         this._clearPrivateData(appId, true);
-        // XXXbent This is a hack until bug 802366 is fixed. Currently all data
-        //         loaded in mozbrowser frames within an app believe that their
-        //         appId is 0.
-        this._clearPrivateData(0, true);
         break;
     }
   },
 
   _clearPrivateData: function(appId, browserOnly) {
     let subject = {
       appId: appId,
       browserOnly: browserOnly,