WebRTC: RTCPeerConnection::addTrack() should throw InvalidAccessError exception when track already exists in connection's set of senders.
Created attachment 281257 [details] Patch
Comment on attachment 281257 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=281257&action=review > Source/WebCore/ChangeLog:10 > + Throw InvalidAccessError instead of InvalidModificationError when track already exists in connection's > + set of senders as per specification (https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addtrack). > + Please note that the results for an existing test were updated for this fix, e.g. something like: Updated existing test results: fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt
Created attachment 281262 [details] Patch for landing
I landed a new patch with proposed modification in ChangeLog. Thanks for the review.
Comment on attachment 281262 [details] Patch for landing Clearing flags on attachment: 281262 Committed r202049: <http://trac.webkit.org/changeset/202049>
All reviewed patches have been landed. Closing bug.