Closed Bug 1613844 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 21651 - Check script type and credentials mode values before connecting to the matched SharedWorkerGlobalScope

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Eriko Kurimoto <elkurin@google.com> wrote:

Check script type and credentials mode values before connecting to the matched SharedWorkerGlobalScope

Corresponds to spec PR #5258.

This PR adds web-platform-tests to check if a shared worker fires an event named error when it is attempted to connect with mismatch type or credentials.

Component: web-platform-tests → DOM: Workers
Product: Testing → Core

CI Results

Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 44 tests

Status Summary

Firefox

PASS : 43
TIMEOUT: 2
NOTRUN : 23

Chrome

FAIL : 4
TIMEOUT: 2
NOTRUN : 19

Safari

OK : 1
FAIL : 24

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/workers/shared-worker-options-mismatch.html: TIMEOUT (Chrome: TIMEOUT, Safari: OK)
Connecting to shared worker with different options should be blocked: omit to same-origin in classic: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: omit to include in classic: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: same-origin to omit in module: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: default to module: TIMEOUT (Chrome: FAIL, Safari: FAIL)
Connecting to shared worker with different options should be blocked: default to omit in module: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: include to same-origin in classic: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: module to default: NOTRUN (Chrome: FAIL, Safari: FAIL)
Connecting to shared worker with different options should be blocked: include to omit in module: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: omit to include in module: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: default to include in module: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: include to same-origin in module: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: module to classic: NOTRUN (Chrome: FAIL, Safari: FAIL)
Connecting to shared worker with different options should be blocked: default to omit in classic: NOTRUN (Chrome: TIMEOUT, Safari: FAIL)
Connecting to shared worker with different options should be blocked: classic to module: NOTRUN (Chrome: FAIL, Safari: FAIL)
Connecting to shared worker with different options should be blocked: omit to default in classic: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: include to omit in classic: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: include to default in module: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: same-origin to include in classic: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: omit to same-origin in module: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: include to default in classic: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: same-origin to omit in classic: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: default to include in classic: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: omit to default in module: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
Connecting to shared worker with different options should be blocked: same-origin to include in module: NOTRUN (Chrome: NOTRUN, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ea7b1d6dedfa [wpt PR 21651] - Adds a test for 'checking script type and credentials mode values before connecting to the matched SharedWorkerGlobalScope', a=testonly https://hg.mozilla.org/integration/autoland/rev/9fc763318e71 [wpt PR 21651] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.