[wpt-sync] Sync PR 21651 - Check script type and credentials mode values before connecting to the matched SharedWorkerGlobalScope
Categories
(Core :: DOM: Workers, task, P4)
Tracking
()
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
orcredentials
.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
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)
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ea7b1d6dedfa
https://hg.mozilla.org/mozilla-central/rev/9fc763318e71
Description
•