[wpt-sync] Sync PR 25275 - Attempt to fix escaping in CSP tests
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 25275 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/25275
Details from upstream follow.
b'Robert Ma <robertma@chromium.org>' wrote:
Attempt to fix escaping in CSP tests
{{GET}} is automatically HTML-escaped (not URL-encoded) when used in
.sub.html
. There is some insufficient workaround in this test suite
for things like < >. This PR attempts to properly decode HTML entities.Note: this is most likely not complete (only covers the case in #25141 ).
There are so many uses of{{GET}}
in.sub.html
in this suite that might
need similar treatment, so we might want to do this in e.g.
originFrameShouldBe
instead.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
FAIL: 1
Chrome
OK : 1
PASS: 1
Safari
OK : 1
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/content-security-policy/navigation/javascript-url-navigation-inherits-csp.html
Violation report status OK.: FAIL (Chrome: PASS, Safari: FAIL)
Comment 4•4 years ago
|
||
bugherder |
Description
•