[wpt-sync] Sync PR 39631 - [CSP] WPTs for matching edge cases
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39631 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39631
Details from upstream follow.
Ari Chivukula <arichiv@chromium.org> wrote:
[CSP] WPTs for matching edge cases
We don't allow url encoded hosts but do permit ports with leading 0s.
https://github.com/w3c/webappsec-csp/pull/597
https://github.com/w3c/webappsec-csp/pull/596Bug: 1418009
Change-Id: Ie8ddc509b63e1aa9d35d4e2b989df63483bfca6a
Reviewed-on: https://chromium-review.googlesource.com/4454670
WPT-Export-Revision: 5461d4fc522eb5d8b95ce019cc10e496965c888f
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
| Assignee | ||
Comment 4•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 2 subtests
Status Summary
Firefox
OK : 2
PASS: 2
FAIL: 1
Chrome
OK : 2
PASS: 3
Safari
OK : 2
PASS: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /content-security-policy/base-uri/base-uri-allow-leading-zero-port.sub.html [wpt.fyi]
- Check that base URIs can be set if they do not violate the page's policy because leading 0s are stripped from the port.:
FAIL
- Check that base URIs can be set if they do not violate the page's policy because leading 0s are stripped from the port.:
New Tests That Don't Pass
- /content-security-policy/base-uri/base-uri-allow-leading-zero-port.sub.html [wpt.fyi]
- Check that base URIs can be set if they do not violate the page's policy because leading 0s are stripped from the port.:
FAIL(Chrome:PASS, Safari:PASS)
- Check that base URIs can be set if they do not violate the page's policy because leading 0s are stripped from the port.:
Comment 6•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8fffe9f5db9a
https://hg.mozilla.org/mozilla-central/rev/c9c49b74b4a7
Description
•