[wpt-sync] Sync PR 24039 - [Trusted Types] Change sample string for Function Constructor.
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 24039 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24039
Details from upstream follow.
Yifan Luo <lyf@google.com> wrote:
[Trusted Types] Change sample string for Function Constructor.
Changed the CSP violation report sample string for Trusted
Types fromeval|(function anonymous(xxxx
toFunction|xxxx
.Bug: 1048604
Change-Id: I6484ef73f78ea245d39efe219e30f5a0ed5d4f74Reviewed-on: https://chromium-review.googlesource.com/2235621
WPT-Export-Revision: 7a2d097ca5ed0471853120d5e4194c49900937bf
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 3 subtests
Status Summary
Firefox
OK : 1
FAIL: 3
Chrome
OK : 1
PASS: 2
FAIL: 1
Safari
OK : 1
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/content-security-policy/reporting/report-clips-sample.https.html
Unsafe eval violation sample is clipped to 40 characters.: FAIL (Chrome: PASS, Safari: FAIL)
Trusted Types violation sample is clipped to 40 characters excluded the sink name.: FAIL (Chrome: PASS, Safari: FAIL)
Function constructor - the other kind of eval - is clipped.: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 4•5 years ago
|
||
bugherder |
Description
•