summaryrefslogtreecommitdiffstats
path: root/browser
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-04-24 19:34:58 +0200
committerGitHub <noreply@github.com>2018-04-24 19:34:58 +0200
commit1b0a03a2e1916efd5c4f76efbe24b5917aa0d4c1 (patch)
tree749b48be1987507e6e5be0bc3e3673f0f7d9dd73 /browser
parent844da2ccc666afa713ca1e3e7caa077de4a9250d (diff)
parent846bbb9930e6588516a28f58b2f80c2b04e1b372 (diff)
downloadUXP-1b0a03a2e1916efd5c4f76efbe24b5917aa0d4c1.tar
UXP-1b0a03a2e1916efd5c4f76efbe24b5917aa0d4c1.tar.gz
UXP-1b0a03a2e1916efd5c4f76efbe24b5917aa0d4c1.tar.lz
UXP-1b0a03a2e1916efd5c4f76efbe24b5917aa0d4c1.tar.xz
UXP-1b0a03a2e1916efd5c4f76efbe24b5917aa0d4c1.zip
Merge pull request #258 from janekptacijarabaci/forgetAboutSite_1
moebius#30 and #37: ForgetAboutSite.jsm - promise - serialize vs. parallel + a comment
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();