Update web-platform-tests to revision 0d4300c5045a5587c2eb3d1416b11ffeecf5dadc

This commit is contained in:
WPT Sync Bot 2019-08-08 10:23:28 +00:00
parent 555fa75b2c
commit 9f1d1e8b63
111 changed files with 1744 additions and 631 deletions

View file

@ -12,6 +12,7 @@ const ResourceType = {
IMAGE: "image",
FRAME: "frame",
WORKER: "worker",
SHARED_WORKER: "shared-worker",
WORKLET: "worklet",
WEBSOCKET: "websocket",
FETCH: "fetch",
@ -36,6 +37,8 @@ function generateURL(host, protocol, resourceType) {
url.pathname = "echo";
} else if (resourceType == ResourceType.WORKER) {
url.pathname += "worker.py";
} else if (resourceType == ResourceType.SHARED_WORKER) {
url.pathname += "shared-worker.py";
} else if (resourceType == ResourceType.WORKLET) {
url.pathname += "worker.py";
} else if (resourceType == ResourceType.FETCH) {
@ -184,6 +187,10 @@ const testMap = {
{}),
test.name),
"shared-worker":
test => promise_test(
() => requestViaSharedWorker(test.url), test.name),
"audio-worklet":
test => promise_test(
() => requestViaWorklet('audio', test.url), test.name),