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)
Core
DOM: Workers
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
Assignee | ||
Updated•7 years ago
|
Component: web-platform-tests → DOM: Workers
Product: Testing → Core
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0287548a96d02390e5b75626738d83473a12e72b
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=05278c0ceb6007a80a4d82e80595c214a540ade0
Assignee | ||
Comment 5•7 years ago
|
||
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
Comment 7•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e2a216ea1903
https://hg.mozilla.org/mozilla-central/rev/a6aad3c149bc
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•