summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/element-capture.idl
blob: 619a0fd2f44dc11a02fef93159f8c6d158a9945a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Element Capture (https://screen-share.github.io/element-capture/)

[Exposed=(Window,Worker), Serializable]
interface RestrictionTarget {
  [Exposed=Window, SecureContext] static Promise<RestrictionTarget> fromElement(Element element);
};

[Exposed = Window]
partial interface BrowserCaptureMediaStreamTrack {
  Promise<undefined> restrictTo(RestrictionTarget? RestrictionTarget);
};