[webrtc-stats] why is candidate stats nullable instead of an empty string? (#601)

fippo has just created a new issue for https://github.com/w3c/webrtc-stats:

== why is candidate stats nullable instead of an empty string? ==
i'm currently adding an alias for chrome/webrtc's `ip` field on candidate statistics. However, one of the WPT failed because for prflx addresses the field is an empty string instead of null.

The test was added in https://github.com/web-platform-tests/wpt/pull/13922
and the spec change is in https://github.com/w3c/webrtc-stats/pull/381

Is there a specific reason for using a `DOMString?` instead of a DOMString which is empty? Firefox puts "redacted" there.

@youennf you might remember (and might want to check if [this commit](https://chromium.googlesource.com/external/webrtc/+/a9ba4503397b41a12e57bbf8f70441ebfcf54ed1) breaks anything for you or you can just simplify some code :soon:)

Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/601 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 24 March 2021 19:51:57 UTC