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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt

Issue 2813883004: Remove RTCIceTransportPolicy "none". (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 Found 73 tests; 62 PASS, 11 FAIL, 0 TIMEOUT, 0 NOTRUN. 2 Found 73 tests; 62 PASS, 11 FAIL, 0 TIMEOUT, 0 NOTRUN.
3 PASS RTCPeerConnection.length 3 PASS RTCPeerConnection.length
4 PASS new RTCPeerConnection() 4 PASS new RTCPeerConnection()
5 PASS new RTCPeerConnection(null) 5 PASS new RTCPeerConnection(null)
6 PASS new RTCPeerConnection(undefined) 6 PASS new RTCPeerConnection(undefined)
7 PASS new RTCPeerConnection({}) 7 PASS new RTCPeerConnection({})
8 PASS new RTCPeerConnection({ iceServers: null }) 8 PASS new RTCPeerConnection({ iceServers: null })
9 PASS new RTCPeerConnection({ iceServers: undefined }) 9 PASS new RTCPeerConnection({ iceServers: undefined })
10 PASS new RTCPeerConnection({ iceServers: [] }) 10 PASS new RTCPeerConnection({ iceServers: [] })
(...skipping 25 matching lines...) Expand all
36 eval(expr); 36 eval(expr);
37 }" did not throw 37 }" did not throw
38 FAIL new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] }) assert_throws: function "function () { 38 FAIL new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] }) assert_throws: function "function () {
39 eval(expr); 39 eval(expr);
40 }" did not throw 40 }" did not throw
41 PASS new RTCPeerConnection({ iceTransportPolicy: null }) 41 PASS new RTCPeerConnection({ iceTransportPolicy: null })
42 PASS new RTCPeerConnection({ iceTransportPolicy: undefined }) 42 PASS new RTCPeerConnection({ iceTransportPolicy: undefined })
43 PASS new RTCPeerConnection({ iceTransportPolicy: "relay" }) 43 PASS new RTCPeerConnection({ iceTransportPolicy: "relay" })
44 PASS new RTCPeerConnection({ iceTransportPolicy: "all" }) 44 PASS new RTCPeerConnection({ iceTransportPolicy: "all" })
45 PASS new RTCPeerConnection({ iceTransportPolicy: "invalid" }) 45 PASS new RTCPeerConnection({ iceTransportPolicy: "invalid" })
46 FAIL new RTCPeerConnection({ iceTransportPolicy: "none" }) assert_throws: functi on "function () { 46 PASS new RTCPeerConnection({ iceTransportPolicy: "none" })
47 eval(expr);
48 }" did not throw
49 FAIL new RTCPeerConnection({ iceTransports: "invalid" }) Failed to construct 'RT CPeerConnection': The provided value 'invalid' is not a valid enum value of type RTCIceTransportPolicy. 47 FAIL new RTCPeerConnection({ iceTransports: "invalid" }) Failed to construct 'RT CPeerConnection': The provided value 'invalid' is not a valid enum value of type RTCIceTransportPolicy.
50 PASS new RTCPeerConnection({ iceTransports: "none" }) 48 FAIL new RTCPeerConnection({ iceTransports: "none" }) Failed to construct 'RTCPe erConnection': The provided value 'none' is not a valid enum value of type RTCIc eTransportPolicy.
hbos_chromium 2017/04/12 12:45:40 The test external/wpt/webrtc/rtcpeerconnection/rtc
foolip 2017/04/12 13:02:40 LayoutTests/external/wpt can be changed in CLs lik
hbos_chromium 2017/04/13 11:33:42 Acknowledged. So we want to keep expecting iceTran
foolip 2017/04/21 16:14:29 It now throws for the same reason that new RTCPeer
51 PASS new RTCPeerConnection({ bundlePolicy: null }) 49 PASS new RTCPeerConnection({ bundlePolicy: null })
52 PASS new RTCPeerConnection({ bundlePolicy: undefined }) 50 PASS new RTCPeerConnection({ bundlePolicy: undefined })
53 PASS new RTCPeerConnection({ bundlePolicy: "balanced" }) 51 PASS new RTCPeerConnection({ bundlePolicy: "balanced" })
54 PASS new RTCPeerConnection({ bundlePolicy: "max-compat" }) 52 PASS new RTCPeerConnection({ bundlePolicy: "max-compat" })
55 PASS new RTCPeerConnection({ bundlePolicy: "max-bundle" }) 53 PASS new RTCPeerConnection({ bundlePolicy: "max-bundle" })
56 PASS new RTCPeerConnection({ bundlePolicy: "invalid" }) 54 PASS new RTCPeerConnection({ bundlePolicy: "invalid" })
57 PASS new RTCPeerConnection({ rtcpMuxPolicy: null }) 55 PASS new RTCPeerConnection({ rtcpMuxPolicy: null })
58 PASS new RTCPeerConnection({ rtcpMuxPolicy: undefined }) 56 PASS new RTCPeerConnection({ rtcpMuxPolicy: undefined })
59 PASS new RTCPeerConnection({ rtcpMuxPolicy: "negotiate" }) 57 PASS new RTCPeerConnection({ rtcpMuxPolicy: "negotiate" })
60 PASS new RTCPeerConnection({ rtcpMuxPolicy: "require" }) 58 PASS new RTCPeerConnection({ rtcpMuxPolicy: "require" })
(...skipping 15 matching lines...) Expand all
76 PASS remoteDescription initial value 74 PASS remoteDescription initial value
77 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined 75 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined
78 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined 76 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined
79 PASS signalingState initial value 77 PASS signalingState initial value
80 PASS iceGatheringState initial value 78 PASS iceGatheringState initial value
81 PASS iceConnectionState initial value 79 PASS iceConnectionState initial value
82 FAIL connectionState initial value assert_equals: expected (string) "new" but go t (undefined) undefined 80 FAIL connectionState initial value assert_equals: expected (string) "new" but go t (undefined) undefined
83 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null but got (undefined) undefined 81 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null but got (undefined) undefined
84 Harness: the test ran to completion. 82 Harness: the test ran to completion.
85 83
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698