mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
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:
parent
ed2af550c1
commit
fbdae0ea72
@ -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);
|
||||
|
@ -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.
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user