[wpt-sync] Sync PR 23460 - Improve test: csp/reporting/post-redirect-stacktrace.https.html
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
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
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
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
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)
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1b8d9b42030b
https://hg.mozilla.org/mozilla-central/rev/4acb34771181
Description
•