Closed Bug 1636126 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 23460 - Improve test: csp/reporting/post-redirect-stacktrace.https.html

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

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

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

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

arthursonzogni <arthursonzogni@chromium.org> wrote:

Improve test: csp/reporting/post-redirect-stacktrace.https.html

The test was checking no post-redirect information was leaked.
Unfortunately, there was a bug in the test. The same data was present in
both the final URL and the post-redirect URL.

This patch make the post-redirect URL no to have the data.

BUG=1074317

Change-Id: I40a698b8edf6ff651dda5d0e82b803a60ccaac7b
Reviewed-on: https://chromium-review.googlesource.com/2187711
WPT-Export-Revision: 698455456c3a005d6a64c39fd7b0bc3554de4ab0

PR 23460 applied with additional changes from upstream: 5841e8d23091853f553935e9d0eeba1cd812c1ec
Component: web-platform-tests → DOM: Security
Product: Testing → Core
PR 23460 applied with additional changes from upstream: 5841e8d23091853f553935e9d0eeba1cd812c1ec

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

PASS : 2
TIMEOUT: 1
NOTRUN : 2

Chrome

OK : 1
FAIL : 4

Safari

FAIL : 2
ERROR : 1
NOTRUN : 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/content-security-policy/reporting/post-redirect-stacktrace.https.html: TIMEOUT (Chrome: OK, Safari: ERROR)
CSP report do not leak cross-site post-redirect URL: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
CSP report do not leak cross-origin post-redirect URL: NOTRUN (Chrome: FAIL, Safari: NOTRUN)

Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ef83e0b2b667 [wpt PR 23460] - Improve test: csp/reporting/post-redirect-stacktrace.https.html, a=testonly https://hg.mozilla.org/integration/autoland/rev/c95bfc5b1754 [wpt PR 23460] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1b8d9b42030b [wpt PR 23460] - Improve test: csp/reporting/post-redirect-stacktrace.https.html, a=testonly https://hg.mozilla.org/integration/autoland/rev/4acb34771181 [wpt PR 23460] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.