Skip to content

Commit

Permalink
Bug 1110814 follow-up: Fix a typo in order to fix the test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
rmottola committed Jun 25, 2019
1 parent 443df9f commit c89dce5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dom/cache/test/mochitest/test_cache_put.js
Expand Up @@ -19,7 +19,8 @@ Promise.all([fetch(url),
if (results[0] !== results[1]) {
is(results[0], results[1], 'stored response body should match original');
}
return cache.delete('putter' + context);
}).then(function() {
return caches.delete('putter' + context);
}).then(function(deleted) {
ok(deleted, "The cache should be deleted successfully");
testDone();
});

0 comments on commit c89dce5

Please sign in to comment.