summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/wpt/expectation.json9
-rw-r--r--tools/wpt/runner.ts3
2 files changed, 12 insertions, 0 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index 98fc105d5..5291b95f2 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -684,6 +684,15 @@
"Check isReloadNavigation attribute",
"Check isHistoryNavigation attribute"
]
+ },
+ "headers": {
+ "headers-basic.any.js": true,
+ "headers-casing.any.js": true,
+ "headers-combine.any.js": true,
+ "headers-errors.any.js": true,
+ "headers-normalize.any.js": true,
+ "headers-record.any.js": true,
+ "headers-structure.any.js": true
}
},
"data-urls": {
diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts
index 28b2db0ee..4949c6269 100644
--- a/tools/wpt/runner.ts
+++ b/tools/wpt/runner.ts
@@ -25,6 +25,9 @@ export async function runWithTestUtil<T>(
}
const passedTime = performance.now() - start;
if (passedTime > 15000) {
+ proc.kill(2);
+ await proc.status();
+ proc.close();
throw new Error("Timed out while trying to start wpt test util.");
}
}