summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/wpt/expectation.json13
-rw-r--r--tools/wpt/utils.ts11
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();