- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Wed, 25 Jan 2023 16:08:57 +0000
- To: public-webrtc-logs@w3.org
> ... JS is perfectly fine to modify read-only properties of the candidate thanks to Object.defineProperty. Thanks for this discovery (it revealed another [bug in firefox](https://bugzil.la/1812346) in this area as well). I think we should fix the sentence in https://github.com/w3c/webrtc-pc/issues/2795#issuecomment-1320508754, maybe add a note about `relayProtocol` and `url`, and call this done. IOW `relayProtocol` and `url` are local overload APIs (same behavior we'd get from a subclass) of the RTCIceCandidate platform object that don't survive serialization to JSON, because they're not meant for signaling or addIceCandidate. Libraries that wish to shim can do so using Object.defineProperty. Ready for PR? -- GitHub Notification of comment by jan-ivar Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2795#issuecomment-1403856858 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 25 January 2023 16:08:59 UTC