Closed Bug 1614459 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21703 - [WPT/mixed-content] Add tests for HTTPS->HTTP redirects

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

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

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

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

Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:

[WPT/mixed-content] Add tests for HTTPS->HTTP redirects

Change-Id: I0aaa88788a28a20cd95b3dbfb078481c20786bd0
Reviewed-on: https://chromium-review.googlesource.com/2047823
WPT-Export-Revision: c649461813e863ed4826131f69bb3bbe635204ce

Whiteboard: [wptsync downstream] → [wptsync downstream error]
PR 21703 applied with additional changes from upstream: eaeb708ef939ce0d304ab5b362a48f28d5e27bd1
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]

CI Results

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

Total 102 tests and 1 subtests

Status Summary

Firefox

OK : 58
PASS : 54[GitHub] 98[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL : 4

Chrome

OK : 56
PASS : 56
TIMEOUT: 4

Safari

OK : 52
PASS : 50
FAIL : 2
TIMEOUT: 12

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/mixed-content/gen/worker-classic-data.http-rp/opt-in/xhr/cross-https.swap-scheme.https.html
Mixed-Content: Expects blocked for xhr to cross-https origin and swap-scheme redirection from https context.: FAIL
/mixed-content/gen/worker-classic-data.http-rp/opt-in/fetch/same-https.swap-scheme.https.html
Mixed-Content: Expects blocked for fetch to same-https origin and swap-scheme redirection from https context.: FAIL
/mixed-content/gen/worker-classic-data.http-rp/opt-in/xhr/same-https.swap-scheme.https.html
Mixed-Content: Expects blocked for xhr to same-https origin and swap-scheme redirection from https context.: FAIL
/mixed-content/gen/worker-classic-data.http-rp/opt-in/fetch/cross-https.swap-scheme.https.html
Mixed-Content: Expects blocked for fetch to cross-https origin and swap-scheme redirection from https context.: FAIL

New Tests That Don't Pass

/mixed-content/gen/worker-classic-data.http-rp/opt-in/xhr/cross-https.swap-scheme.https.html
Mixed-Content: Expects blocked for xhr to cross-https origin and swap-scheme redirection from https context.: FAIL (Chrome: PASS, Safari: PASS)
/mixed-content/gen/worker-classic-data.http-rp/opt-in/fetch/same-https.swap-scheme.https.html
Mixed-Content: Expects blocked for fetch to same-https origin and swap-scheme redirection from https context.: FAIL (Chrome: PASS, Safari: PASS)
/mixed-content/gen/worker-classic-data.http-rp/opt-in/xhr/same-https.swap-scheme.https.html
Mixed-Content: Expects blocked for xhr to same-https origin and swap-scheme redirection from https context.: FAIL (Chrome: PASS, Safari: PASS)
/mixed-content/gen/worker-classic-data.http-rp/opt-in/fetch/cross-https.swap-scheme.https.html
Mixed-Content: Expects blocked for fetch to cross-https origin and swap-scheme redirection from https context.: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a5c663a30ce5
[wpt PR 21703] - [WPT/mixed-content] Add tests for HTTPS->HTTP redirects, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d4fe6b565f51
[wpt PR 21703] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.