mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
Automatic update from web-platform-testsAdd 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 <[email protected]> Reviewed-by: Kouhei Ueno <[email protected]> Reviewed-by: Hiroki Nakagawa <[email protected]> Cr-Commit-Position: refs/heads/master@{#573840} -- wpt-commits: 1eefa00af8eb0137b4812d0947a38fb5b76cd04e wpt-pr: 11846