From 846bbb9930e6588516a28f58b2f80c2b04e1b372 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Tue, 24 Apr 2018 19:23:04 +0200 Subject: 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 --- dom/indexedDB/test/browser_forgetThisSite.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'dom/indexedDB') 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() -- cgit v1.2.3