Add tests for (module dedicated|classic shared) worker's URLs
This CL adds WPT tests for - WorkerLocation (wpt/workers/interfaces/WorkerGlobalScope/location/), - referrer (wpt/xhr/), and - API base URL (wpt/workers/baseurl/) that should reflect worker global scope's URL, for - classic shared workers and - module classic workers. Some tests are half-migrated to fetch_tests_from_worker()-style to test shared workers easily, while the tests for module workers uses the existing non-fetch_tests_from_worker()-style tests, because testharness.js can't be used from module scripts. Bug: 861564 Change-Id: I62fa415647da47e00bf7cbf4d7648f5d64377c04 Reviewed-on: https://chromium-review.googlesource.com/1128517 Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#573840}
Showing
File moved
File moved
Please register or sign in to comment