Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Issue 2442763002: Convert Dictionary handling to RTCConfiguration IDL dictionary (Closed)

Created:
4 years, 2 months ago by foolip
Modified:
4 years, 1 month ago
CC:
asvitkine+watch_chromium.org, blink-reviews, chromium-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert Dictionary handling to RTCConfiguration IDL dictionary This preserves behavior as far as possible and adds use counters for cases that aren't per spec. One intentional change is that the first argument of the RTCPeerConnection constructor is made optional, as that is a very low risk change, and requiring the dictionary makes no sense when providing null, undefined and {iceServers:[]} already work. Without custom bindings it is unfortunately not possible to distinguish {certificates:null} from no certificates specified, so that is not measured. BUG=649343 Committed: https://crrev.com/379271912cc80682629cc26c7199f89841e3c038 Cr-Commit-Position: refs/heads/master@{#427065}

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase #

Patch Set 3 : revert rtcpMuxPolicy default, also measure urls #

Total comments: 18

Patch Set 4 : address hbos@'s feedback #

Messages

Total messages: 34 (17 generated)
foolip
PTAL! With this done, I see nothing block unprefixing of RTCPeerConnection. (For that, I'd send ...
4 years, 2 months ago (2016-10-21 13:37:03 UTC) #2
Mike West
histograms.xml LGTM.
4 years, 2 months ago (2016-10-21 14:09:13 UTC) #4
hbos_chromium
First pass: Looks good. I'll have to take a closer look on the airplane back ...
4 years, 2 months ago (2016-10-21 17:18:12 UTC) #5
foolip
Looks like WebRtcSimulcastBrowserTest.TestVgaReturnsTwoSimulcastStreams is a sad test, probably because of this code changing behavior: https://cs.chromium.org/chromium/src/chrome/test/data/webrtc/webrtc-simulcast.html?q=testVgaReturnsTwoSimulcastStreams&sq=package:chromium&dr=C&l=136
4 years, 2 months ago (2016-10-21 23:16:27 UTC) #10
hta - Chromium
lgtm https://codereview.chromium.org/2442763002/diff/1/third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl File third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl (right): https://codereview.chromium.org/2442763002/diff/1/third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl#newcode13 third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl:13: // TODO(foolip): RTCIceCredentialType credentialType = "password"; Any reason ...
4 years, 2 months ago (2016-10-23 07:03:49 UTC) #15
foolip
https://codereview.chromium.org/2442763002/diff/1/third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl File third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl (right): https://codereview.chromium.org/2442763002/diff/1/third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl#newcode13 third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl:13: // TODO(foolip): RTCIceCredentialType credentialType = "password"; On 2016/10/23 07:03:49, ...
4 years, 2 months ago (2016-10-23 08:58:56 UTC) #16
foolip
https://codereview.chromium.org/2442763002/diff/40001/third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl File third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl (right): https://codereview.chromium.org/2442763002/diff/40001/third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl#newcode34 third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl:34: // TODO(foolip): |iceTransports| should be |iceTransportPolicy|. Having written https://github.com/w3c/web-platform-tests/pull/4062 ...
4 years, 2 months ago (2016-10-23 10:17:58 UTC) #17
hta - Chromium
lgtm still https://codereview.chromium.org/2442763002/diff/1/third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl File third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl (right): https://codereview.chromium.org/2442763002/diff/1/third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl#newcode13 third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl:13: // TODO(foolip): RTCIceCredentialType credentialType = "password"; On ...
4 years, 2 months ago (2016-10-23 16:39:03 UTC) #18
foolip
https://codereview.chromium.org/2442763002/diff/1/third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl File third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl (right): https://codereview.chromium.org/2442763002/diff/1/third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl#newcode13 third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl:13: // TODO(foolip): RTCIceCredentialType credentialType = "password"; On 2016/10/23 16:39:02, ...
4 years, 2 months ago (2016-10-23 20:56:51 UTC) #19
Guido Urdaneta
lgtm
4 years, 2 months ago (2016-10-24 08:56:16 UTC) #20
Guido Urdaneta
lgtm https://codereview.chromium.org/2442763002/diff/40001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-expected.txt File third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-expected.txt (right): https://codereview.chromium.org/2442763002/diff/40001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-expected.txt#newcode22 third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-expected.txt:22: PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}); threw exception TypeError: ...
4 years, 2 months ago (2016-10-24 08:56:27 UTC) #21
foolip
https://codereview.chromium.org/2442763002/diff/40001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-expected.txt File third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-expected.txt (right): https://codereview.chromium.org/2442763002/diff/40001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-expected.txt#newcode22 third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-expected.txt:22: PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}); threw exception TypeError: Failed ...
4 years, 2 months ago (2016-10-24 09:17:36 UTC) #22
hbos_chromium
lgtm https://codereview.chromium.org/2442763002/diff/40001/third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl File third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl (right): https://codereview.chromium.org/2442763002/diff/40001/third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl#newcode6 third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl:6: nit: Here and other places - do we ...
4 years, 1 month ago (2016-10-24 11:35:24 UTC) #23
foolip
https://codereview.chromium.org/2442763002/diff/40001/third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl File third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl (right): https://codereview.chromium.org/2442763002/diff/40001/third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl#newcode6 third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl:6: On 2016/10/24 11:35:24, hbos_chromium wrote: > nit: Here and ...
4 years, 1 month ago (2016-10-24 12:05:26 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2442763002/60001
4 years, 1 month ago (2016-10-24 12:05:46 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-24 14:09:10 UTC) #32
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 14:10:55 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/379271912cc80682629cc26c7199f89841e3c038
Cr-Commit-Position: refs/heads/master@{#427065}

Powered by Google App Engine
This is Rietveld 408576698