diff options
author | Andreu Botella <abb@randomunok.com> | 2021-08-16 14:29:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 14:29:54 +0200 |
commit | ddbb7b83f2c483e354f425dfb70dbab494b05ea5 (patch) | |
tree | fa84f5607395773284e331fe32f2b86b59f02a5d /tools/wpt.ts | |
parent | d1d2388d7f1a09fd2469b356f00b6b361269a0b7 (diff) |
feat(runtime): support classic workers for internal testing (#11338)
This commit implements classic workers, but only when the `--enable-testing-features-do-not-use` flag is provided. This change is not user facing. Classic workers are used extensively in WPT tests. The classic workers do not support loading from disk, and do not support TypeScript.
Co-authored-by: Luca Casonato <hello@lcas.dev>
Diffstat (limited to 'tools/wpt.ts')
-rwxr-xr-x | tools/wpt.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/wpt.ts b/tools/wpt.ts index a3999a425..4ebe875c9 100755 --- a/tools/wpt.ts +++ b/tools/wpt.ts @@ -647,7 +647,8 @@ function discoverTestsToRun( const url = new URL(path, "http://web-platform.test:8000"); if ( !url.pathname.endsWith(".any.html") && - !url.pathname.endsWith(".window.html") + !url.pathname.endsWith(".window.html") && + !url.pathname.endsWith(".worker.html") ) { continue; } |