[Webkit-unassigned] [Bug 251906] New: Use InvalidStateError if user gesture is missing for getDisplayMedia
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 8 00:58:42 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=251906
Bug ID: 251906
Summary: Use InvalidStateError if user gesture is missing for
getDisplayMedia
Product: WebKit
Version: Safari 16
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: beaufort.francois at gmail.com
CC: youennf at gmail.com
WebKit should raise InvalidStateError, not InvalidAccessError if user gesture is missing for getDisplayMedia according to the spec.
```
If the relevant global object of this does not have transient activation, return a promise rejected with a DOMException object whose name attribute has the value InvalidStateError.
```
>From https://www.w3.org/TR/screen-capture/#mediadevices-additions
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230208/a80719c8/attachment.htm>
More information about the webkit-unassigned
mailing list