Closed Bug 1474154 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 11846 - Add tests for (module dedicated|classic shared) worker's URLs

Categories

(Core :: DOM: Workers, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11846 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/11846 Details from upstream follow. Hiroshige Hayashizaki <hiroshige@chromium.org> wrote: > 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 > WPT-Export-Revision: b91957b6c9ebf8f394ffa89f6b34f814d3ac47f1
Component: web-platform-tests → DOM: Workers
Product: Testing → Core
Ran 13 tests and 17 subtests OK : 13 PASS : 15 FAIL : 2 New tests that have failures or other problems: /workers/baseurl/alpha/import-in-moduleworker.html Base URL in module dedicated workers: import: FAIL /workers/baseurl/alpha/sharedworker-in-worker.html Base URL in workers: new SharedWorker(): FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e2a216ea1903 [wpt PR 11846] - Add tests for (module dedicated|classic shared) worker's URLs, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/a6aad3c149bc [wpt PR 11846] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.