mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1194208 - Remove storage inspector stores-reloaded event. r=mratcliffe
This commit is contained in:
parent
f261560584
commit
7d691d831b
@ -539,10 +539,6 @@ StorageActors.createActor({
|
||||
case "cleared":
|
||||
this.storageActor.update("cleared", "cookies", hosts);
|
||||
break;
|
||||
|
||||
case "reload":
|
||||
this.storageActor.update("reloaded", "cookies", hosts);
|
||||
break;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
@ -2245,11 +2241,11 @@ let StorageActor = protocol.ActorClassWithSpec(specs.storageSpec, {
|
||||
* Where host1, host2 are the host in which this change happened and
|
||||
* [<store_namesX] is an array of the names of the changed store
|
||||
* objects. Leave it empty if the host was completely removed.
|
||||
* When the action is "reloaded" or "cleared", `data` is an array of
|
||||
* hosts for which the stores were cleared or reloaded.
|
||||
* When the action is "cleared", `data` is an array of
|
||||
* hosts for which the stores were cleared.
|
||||
*/
|
||||
update(action, storeType, data) {
|
||||
if (action == "cleared" || action == "reloaded") {
|
||||
if (action == "cleared") {
|
||||
let toSend = {};
|
||||
toSend[storeType] = data;
|
||||
events.emit(this, "stores-" + action, toSend);
|
||||
|
@ -49,8 +49,6 @@ interface nsIChannel;
|
||||
* Note that the array could contain a single cookie.
|
||||
* "cleared"
|
||||
* the entire cookie list was cleared. the subject is null.
|
||||
* "reload"
|
||||
* the entire cookie list should be reloaded. the subject is null.
|
||||
*
|
||||
* topic : "cookie-rejected"
|
||||
* broadcast whenever a cookie was rejected from being set as a
|
||||
|
Loading…
Reference in New Issue
Block a user