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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-idl-expected.txt

Issue 2441593002: binding: Returns a reject promise when |this| is not of the type. (Closed)
Patch Set: Updated test expectations. Created 4 years, 1 month 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 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'crea teOffer' on 'RTCPeerConnection': Illegal invocation
2 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'setL ocalDescription' on 'RTCPeerConnection': Illegal invocation
3 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'crea teAnswer' on 'RTCPeerConnection': Illegal invocation
4 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'setR emoteDescription' on 'RTCPeerConnection': Illegal invocation
5 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'addI ceCandidate' on 'RTCPeerConnection': Illegal invocation
6 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'getS tats' on 'RTCPeerConnection': Illegal invocation
1 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'setL ocalDescription' on 'RTCPeerConnection': 1 argument required, but only 0 present . 7 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'setL ocalDescription' on 'RTCPeerConnection': 1 argument required, but only 0 present .
2 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'setR emoteDescription' on 'RTCPeerConnection': 1 argument required, but only 0 presen t. 8 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'setR emoteDescription' on 'RTCPeerConnection': 1 argument required, but only 0 presen t.
3 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'addI ceCandidate' on 'RTCPeerConnection': 1 argument required, but only 0 present. 9 CONSOLE ERROR: line 75: Uncaught (in promise) TypeError: Failed to execute 'addI ceCandidate' on 'RTCPeerConnection': 1 argument required, but only 0 present.
4 This is a testharness.js-based test. 10 This is a testharness.js-based test.
5 PASS EventTarget interface: existence and properties of interface object 11 PASS EventTarget interface: existence and properties of interface object
6 PASS EventTarget interface object length 12 PASS EventTarget interface object length
7 PASS EventTarget interface object name 13 PASS EventTarget interface object name
8 FAIL EventTarget interface: existence and properties of interface prototype obje ct assert_equals: class string of EventTarget.prototype expected "[object EventT argetPrototype]" but got "[object EventTarget]" 14 FAIL EventTarget interface: existence and properties of interface prototype obje ct assert_equals: class string of EventTarget.prototype expected "[object EventT argetPrototype]" but got "[object EventTarget]"
9 PASS EventTarget interface: existence and properties of interface prototype obje ct's "constructor" property 15 PASS EventTarget interface: existence and properties of interface prototype obje ct's "constructor" property
10 PASS RTCPeerConnection interface: existence and properties of interface object 16 PASS RTCPeerConnection interface: existence and properties of interface object
11 PASS RTCPeerConnection interface object length 17 PASS RTCPeerConnection interface object length
12 PASS RTCPeerConnection interface object name 18 PASS RTCPeerConnection interface object name
13 FAIL RTCPeerConnection interface: existence and properties of interface prototyp e object assert_equals: class string of RTCPeerConnection.prototype expected "[o bject RTCPeerConnectionPrototype]" but got "[object RTCPeerConnection]" 19 FAIL RTCPeerConnection interface: existence and properties of interface prototyp e object assert_equals: class string of RTCPeerConnection.prototype expected "[o bject RTCPeerConnectionPrototype]" but got "[object RTCPeerConnection]"
14 PASS RTCPeerConnection interface: existence and properties of interface prototyp e object's "constructor" property 20 PASS RTCPeerConnection interface: existence and properties of interface prototyp e object's "constructor" property
15 FAIL RTCPeerConnection interface: operation createOffer(RTCOfferOptions) assert_ unreached: Throws "TypeError: Illegal invocation" instead of rejecting promise R eached unreachable code 21 PASS RTCPeerConnection interface: operation createOffer(RTCOfferOptions)
16 FAIL RTCPeerConnection interface: operation createAnswer(RTCAnswerOptions) asser t_unreached: Throws "TypeError: Illegal invocation" instead of rejecting promise Reached unreachable code 22 PASS RTCPeerConnection interface: operation createAnswer(RTCAnswerOptions)
17 FAIL RTCPeerConnection interface: operation setLocalDescription(RTCSessionDescri ption) assert_unreached: Throws "TypeError: Illegal invocation" instead of rejec ting promise Reached unreachable code 23 PASS RTCPeerConnection interface: operation setLocalDescription(RTCSessionDescri ption)
18 PASS RTCPeerConnection interface: attribute localDescription 24 PASS RTCPeerConnection interface: attribute localDescription
19 FAIL RTCPeerConnection interface: attribute currentLocalDescription assert_true: The prototype object must have a property "currentLocalDescription" expected tr ue got false 25 FAIL RTCPeerConnection interface: attribute currentLocalDescription assert_true: The prototype object must have a property "currentLocalDescription" expected tr ue got false
20 FAIL RTCPeerConnection interface: attribute pendingLocalDescription assert_true: The prototype object must have a property "pendingLocalDescription" expected tr ue got false 26 FAIL RTCPeerConnection interface: attribute pendingLocalDescription assert_true: The prototype object must have a property "pendingLocalDescription" expected tr ue got false
21 FAIL RTCPeerConnection interface: operation setRemoteDescription(RTCSessionDescr iption) assert_unreached: Throws "TypeError: Illegal invocation" instead of reje cting promise Reached unreachable code 27 PASS RTCPeerConnection interface: operation setRemoteDescription(RTCSessionDescr iption)
22 PASS RTCPeerConnection interface: attribute remoteDescription 28 PASS RTCPeerConnection interface: attribute remoteDescription
23 FAIL RTCPeerConnection interface: attribute currentRemoteDescription assert_true : The prototype object must have a property "currentRemoteDescription" expected true got false 29 FAIL RTCPeerConnection interface: attribute currentRemoteDescription assert_true : The prototype object must have a property "currentRemoteDescription" expected true got false
24 FAIL RTCPeerConnection interface: attribute pendingRemoteDescription assert_true : The prototype object must have a property "pendingRemoteDescription" expected true got false 30 FAIL RTCPeerConnection interface: attribute pendingRemoteDescription assert_true : The prototype object must have a property "pendingRemoteDescription" expected true got false
25 FAIL RTCPeerConnection interface: operation addIceCandidate(RTCIceCandidate) ass ert_unreached: Throws "TypeError: Illegal invocation" instead of rejecting promi se Reached unreachable code 31 PASS RTCPeerConnection interface: operation addIceCandidate(RTCIceCandidate)
26 PASS RTCPeerConnection interface: attribute signalingState 32 PASS RTCPeerConnection interface: attribute signalingState
27 PASS RTCPeerConnection interface: attribute iceGatheringState 33 PASS RTCPeerConnection interface: attribute iceGatheringState
28 PASS RTCPeerConnection interface: attribute iceConnectionState 34 PASS RTCPeerConnection interface: attribute iceConnectionState
29 FAIL RTCPeerConnection interface: attribute canTrickleIceCandidates assert_true: The prototype object must have a property "canTrickleIceCandidates" expected tr ue got false 35 FAIL RTCPeerConnection interface: attribute canTrickleIceCandidates assert_true: The prototype object must have a property "canTrickleIceCandidates" expected tr ue got false
30 FAIL RTCPeerConnection interface: operation getConfiguration() assert_own_proper ty: interface prototype object missing non-static operation expected property "g etConfiguration" missing 36 FAIL RTCPeerConnection interface: operation getConfiguration() assert_own_proper ty: interface prototype object missing non-static operation expected property "g etConfiguration" missing
31 FAIL RTCPeerConnection interface: operation setConfiguration(RTCConfiguration) a ssert_own_property: interface prototype object missing non-static operation expe cted property "setConfiguration" missing 37 FAIL RTCPeerConnection interface: operation setConfiguration(RTCConfiguration) a ssert_own_property: interface prototype object missing non-static operation expe cted property "setConfiguration" missing
32 PASS RTCPeerConnection interface: operation close() 38 PASS RTCPeerConnection interface: operation close()
33 PASS RTCPeerConnection interface: attribute onnegotiationneeded 39 PASS RTCPeerConnection interface: attribute onnegotiationneeded
34 PASS RTCPeerConnection interface: attribute onicecandidate 40 PASS RTCPeerConnection interface: attribute onicecandidate
35 PASS RTCPeerConnection interface: attribute onsignalingstatechange 41 PASS RTCPeerConnection interface: attribute onsignalingstatechange
36 PASS RTCPeerConnection interface: attribute oniceconnectionstatechange 42 PASS RTCPeerConnection interface: attribute oniceconnectionstatechange
37 FAIL RTCPeerConnection interface: attribute onicegatheringstatechange assert_tru e: The prototype object must have a property "onicegatheringstatechange" expecte d true got false 43 FAIL RTCPeerConnection interface: attribute onicegatheringstatechange assert_tru e: The prototype object must have a property "onicegatheringstatechange" expecte d true got false
38 PASS RTCPeerConnection interface: operation createOffer(RTCSessionDescriptionCal lback,RTCPeerConnectionErrorCallback,RTCOfferOptions) 44 FAIL RTCPeerConnection interface: operation createOffer(RTCSessionDescriptionCal lback,RTCPeerConnectionErrorCallback,RTCOfferOptions) assert_throws: calling ope ration with this = null didn't throw TypeError function "function () {
39 PASS RTCPeerConnection interface: operation setLocalDescription(RTCSessionDescri ption,VoidFunction,RTCPeerConnectionErrorCallback) 45 fn.apply(obj, args);
40 PASS RTCPeerConnection interface: operation createAnswer(RTCSessionDescriptionCa llback,RTCPeerConnectionErrorCallback) 46 }" did not throw
41 PASS RTCPeerConnection interface: operation setRemoteDescription(RTCSessionDescr iption,VoidFunction,RTCPeerConnectionErrorCallback) 47 FAIL RTCPeerConnection interface: operation setLocalDescription(RTCSessionDescri ption,VoidFunction,RTCPeerConnectionErrorCallback) assert_throws: calling operat ion with this = null didn't throw TypeError function "function () {
42 PASS RTCPeerConnection interface: operation addIceCandidate(RTCIceCandidate,Void Function,RTCPeerConnectionErrorCallback) 48 fn.apply(obj, args);
43 PASS RTCPeerConnection interface: operation getStats(MediaStreamTrack,RTCStatsCa llback,RTCPeerConnectionErrorCallback) 49 }" did not throw
50 FAIL RTCPeerConnection interface: operation createAnswer(RTCSessionDescriptionCa llback,RTCPeerConnectionErrorCallback) assert_throws: calling operation with thi s = null didn't throw TypeError function "function () {
51 fn.apply(obj, args);
52 }" did not throw
53 FAIL RTCPeerConnection interface: operation setRemoteDescription(RTCSessionDescr iption,VoidFunction,RTCPeerConnectionErrorCallback) assert_throws: calling opera tion with this = null didn't throw TypeError function "function () {
54 fn.apply(obj, args);
55 }" did not throw
56 FAIL RTCPeerConnection interface: operation addIceCandidate(RTCIceCandidate,Void Function,RTCPeerConnectionErrorCallback) assert_throws: calling operation with t his = null didn't throw TypeError function "function () {
57 fn.apply(obj, args);
58 }" did not throw
59 FAIL RTCPeerConnection interface: operation getStats(MediaStreamTrack,RTCStatsCa llback,RTCPeerConnectionErrorCallback) assert_throws: calling operation with thi s = null didn't throw TypeError function "function () {
60 fn.apply(obj, args);
61 }" did not throw
44 PASS RTCPeerConnection interface: operation generateCertificate(AlgorithmIdentif ier) 62 PASS RTCPeerConnection interface: operation generateCertificate(AlgorithmIdentif ier)
45 FAIL RTCPeerConnection interface: operation getSenders() assert_own_property: in terface prototype object missing non-static operation expected property "getSend ers" missing 63 FAIL RTCPeerConnection interface: operation getSenders() assert_own_property: in terface prototype object missing non-static operation expected property "getSend ers" missing
46 FAIL RTCPeerConnection interface: operation getReceivers() assert_own_property: interface prototype object missing non-static operation expected property "getRe ceivers" missing 64 FAIL RTCPeerConnection interface: operation getReceivers() assert_own_property: interface prototype object missing non-static operation expected property "getRe ceivers" missing
47 FAIL RTCPeerConnection interface: operation addTrack(MediaStreamTrack,MediaStrea m) assert_own_property: interface prototype object missing non-static operation expected property "addTrack" missing 65 FAIL RTCPeerConnection interface: operation addTrack(MediaStreamTrack,MediaStrea m) assert_own_property: interface prototype object missing non-static operation expected property "addTrack" missing
48 FAIL RTCPeerConnection interface: operation removeTrack(RTCRtpSender) assert_own _property: interface prototype object missing non-static operation expected prop erty "removeTrack" missing 66 FAIL RTCPeerConnection interface: operation removeTrack(RTCRtpSender) assert_own _property: interface prototype object missing non-static operation expected prop erty "removeTrack" missing
49 FAIL RTCPeerConnection interface: attribute ontrack assert_true: The prototype o bject must have a property "ontrack" expected true got false 67 FAIL RTCPeerConnection interface: attribute ontrack assert_true: The prototype o bject must have a property "ontrack" expected true got false
50 PASS RTCPeerConnection interface: operation createDataChannel(DOMString,RTCDataC hannelInit) 68 PASS RTCPeerConnection interface: operation createDataChannel(DOMString,RTCDataC hannelInit)
51 PASS RTCPeerConnection interface: attribute ondatachannel 69 PASS RTCPeerConnection interface: attribute ondatachannel
52 FAIL RTCPeerConnection interface: attribute dtmf assert_true: The prototype obje ct must have a property "dtmf" expected true got false 70 FAIL RTCPeerConnection interface: attribute dtmf assert_true: The prototype obje ct must have a property "dtmf" expected true got false
53 FAIL RTCPeerConnection interface: operation getStats(MediaStreamTrack) assert_un reached: Throws "TypeError: Illegal invocation" instead of rejecting promise Rea ched unreachable code 71 PASS RTCPeerConnection interface: operation getStats(MediaStreamTrack)
54 FAIL RTCPeerConnection interface: operation setIdentityProvider(DOMString,DOMStr ing,DOMString) assert_own_property: interface prototype object missing non-stati c operation expected property "setIdentityProvider" missing 72 FAIL RTCPeerConnection interface: operation setIdentityProvider(DOMString,DOMStr ing,DOMString) assert_own_property: interface prototype object missing non-stati c operation expected property "setIdentityProvider" missing
55 FAIL RTCPeerConnection interface: operation getIdentityAssertion() assert_own_pr operty: interface prototype object missing non-static operation expected propert y "getIdentityAssertion" missing 73 FAIL RTCPeerConnection interface: operation getIdentityAssertion() assert_own_pr operty: interface prototype object missing non-static operation expected propert y "getIdentityAssertion" missing
56 FAIL RTCPeerConnection interface: attribute peerIdentity assert_true: The protot ype object must have a property "peerIdentity" expected true got false 74 FAIL RTCPeerConnection interface: attribute peerIdentity assert_true: The protot ype object must have a property "peerIdentity" expected true got false
57 FAIL RTCPeerConnection interface: attribute idpLoginUrl assert_true: The prototy pe object must have a property "idpLoginUrl" expected true got false 75 FAIL RTCPeerConnection interface: attribute idpLoginUrl assert_true: The prototy pe object must have a property "idpLoginUrl" expected true got false
58 PASS RTCPeerConnection must be primary interface of pc 76 PASS RTCPeerConnection must be primary interface of pc
59 PASS Stringification of pc 77 PASS Stringification of pc
60 PASS RTCPeerConnection interface: pc must inherit property "createOffer" with th e proper type (0) 78 PASS RTCPeerConnection interface: pc must inherit property "createOffer" with th e proper type (0)
61 PASS RTCPeerConnection interface: calling createOffer(RTCOfferOptions) on pc wit h too few arguments must throw TypeError 79 PASS RTCPeerConnection interface: calling createOffer(RTCOfferOptions) on pc wit h too few arguments must throw TypeError
62 PASS RTCPeerConnection interface: pc must inherit property "createAnswer" with t he proper type (1) 80 PASS RTCPeerConnection interface: pc must inherit property "createAnswer" with t he proper type (1)
63 PASS RTCPeerConnection interface: calling createAnswer(RTCAnswerOptions) on pc w ith too few arguments must throw TypeError 81 PASS RTCPeerConnection interface: calling createAnswer(RTCAnswerOptions) on pc w ith too few arguments must throw TypeError
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 FAIL RTCPeerConnection interface: pc must inherit property "dtmf" with the prope r type (37) assert_inherits: property "dtmf" not found in prototype chain 137 FAIL RTCPeerConnection interface: pc must inherit property "dtmf" with the prope r type (37) assert_inherits: property "dtmf" not found in prototype chain
120 PASS RTCPeerConnection interface: pc must inherit property "getStats" with the p roper type (38) 138 PASS RTCPeerConnection interface: pc must inherit property "getStats" with the p roper type (38)
121 PASS RTCPeerConnection interface: calling getStats(MediaStreamTrack) on pc with too few arguments must throw TypeError 139 PASS RTCPeerConnection interface: calling getStats(MediaStreamTrack) on pc with too few arguments must throw TypeError
122 FAIL RTCPeerConnection interface: pc must inherit property "setIdentityProvider" with the proper type (39) assert_inherits: property "setIdentityProvider" not f ound in prototype chain 140 FAIL RTCPeerConnection interface: pc must inherit property "setIdentityProvider" with the proper type (39) assert_inherits: property "setIdentityProvider" not f ound in prototype chain
123 FAIL RTCPeerConnection interface: calling setIdentityProvider(DOMString,DOMStrin g,DOMString) on pc with too few arguments must throw TypeError assert_inherits: property "setIdentityProvider" not found in prototype chain 141 FAIL RTCPeerConnection interface: calling setIdentityProvider(DOMString,DOMStrin g,DOMString) on pc with too few arguments must throw TypeError assert_inherits: property "setIdentityProvider" not found in prototype chain
124 FAIL RTCPeerConnection interface: pc must inherit property "getIdentityAssertion " with the proper type (40) assert_inherits: property "getIdentityAssertion" not found in prototype chain 142 FAIL RTCPeerConnection interface: pc must inherit property "getIdentityAssertion " with the proper type (40) assert_inherits: property "getIdentityAssertion" not found in prototype chain
125 FAIL RTCPeerConnection interface: pc must inherit property "peerIdentity" with t he proper type (41) assert_inherits: property "peerIdentity" not found in protot ype chain 143 FAIL RTCPeerConnection interface: pc must inherit property "peerIdentity" with t he proper type (41) assert_inherits: property "peerIdentity" not found in protot ype chain
126 FAIL RTCPeerConnection interface: pc must inherit property "idpLoginUrl" with th e proper type (42) assert_inherits: property "idpLoginUrl" not found in prototyp e chain 144 FAIL RTCPeerConnection interface: pc must inherit property "idpLoginUrl" with th e proper type (42) assert_inherits: property "idpLoginUrl" not found in prototyp e chain
127 Harness: the test ran to completion. 145 Harness: the test ran to completion.
128 146
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698