Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl |
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl |
index de9f6a4b3357ac93893427a75f9f05d4838da2e5..8394fc8f5ebaef059d64d1658a2a26d79cb5fead 100644 |
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl |
@@ -107,7 +107,10 @@ enum RTCIceConnectionState { |
// non-optional) argument, and there should be a third failureCallback |
// argument. |
[CallWith=ScriptState, LegacyInterfaceTypeChecking] Promise<void> getStats(RTCStatsCallback successCallback, optional MediaStreamTrack? selector); |
- [CallWith=ScriptState, RuntimeEnabled=RTCPeerConnectionNewGetStats] Promise<RTCStatsReport> getStats(optional MediaStreamTrack? selector); |
+ // TODO(hbos): The spec has an optional |selector| argument that is not |
+ // supported yet. There is a discussion about what to do with it (clarify |
+ // spec, remove it or change it?): https://github.com/w3c/webrtc-stats/issues/116 |
+ [CallWith=ScriptState, RuntimeEnabled=RTCPeerConnectionNewGetStats] Promise<RTCStatsReport> getStats(); |
// https://w3c.github.io/webrtc-pc/#peer-to-peer-data-api |
// TODO(guidou): The label argument should have [TreatNullAs=EmptyString] |