[Webkit-unassigned] [Bug 158393] New: getUserMedia() exposed, but not functional

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 4 23:47:24 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=158393

            Bug ID: 158393
           Summary: getUserMedia() exposed, but not functional
    Classification: Unclassified
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: info at html5test.com

The getUserMedia() function is exposed, but when you try to use it, it just fails and calls the error callback. This breaks feature detection. 


navigator.getUserMedia({ video: true, audio: true }, function() { console.log('success', arguments) }, function() { console.log('error', arguments) })

=> error – Arguments [ Error: NotAllowedError: DOM Exception 35 ]


and:


!!navigator.getUserMedia

=> true


This is also a problem for HTML5test.com where Safari currently gets points for supporting getUserMedia, without actually deserving so. I hope this is an unfinished implementation that will be ready for the next release of Safari, but if not, it should not be exposed publicly. Otherwise I'm afraid I have to put this feature on a blacklist so that HTML5test.com won't show an inaccurate result.

The same thing applies to the prefixed webkitGetUserMedia function.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160605/73e07ad9/attachment.html>


More information about the webkit-unassigned mailing list