Closed Bug 1462278 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11040 - Worker: Add credentials tests for dedicated workers

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11040 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/11040
Details from upstream follow.

Hiroki Nakagawa <nhiroki@chromium.org> wrote:
>  Worker: Add credentials tests for dedicated workers
>  
>  This CL adds web-platform-tests for the "credentials" option of WorkerOptions:
>  https://html.spec.whatwg.org/multipage/workers.html#workeroptions
>  
>  The current spec defines that the default value of this option is "omit", but
>  there is an ongoing spec discussion to change it to "same-origin":
>  https://github.com/whatwg/html/pull/3656
>  
>  This CL adds the tests based on the current spec, and a subsequent CL will
>  update them based on the decision.
>  
>  Bug: 843875
>  Change-Id: I50eb0c7971587b9d84865498d67abef8ed2d8fc6
>  Reviewed-on: https://chromium-review.googlesource.com/1063524
>  WPT-Export-Revision: d8b5be5182b1d8acc0c578b537b9d25fcca9d7ed
Component: web-platform-tests → DOM: Workers
Product: Testing → Core
Ran 1 tests and 8 subtests
OK     : 1
PASS   : 6
FAIL   : 2

New tests that have failures or other problems:
/workers/modules/dedicated-worker-options-credentials.html
    new Worker() with credentials=omit should not send the credentials: FAIL
    new Worker() with the default credentials option should not send the credentials: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8aeedb450c81
[wpt PR 11040] - Worker: Add credentials tests for dedicated workers, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/7860c47455cb
[wpt PR 11040] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/8aeedb450c81
https://hg.mozilla.org/mozilla-central/rev/7860c47455cb
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.