summaryrefslogtreecommitdiffstats
path: root/browser
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-24 19:23:04 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-24 19:23:04 +0200
commit846bbb9930e6588516a28f58b2f80c2b04e1b372 (patch)
treeac06dde167b320f52677d5f1416981e9f88d21f0 /browser
parentbccb9c1708f007ada1ea8c4879db88a587f0a450 (diff)
downloadUXP-846bbb9930e6588516a28f58b2f80c2b04e1b372.tar
UXP-846bbb9930e6588516a28f58b2f80c2b04e1b372.tar.gz
UXP-846bbb9930e6588516a28f58b2f80c2b04e1b372.tar.lz
UXP-846bbb9930e6588516a28f58b2f80c2b04e1b372.tar.xz
UXP-846bbb9930e6588516a28f58b2f80c2b04e1b372.zip
moebius#30 and #37: ForgetAboutSite.jsm - promise - serialize vs. parallel + a comment
https://github.com/MoonchildProductions/moebius/pull/30 https://github.com/MoonchildProductions/moebius/pull/37
Diffstat (limited to 'browser')
-rw-r--r--browser/components/places/content/controller.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/browser/components/places/content/controller.js b/browser/components/places/content/controller.js
index 0d66fbcaf..ebdab60f4 100644
--- a/browser/components/places/content/controller.js
+++ b/browser/components/places/content/controller.js
@@ -253,7 +253,8 @@ PlacesController.prototype = {
}
else
host = NetUtil.newURI(this._view.selectedNode.uri).host;
- ForgetAboutSite.removeDataFromDomain(host);
+ ForgetAboutSite.removeDataFromDomain(host)
+ .catch(Components.utils.reportError);
break;
case "cmd_selectAll":
this.selectAll();