Bug 1533541 - dom/localstorage/test/unit/test_groupLimit.js fails with LSNG enabled; r=asuth
authorJan Varga <jan.varga@gmail.com>
Thu, 07 Mar 2019 20:46:46 -0500
changeset 520996 4e0be3b764e698c64679c58244bbc694c009eaeb
parent 520881 5e8cc2d02203362b91e84197585de9a82eeeff64
child 520997 10314be727464d1753098ffd3361801834bc14a7
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersasuth
bugs1533541
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1533541 - dom/localstorage/test/unit/test_groupLimit.js fails with LSNG enabled; r=asuth Reviewers: asuth Reviewed By: asuth Bug #: 1533541 Differential Revision: https://phabricator.services.mozilla.com/D22599
dom/localstorage/test/unit/test_groupLimit.js
--- a/dom/localstorage/test/unit/test_groupLimit.js
+++ b/dom/localstorage/test/unit/test_groupLimit.js
@@ -43,16 +43,17 @@ async function testSteps() {
     let storage = getLocalStorage(getPrincipal(urls[i]));
     storages.push(storage);
   }
 
   info("Filling up the whole group");
 
   for (let i = 0; i < data.urlCount; i++) {
     storages[i].setItem(data.key, data.value);
+    await returnToEventLoop();
   }
 
   info("Verifying no more data can be written");
 
   for (let i = 0; i < urls.length; i++) {
     try {
       storages[i].setItem("B", "");
       ok(false, "Should have thrown");