The implementation of
RTCStatsReport, that can be retrieved using the
RTCPeerConnection.getStats method, has been updated as per the latest WebRTC spec, and the interface has become an object like
Map, offering the
@@iterator methods as well as the
size property. The legacy implementation, that allowed to access read-only enumerable properties directly on the object, will be warned in the Web Console and soon be removed. As this example shows, you basically have to replace
Update: The legacy non-
getStats access has been removed with Firefox 66.