mirror of
https://github.com/servo/servo.git
synced 2025-08-14 01:45:33 +01:00
Update web-platform-tests to revision 21461a83c51b72bcff82476c1b79a26a194e7bab
This commit is contained in:
parent
ea206034ad
commit
f96f9a1b78
61 changed files with 1372 additions and 376 deletions
|
@ -1,6 +1,17 @@
|
|||
import { StorageArea, storage as defaultArea } 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.
|
||||
// If we used testWithArea, then the IDB helpers would time out in their cleanup steps when they
|
||||
// fail to delete the already-deleted database.
|
||||
export function testWithAreaNoCleanup(testFn, description) {
|
||||
promise_test(t => {
|
||||
const area = new StorageArea(description);
|
||||
|
||||
return testFn(area, t);
|
||||
}, description);
|
||||
}
|
||||
|
||||
export function testWithArea(testFn, description) {
|
||||
promise_test(t => {
|
||||
const area = new StorageArea(description);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue