Closed Bug 1508901 Opened 6 years ago Closed 5 years ago

[wpt-sync] Sync PR 14151 - Worker: Add referrer policy tests for shared workers

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

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

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

Hiroki Nakagawa <nhiroki@chromium.org> wrote:
>  Worker: Add referrer policy tests for shared workers
>  
>  I manually changed only following files:
>  
>   - external/wpt/referrer-policy/generic/common.js
>   - external/wpt/referrer-policy/generic/referrer-policy-test-case.js
>   - external/wpt/referrer-policy/generic/subresource/shared-worker.py
>   - external/wpt/referrer-policy/generic/template/shared-worker.js.template
>   - external/wpt/referrer-policy/spec.src.json
>   - TestExpectations
>  
>  Others were auto-generated.
>  
>  Bug: 906959
>  Change-Id: Ib0a84710fe94ba0893d9609bb708a3f5e8fd4091
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1343582
>  WPT-Export-Revision: 4a2d881bf632f9bf71d6035806bb2dd1bc8022c5
PR 14151 applied with additional changes from upstream: 3557c530a5e8893d66ff9a381f595785c2fd299a
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Ran 54 tests and 96[linux64-debug,linux64-opt], 97[linux32-debug,linux32-opt] subtests
OK     : 53[linux64-debug,linux64-opt], 54[linux32-debug,linux32-opt]
PASS   : 82
FAIL   : 14[linux64-debug,linux64-opt], 15[linux32-debug,linux32-opt]

New tests that have failures or other problems:
/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html
    The referrer URL is omitted when a
                                 document served over http requires an http
                                 sub-resource via shared-worker using the http-rp
                                 delivery method with keep-origin-redirect and when
                                 the target request is same-origin.: FAIL
/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html
    The referrer URL is omitted when a
                                 document served over http requires an http
                                 sub-resource via shared-worker using the http-rp
                                 delivery method with no-redirect and when
                                 the target request is same-origin.: FAIL
/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html
    The referrer URL is omitted when a
                                 document served over http requires an http
                                 sub-resource via shared-worker using the meta-referrer
                                 delivery method with keep-origin-redirect and when
                                 the target request is same-origin.: FAIL
/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html
    The referrer URL is omitted when a
                                 document served over http requires an http
                                 sub-resource via shared-worker using the meta-referrer
                                 delivery method with no-redirect and when
                                 the target request is same-origin.: FAIL

Tests that are disabled for instability:
/referrer-policy/generic/unsupported-csp-referrer-directive.html: [linux64-debug,linux64-opt]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4fb8b50d7a66
[wpt PR 14151] - Worker: Add referrer policy tests for shared workers, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/0fa6f935ad10
[wpt PR 14151] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7391208035e4
[wpt PR 14151] - Worker: Add referrer policy tests for shared workers, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/df76b3af08c0
[wpt PR 14151] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/7391208035e4
https://hg.mozilla.org/mozilla-central/rev/df76b3af08c0
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.