W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2019

[webrtc-pc] Pull Request: Construct RTCErrors with name 'OperationError' instead of 'RTCError'

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Tue, 26 Nov 2019 17:44:27 +0000
To: public-webrtc@w3.org
Message-ID: <pull_request.opened-345859555-1574790266-sysbot+gh@w3.org>
henbos has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Construct RTCErrors with name 'OperationError' instead of 'RTCError' ==
Fixes #2330.

Before merging this PR, we need to check if this is in fact consistent with current implementations.
So far, I've noticed that there is one breaking change for Chrome's replaceTrack() which rejects with InvalidModificationError (though I doubt anybody is relying on that operation failing, it only fails on invalid input or when the PC is closed).

I/we need to take a closer look at Chrome and other browsers. (If different names are needed the PR can be updated to allow constructing with different names.)

See https://github.com/w3c/webrtc-pc/pull/2375
Received on Tuesday, 26 November 2019 17:44:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:50 UTC