diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-01-30 19:22:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 19:22:24 +0100 |
commit | fa975a9baee4c7489ad743be72b97372b616453a (patch) | |
tree | e5ee1456bf653968366f988cd00ffccb754d77dd /tools | |
parent | ef46bc88bd48371d10ef59c99c8c113632ea7d97 (diff) |
refactor: rewrite Blob implementation (#9309)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wpt/expectation.json | 13 | ||||
-rw-r--r-- | tools/wpt/utils.ts | 11 |
2 files changed, 23 insertions, 1 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index b8a02d5a3..307021cd8 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -1018,5 +1018,18 @@ ] } } + }, + "FileAPI": { + "blob": { + "Blob-array-buffer.any.js": true, + "Blob-stream.any.js": true, + "Blob-text.any.js": true, + "Blob-constructor.any.js": [ + "Blob interface object", + "Passing a FrozenArray as the blobParts array should work (FrozenArray<MessagePort>)." + ], + "Blob-slice-overflow.any.js": true, + "Blob-slice.any.js": true + } } }
\ No newline at end of file diff --git a/tools/wpt/utils.ts b/tools/wpt/utils.ts index 3efd252b4..9ef07dec3 100644 --- a/tools/wpt/utils.ts +++ b/tools/wpt/utils.ts @@ -7,6 +7,7 @@ export const { json, quiet, release, + rebuild, ["--"]: rest, ["auto-config"]: autoConfig, } = parse(Deno.args, { @@ -43,7 +44,15 @@ const MANIFEST_PATH = join(ROOT_PATH, "./tools/wpt/manifest.json"); export async function updateManifest() { const proc = runPy( - ["wpt", "manifest", "--tests-root", ".", "-p", MANIFEST_PATH], + [ + "wpt", + "manifest", + "--tests-root", + ".", + "-p", + MANIFEST_PATH, + ...(rebuild ? ["--rebuild"] : []), + ], {}, ); const status = await proc.status(); |