OverconstrainedError.name returns "Error", but spec says: The initial value of the name property of the prototype for the OverconstrainedError constructor is "OverconstrainedError". https://w3c.github.io/mediacapture-main/#overconstrainederror-prototype-name
Created attachment 383763 [details] Patch
Comment on attachment 383763 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=383763&action=review > Source/WebCore/ChangeLog:8 > + No new tests, existing test and results updated. There is one failing test on Mac that probably needs to get updated. > LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/GUM-impossible-constraint.https-expected.txt:8 > +FAIL Tests that setting an impossible constraint in getUserMedia fails assert_equals: The name of the not satisfied error is given in error.constraint expected "width" but got "" We should look at these tests, maybe we should update them since we are not exposing the constraint if device info is not granted.
Created attachment 383861 [details] Patch
Comment on attachment 383861 [details] Patch Clearing flags on attachment: 383861 Committed r252632: <https://trac.webkit.org/changeset/252632>
All reviewed patches have been landed. Closing bug.
<rdar://problem/57323357>