Bug 158763
| Summary: | getUserMedia() empty constraints should trigger TypeError. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | George Ruan <gruan> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Minor | CC: | eric.carlson, gruan, jonlee, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | All | ||
| OS: | OS X 10.11 | ||
George Ruan
http://www.w3.org/TR/mediacapture-streams/#dom-mediadevices-getusermedia - Step 3.
Currently, A NOT_SUPPORTED_ERR is returned if requestedMediaTypes is the empty set, but the specification indicates that a TypeError should be thrown instead.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/26801417>
George Ruan
Fix for this bug is in https://bugs.webkit.org/show_bug.cgi?id=160533.