[WebRTC] getStats does not support legacy callback
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2017 04:34:26 +0000 (04:34 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2017 04:34:26 +0000 (04:34 +0000)
commit6ee9a3cbb516b44a4e4e10424b04cab5b6cb8c34
treeadae5d47cacdf5b13fbfa0ae76e01086337c8aae
parent4de5ba72596a36b0dc6f2ba7f60347d44cb513df
[WebRTC] getStats does not support legacy callback
https://bugs.webkit.org/show_bug.cgi?id=167617

Patch by Youenn Fablet <youenn@apple.com> on 2017-01-30
Reviewed by Alex Christensen.

Source/WebCore:

Covered by updated tests.

* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::getStats):
(WebCore::RTCPeerConnection::privateGetStats): Deleted.
* Modules/mediastream/RTCPeerConnection.h:
* Modules/mediastream/RTCPeerConnection.idl:
* Modules/mediastream/RTCPeerConnection.js:
(addIceCandidate):
(getStats): Deleted.

LayoutTests:

* fast/mediastream/RTCPeerConnection-js-built-ins-check-this-expected.txt:
* fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt:
* fast/mediastream/RTCPeerConnection-overloaded-operations-params.html:
* fast/mediastream/RTCPeerConnection-stats.html:
* fast/mediastream/RTCPeerConnection-statsSelector.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@211404 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/mediastream/RTCPeerConnection-js-built-ins-check-this-expected.txt
LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt
LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations-params.html
LayoutTests/fast/mediastream/RTCPeerConnection-stats.html
LayoutTests/fast/mediastream/RTCPeerConnection-statsSelector.html
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
Source/WebCore/Modules/mediastream/RTCPeerConnection.h
Source/WebCore/Modules/mediastream/RTCPeerConnection.idl
Source/WebCore/Modules/mediastream/RTCPeerConnection.js