diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-04-24 19:34:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-24 19:34:58 +0200 |
commit | 1b0a03a2e1916efd5c4f76efbe24b5917aa0d4c1 (patch) | |
tree | 749b48be1987507e6e5be0bc3e3673f0f7d9dd73 /dom | |
parent | 844da2ccc666afa713ca1e3e7caa077de4a9250d (diff) | |
parent | 846bbb9930e6588516a28f58b2f80c2b04e1b372 (diff) | |
download | uxp-1b0a03a2e1916efd5c4f76efbe24b5917aa0d4c1.tar.gz |
Merge pull request #258 from janekptacijarabaci/forgetAboutSite_1
moebius#30 and #37: ForgetAboutSite.jsm - promise - serialize vs. parallel + a comment
Diffstat (limited to 'dom')
-rw-r--r-- | dom/indexedDB/test/browser_forgetThisSite.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dom/indexedDB/test/browser_forgetThisSite.js b/dom/indexedDB/test/browser_forgetThisSite.js index c1177908f4..02674922f3 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() |