Closed Bug 1621656 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 22189 - WIP: `require-trusted-types-for` + Secure Contexts.

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

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

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

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

Mike West <mkwst@chromium.org> wrote:

WIP: require-trusted-types-for + Secure Contexts.

Change-Id: Ib92e3ebfb3148aa4634a4f1f29cbbfd8d45fdfdb
Reviewed-on: https://chromium-review.googlesource.com/2098076
WPT-Export-Revision: 320519cf3f144793ac43e0f421d72a73e34931ca

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]

CI Results

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

Total 4 tests and 9 subtests

Status Summary

Firefox

OK : 2
PASS : 9
FAIL : 3
ERROR: 2

Chrome

OK : 4
PASS : 21
FAIL : 3

Safari

OK : 2
PASS : 9
FAIL : 3
ERROR: 2

Links

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: PASS, Safari: FAIL)
/trusted-types/no-require-trusted-types-for.tentative.https.html: ERROR (Chrome: OK, Safari: ERROR)
/trusted-types/no-require-trusted-types-for-report-only.tentative.https.html: ERROR (Chrome: OK, Safari: ERROR)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9388adba44f0
[wpt PR 22189] - [Trusted Types] Ignore `require-trusted-types-for` in non-secure contexts., a=testonly
https://hg.mozilla.org/integration/autoland/rev/5fb4974c00e3
[wpt PR 22189] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.