mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Issue #1787 - Remove nsIAppsService, mozIApplication and mozapp data cleanup.
This commit is contained in:
parent
ef5f052d97
commit
ff89fee91d
43 changed files with 5 additions and 1032 deletions
|
|
@ -601,28 +601,6 @@ SpecialPowersObserverAPI.prototype = {
|
|||
return undefined;
|
||||
}
|
||||
|
||||
case "SPClearAppPrivateData": {
|
||||
let appId = aMessage.data.appId;
|
||||
let browserOnly = aMessage.data.browserOnly;
|
||||
|
||||
let attributes = { appId: appId };
|
||||
if (browserOnly) {
|
||||
attributes.inIsolatedMozBrowser = true;
|
||||
}
|
||||
this._notifyCategoryAndObservers(null,
|
||||
"clear-origin-attributes-data",
|
||||
JSON.stringify(attributes));
|
||||
|
||||
let subject = {
|
||||
appId: appId,
|
||||
browserOnly: browserOnly,
|
||||
QueryInterface: XPCOMUtils.generateQI([Ci.mozIApplicationClearPrivateDataParams])
|
||||
};
|
||||
this._notifyCategoryAndObservers(subject, "webapps-clear-data", null);
|
||||
|
||||
return undefined;
|
||||
}
|
||||
|
||||
default:
|
||||
throw new SpecialPowersError("Unrecognized Special Powers API");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue