[WebRTC] getStats does not support legacy callback
Created attachment 300167 [details] Patch
Comment on attachment 300167 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=300167&action=review > LayoutTests/fast/mediastream/RTCPeerConnection-js-built-ins-check-this-expected.txt:-11 > -PASS promise RTCPeerConnection.prototype.getStats.call({}, null) rejected with TypeError: Function should be called on an RTCPeerConnection I did not change this test as I propose to replace it by another one in bug 167571
Comment on attachment 300167 [details] Patch Clearing flags on attachment: 300167 Committed r211404: <http://trac.webkit.org/changeset/211404>
All reviewed patches have been landed. Closing bug.
But getStats *is* listed in the Legacy Interface Extensions section [1]. [1] https://w3c.github.io/webrtc-pc/archives/20161219/webrtc.html#legacy-interface-extensions
Please disregard from my last comment.