Bug 1568041 [wpt PR 17982] - KV Storage: rename storage export to default, a=testonly

Automatic update from web-platform-tests
KV Storage: rename storage export to default

Follows https://github.com/WICG/kv-storage/pull/71.

Bug: 931263
Change-Id: I19abd6bc26ef29870a4ed45e7a65ddbc724d5584
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1712950
Reviewed-by: Victor Costan <pwnall@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680356}

--

wpt-commits: 5c505a40cbd63f5c547b93325081993f40ed0208
wpt-pr: 17982
This commit is contained in:
Domenic Denicola 2019-08-01 14:13:05 +00:00 committed by moz-wptsync-bot
parent ed2af550c1
commit fbdae0ea72
4 changed files with 4 additions and 5 deletions

View File

@ -7,7 +7,7 @@
<script src="/resources/testharnessreport.js"></script>
<script type="module">
import { storage } from "std:kv-storage";
import storage from "std:kv-storage";
test(() => {
assert_equals(storage.backingStore, storage.backingStore);

View File

@ -1,4 +1,4 @@
import { StorageArea, storage as defaultArea } from "std:kv-storage";
import defaultArea, { StorageArea } from "std:kv-storage";
import { assertAsyncIteratorEquals, assertAsyncIteratorCustomEquals } from "./equality-asserters.js";
// Used when we're manually creating the database, and so the IDB helpers also want to clean it up.

View File

@ -8,7 +8,7 @@
<script src="/resources/idlharness.js"></script>
<script type="module">
import { storage, StorageArea } from "std:kv-storage";
import storage, { StorageArea } from "std:kv-storage";
// Web IDL/idlharness.js do not yet have support for the spec's IDL, which uses module {},
// async_iterator, and some new extended attributes. This IDL is a mutated version to work with the
@ -172,4 +172,4 @@ function frameLoadPromise(frame) {
frame.onerror = () => reject(new Error(`${frame.src} failed to load`));
});
}
</script>
</script>

View File

@ -8,7 +8,6 @@
<script type="module">
import { testVariousMethodsWithDefaultArea } from "./helpers/kvs-tests.js";
import { storage } from "std:kv-storage";
testVariousMethodsWithDefaultArea(
"Storage methods smoke test with string key and value", "key", "value", assert_equals