W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2017

Re: [webrtc-stats] Are the stats read-only snapshots or will they change kept around?

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 Jan 2017 21:36:00 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-271705266-1484084159-sysbot+gh@w3.org>
I assume you're referring to the objects in the `RTCStatsReport` map. 
See https://github.com/w3c/webrtc-stats/issues/137.

These were always meant to be writable copies of data, i.e. dictionary
 semantics, where you get new objects each time.

This was apparent in [early versions of the 
 Unfortunately, that WebIDL was broken, because dictionaries don't 
support inheritance, so we were forced to switch to using `object`, 
leading to the confusion you're pointing out. You're right we probably
 need prose to make up for this.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at 
using your GitHub account
Received on Tuesday, 10 January 2017 21:36:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:25 UTC