[wpt-sync] Sync PR 45902 - Sketching `[InjectionMitigated]`. WIP, DNC, etc.
Categories
(Core :: WebRTC: Audio/Video, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45902 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45902
Details from upstream follow.
Mike West <mkwst@chromium.org> wrote:
Sketching
[InjectionMitigated]
. WIP, DNC, etc.This CL sketches an IDL attribute that prevents exposure of a given
attribute/method/interface/etc in the absence of a strict CSP delivered
as a header, along the lines of the [Securer Contexts explainer][1]. As
a proof of concept, the attribute is used to replace a subset of the
runtime checks currently applied toMediaDevices.getAllScreensMedia()
.Change-Id: I507722b13219defc8c7b8fd2ead230c1259cbac3
Reviewed-on: https://chromium-review.googlesource.com/5458758
WPT-Export-Revision: fd918cb6dccb6aa35c929f12c338745eb5d26e53
Assignee | ||
Updated•7 months ago
|
Assignee | ||
Updated•7 months ago
|
Assignee | ||
Updated•7 months ago
|
Assignee | ||
Comment 1•7 months ago
|
||
Assignee | ||
Comment 2•7 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Chrome
OK
: 1
PASS
: 1
FAIL
: 1
Safari
OK
: 1
PASS
: 1
FAIL
: 1
Links
Comment 4•7 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ae36cd617e3d
https://hg.mozilla.org/mozilla-central/rev/ba9f78c25af2
Description
•