Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking
☠☠ backed out by 9c357f7836b4 ☠ ☠
authorJustin Lebar <justin.lebar@gmail.com>
Tue, 30 Oct 2012 15:55:05 -0400
changeset 111935 9b533d393792bd49228908c614619b8a6f115968
parent 111934 a6a847452dbff26ab4dc366102e5af67522cc09e
child 111936 7fa2f2eff658e41e55b3c6a35231afbfad571b7d
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewerssicking
bugs802366
milestone19.0a1
Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking
dom/apps/src/Webapps.jsm
--- a/dom/apps/src/Webapps.jsm
+++ b/dom/apps/src/Webapps.jsm
@@ -1743,20 +1743,16 @@ this.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,