Commit 26fd3540 authored by Hiroki Nakagawa's avatar Hiroki Nakagawa Committed by Commit Bot

Worker: Run appcache-worker.https.html with off-the-main-thread worker script fetch

Bug: 945673
Change-Id: I3221c73b01f19e6e8df8b472cc3ac480a6a50c4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1535508
Auto-Submit: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: default avatarKenichi Ishibashi <bashi@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#644168}
parent 851b27ab
......@@ -625,6 +625,11 @@
"base": "external/wpt/content-security-policy/worker-src",
"args": ["--enable-features=OffMainThreadDedicatedWorkerScriptFetch,PlzDedicatedWorker,OffMainThreadServiceWorkerScriptFetch,OffMainThreadSharedWorkerScriptFetch"]
},
{
"prefix": "omt-worker-fetch",
"base": "external/wpt/html/browsers/offline/appcache/workers/",
"args": ["--enable-features=OffMainThreadDedicatedWorkerScriptFetch,PlzDedicatedWorker,OffMainThreadServiceWorkerScriptFetch,OffMainThreadSharedWorkerScriptFetch"]
},
{
"prefix": "omt-worker-fetch",
"base": "external/wpt/mixed-content/classic-data-worker-fetch",
......
This is a testharness.js-based test.
FAIL Dedicated worker of the cached script assert_equals: expected "Done: cached" but got "Error: Importing a non-cached script must fail."
FAIL Dedicated worker of the fallbacked script assert_equals: expected "Done: fallbacked" but got "Error: Importing a non-cached script must fail."
FAIL Dedicated worker of the not-in-cache script promise_test: Unhandled rejection with value: "The worker not in the AppCache must not be executed."
FAIL Shared worker of the cached script assert_equals: expected "Done: cached" but got "Error: Importing a non-cached script must fail."
FAIL Shared worker of the fallbacked script assert_equals: expected "Done: fallbacked" but got "Error: Importing a non-cached script must fail."
PASS Shared worker of the not-in-cache script
Harness: the test ran to completion.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment