https://w3c.github.io/mediacapture-main/#overconstrainederror-object Add support for the OverConstrainedError Object. Blocks https://bugs.webkit.org/show_bug.cgi?id=146746, since it is a part of the getUserMedia() algorithm, step 6.3: https://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia.
<rdar://problem/27815715>
*** Bug 157839 has been marked as a duplicate of this bug. ***
*** Bug 161146 has been marked as a duplicate of this bug. ***
The spec says that it should be possible to create an OverconstrainedError by calling it as a function as well as with new: "When OverconstrainedError is called as a function rather than as a constructor, it creates and initializes a new OverconstrainedError object". WebKit's bindings generator doesn't support this so we won't be able to do that in the first implementation.
Created attachment 286870 [details] Proposed patch.
Created attachment 286875 [details] Proposed patch.
Created attachment 286881 [details] Rebased patch.
Created attachment 286889 [details] Proposed patch.
Comment on attachment 286889 [details] Proposed patch. Clearing flags on attachment: 286889 Committed r204935: <http://trac.webkit.org/changeset/204935>