summaryrefslogtreecommitdiffstats
path: root/dom/indexedDB
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 /dom/indexedDB
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 'dom/indexedDB')
-rw-r--r--dom/indexedDB/test/browser_forgetThisSite.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/dom/indexedDB/test/browser_forgetThisSite.js b/dom/indexedDB/test/browser_forgetThisSite.js
index c1177908f..02674922f 100644
--- a/dom/indexedDB/test/browser_forgetThisSite.js
+++ b/dom/indexedDB/test/browser_forgetThisSite.js
@@ -67,9 +67,10 @@ function test2()
function test3()
{
// Remove database from domain 2
- ForgetAboutSite.removeDataFromDomain(domains[1]);
- setPermission(testPageURL4, "indexedDB");
- executeSoon(test4);
+ ForgetAboutSite.removeDataFromDomain(domains[1]).then(() => {
+ setPermission(testPageURL4, "indexedDB");
+ executeSoon(test4);
+ });
}
function test4()