Closed Bug 1893385 Opened 7 months ago Closed 7 months ago

[wpt-sync] Sync PR 45902 - Sketching `[InjectionMitigated]`. WIP, DNC, etc.

Categories

(Core :: WebRTC: Audio/Video, task, P4)

task

Tracking

()

RESOLVED FIXED
127 Branch
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 to MediaDevices.getAllScreensMedia().

Change-Id: I507722b13219defc8c7b8fd2ead230c1259cbac3
Reviewed-on: https://chromium-review.googlesource.com/5458758
WPT-Export-Revision: fd918cb6dccb6aa35c929f12c338745eb5d26e53

Component: web-platform-tests → WebRTC: Audio/Video
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ae36cd617e3d [wpt PR 45902] - Sketching `[InjectionMitigated]` for `getAllScreensMedia()`., a=testonly https://hg.mozilla.org/integration/autoland/rev/ba9f78c25af2 [wpt PR 45902] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.