Primary eng email
Summary
RTCPeerConnection.updateIce is being renamed to setConfiguration for WebRTC standards compliance.
Motivation
The current WebRTC spec includes the renamed method.
Old version with updateIce: http://w3c.github.io/webrtc-pc/archives/20150306/webrtc.html#interface-definition
Current version with setConfiguration: http://w3c.github.io/webrtc-pc//webrtc.html#interface-definition
Compatibility Risk
In Chrome, updateIce is currently unimplemented; it always throws a SyntaxError with a message indicating that the configuration couldn't be applied.
In Firefox, updateIce throws a NotSupportedError with the message "updateIce not yet implemented".
So, we don't expect that any developers are trying to use this method, and the impact of renaming it should be very small.
Alternative implementation suggestion for web developers
Use setConfiguration instead.
Usage information from UseCounter
Haven't yet instrumented.
OWP launch tracking bug
None.
Entry on the feature dashboard
Don't think this is necessary, as the change is pretty small.
Requesting approval to remove too?
Yes.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
☆PhistucK
☆PhistucK
LGTM2
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
☆PhistucK
>>>>>> an email to blink-dev+unsubscribe@chromium.org.
>>>>>
>>>>>
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to blink-dev+unsubscribe@chromium.org.
>>>>
>>>>
>>>
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to blink-dev+unsubscribe@chromium.org.
>>
>>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to blink-dev+unsubscribe@chromium.org.
☆PhistucK
>>>>>> an email to blink-dev+...@chromium.org.
>>>>>
>>>>>
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to blink-dev+...@chromium.org.
>>>>
>>>>
>>>
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to blink-dev+...@chromium.org.
>>
>>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to blink-dev+...@chromium.org.
We had a discussion yesterday about the various paths forward; the idea of maintaining two different objects with different (but overlapping) semantics (and different bugs) seemed singularly unappealing to us.
Guesstimates of timeframes:If we apply "conformance to spec" as the criterion for unprefixing, we're looking at late 2016 or 2017. There are functions that require significant refactoring of underlying infrastructure before we can implement them properly.If we apply "all functions implemented conform to spec" as the criterion, we're looking at early 2016.
The spec specifies both, in two partial interfaces (far apart in the text). Webidl says we cannot mix promise-returning and non-promise-returning in an overload. Firefox solves this by returning a never-resolved promise from the callback-based function. We have not tried to resolve it yet. But obviously there is a spec issue here as well.
Until we go to provable code, there's no such thing as a complete test :-)What does the [TypeChecking=Interface] modifier do?
I hope we get many more tests in web-platform-tests after a while - it's the only way to make sure we have tests that are run on both Firefox and Chrome.WRT unions with dictionary:dictionary MediaStreamConstraints {(boolean or MediaTrackConstraints) video = false;(boolean or MediaTrackConstraints) audio = false;};The bug to track is https://code.google.com/p/chromium/issues/detail?id=524424