Closed Bug 1651023 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24483 - Python 3: port tests in common/security-features/subresource [part 1]

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ziran Sun <zsun@igalia.com> wrote:

Python 3: port tests in common/security-features/subresource [part 1]

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

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

Total 31 tests and 1 subtests

Status Summary

Firefox

OK : 30
PASS : 193
FAIL : 4
TIMEOUT: 1
NOTRUN : 1

Chrome

OK : 31
PASS : 196
FAIL : 2

Safari

OK : 28
PASS : 52
FAIL : 41
TIMEOUT: 6
NOTRUN : 18

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/referrer-policy/generic/inheritance/iframe-inheritance-about-blank.html: TIMEOUT
The fetch() API in an about:blank iframe with the 'client' referrer is fetched with no 'Referer' header: FAIL
A subresource fetched from an about:blank iframe is fetched with no 'Referer' header: NOTRUN

New Tests That Don't Pass

/referrer-policy/generic/inheritance/iframe-inheritance-about-blank.html: TIMEOUT (Chrome: OK, Safari: OK)
The value of document.referrer in an about:blank iframe is the outer document's full URL, regardless of referrer policy: FAIL (Chrome: FAIL, Safari: FAIL)
The fetch() API in an about:blank iframe with the 'client' referrer is fetched with no 'Referer' header: FAIL (Chrome: PASS, Safari: PASS)
A subresource fetched from an about:blank iframe is fetched with no 'Referer' header: NOTRUN (Chrome: PASS, Safari: PASS)
The fetch() API in an about:blank iframe with a custom URL referrer is fetched with a 'Referer` header that uses the outer document's URL along with its referrer policy: FAIL (Chrome: FAIL, Safari: FAIL)
/referrer-policy/generic/multiple-headers-one-invalid.html
Referrer policy header parsing fails if one header is invalid: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0ac3d8c2b179
[wpt PR 24483] - Python 3: port tests in common/security-features/subresource [part 1], a=testonly
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.