Commit 0c6e904f authored by Hiroshige Hayashizaki's avatar Hiroshige Hayashizaki Committed by Commit Bot

Add module workers/worklets tests to virtual/module-top-level-await

This CL runs tests for
module dedicated, shared, service workers and worklets
with top-level await enabled.

Issue 1111134 will touch module script evaluation code, so
needs test coverage of worker/worklet evaluation under TLA.

Bug: 1111134, 1022182
Change-Id: I876c94462ac0117c9c743442fe2e34333f86740e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2418494
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: default avatarMakoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810106}
parent 5a4e760f
......@@ -4,6 +4,11 @@
"bases": [
"external/wpt/html/webappapis/dynamic-markup-insertion/document-write",
"external/wpt/html/semantics/scripting-1/the-script-element/module",
"external/wpt/service-workers/service-worker/registration-script-module.https.html",
"external/wpt/service-workers/service-worker/update-registration-with-type.https.html",
"external/wpt/workers/Worker-terminate-forever-during-evaluation.html",
"external/wpt/workers/modules",
"external/wpt/worklets",
"fast/dom/HTMLScriptElement/module-script.html",
"fast/dom/script-module-with-export-leak.html",
"fast/loader/invalid-module-specifier.html",
......
This is a testharness.js-based test.
PASS Registering invalid chunked encoding script
PASS Registering invalid chunked encoding script with flush
PASS Registering script including parse error
FAIL Registering script including undefined error assert_unreached: Should have rejected: Registration of script including undefined error should fail. Reached unreachable code
FAIL Registering script including uncaught exception assert_unreached: Should have rejected: Registration of script including uncaught exception should fail. Reached unreachable code
PASS Registering non-existent script
PASS Registering script including caught exception
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