Open
Bug 1458705
Opened 7 years ago
Updated 1 year ago
JSON.stringify of a RTCStatsReport should yield '{}'
Categories
(Core :: WebRTC, enhancement, P3)
Core
WebRTC
Tracking
()
NEW
People
(Reporter: ng, Assigned: ng)
Details
RTCStatsReport is now a Maplike and as such it should be stringified to '{}'. See https://github.com/w3c/webrtc-pc/issues/1859 . As of right now it yields the legacy stats.
| Assignee | ||
Comment 1•7 years ago
|
||
Jan-Ivar, do we need to issue a warning about this prior to changing the behavior for stats returned from the Promise based getStats interface?
| Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(jib)
Updated•7 years ago
|
Rank: 15
Priority: -- → P2
Comment 2•7 years ago
|
||
Most definitely we should warn people, but since this effectively returns the legacy (e.g. non-hyphenated) stats, might a common warning on access of those hit both?
Flags: needinfo?(jib)
Updated•3 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Priority: P2 → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•