Bug 1264479: adapt WPT to interface changes. r?jgraham
MozReview-Commit-ID: 4ox2A5qnRW4
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-constructor.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCPeerConnection-constructor.html.ini
@@ -19,23 +19,11 @@
expected: FAIL
[new RTCPeerConnection({ iceCandidatePoolSize: toNumberThrows })]
expected: FAIL
[new RTCPeerConnection({ certificates: [expiredCertificate\] })]
expected: FAIL
- [currentLocalDescription initial value]
- expected: FAIL
-
- [pendingLocalDescription initial value]
- expected: FAIL
-
- [currentRemoteDescription initial value]
- expected: FAIL
-
- [pendingRemoteDescription initial value]
- expected: FAIL
-
[connectionState initial value]
expected: FAIL
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-idl.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCPeerConnection-idl.html.ini
@@ -1,22 +1,10 @@
[RTCPeerConnection-idl.html]
type: testharness
- [RTCPeerConnection interface: attribute currentLocalDescription]
- expected: FAIL
-
- [RTCPeerConnection interface: attribute pendingLocalDescription]
- expected: FAIL
-
- [RTCPeerConnection interface: attribute currentRemoteDescription]
- expected: FAIL
-
- [RTCPeerConnection interface: attribute pendingRemoteDescription]
- expected: FAIL
-
[RTCPeerConnection interface: operation setConfiguration(RTCConfiguration)]
expected: FAIL
[RTCPeerConnection interface: operation createOffer(RTCSessionDescriptionCallback,RTCPeerConnectionErrorCallback,RTCOfferOptions)]
expected: FAIL
[RTCPeerConnection interface: operation setLocalDescription(RTCSessionDescription,VoidFunction,RTCPeerConnectionErrorCallback)]
expected: FAIL
@@ -34,28 +22,16 @@
expected: FAIL
[RTCPeerConnection interface: operation addTrack(MediaStreamTrack,MediaStream)]
expected: FAIL
[RTCPeerConnection interface: attribute dtmf]
expected: FAIL
- [RTCPeerConnection interface: pc must inherit property "currentLocalDescription" with the proper type (4)]
- expected: FAIL
-
- [RTCPeerConnection interface: pc must inherit property "pendingLocalDescription" with the proper type (5)]
- expected: FAIL
-
- [RTCPeerConnection interface: pc must inherit property "currentRemoteDescription" with the proper type (8)]
- expected: FAIL
-
- [RTCPeerConnection interface: pc must inherit property "pendingRemoteDescription" with the proper type (9)]
- expected: FAIL
-
[RTCPeerConnection interface: pc must inherit property "signalingState" with the proper type (11)]
expected: FAIL
[RTCPeerConnection interface: pc must inherit property "iceGatheringState" with the proper type (12)]
expected: FAIL
[RTCPeerConnection interface: pc must inherit property "iceConnectionState" with the proper type (13)]
expected: FAIL
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-setLocalDescription-answer.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCPeerConnection-setLocalDescription-answer.html.ini
@@ -1,13 +1,10 @@
[RTCPeerConnection-setLocalDescription-answer.html]
type: testharness
- [setLocalDescription() with valid answer should succeed]
- expected: FAIL
-
[setLocalDescription() with type answer and null sdp should use lastAnswer generated from createAnswer]
expected: FAIL
[setLocalDescription() with answer not created by own createAnswer() should reject with InvalidModificationError]
expected: FAIL
[Calling setLocalDescription(answer) from stable state should reject with InvalidStateError]
expected: FAIL
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-setLocalDescription-offer.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCPeerConnection-setLocalDescription-offer.html.ini
@@ -1,13 +1,10 @@
[RTCPeerConnection-setLocalDescription-offer.html]
type: testharness
- [setLocalDescription with valid offer should succeed]
- expected: FAIL
-
[setLocalDescription with type offer and null sdp should use lastOffer generated from createOffer]
expected: FAIL
[setLocalDescription() with offer not created by own createOffer() should reject with InvalidModificationError]
expected: FAIL
[Set created offer other than last offer should reject with InvalidModificationError]
expected: FAIL
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-setLocalDescription.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCPeerConnection-setLocalDescription.html.ini
@@ -20,19 +20,16 @@
expected: FAIL
[setLocalDescription() with type answer and null sdp should use lastAnswer generated from createAnswer]
expected: FAIL
[setLocalDescription() with answer not created by own createAnswer() should reject with InvalidModificationError]
expected: FAIL
- [Calling createOffer() and setLocalDescription() again after one round of local-offer/remote-answer should succeed]
- expected: FAIL
-
[Switching role from answerer to offerer after going back to stable state should succeed]
expected: FAIL
[Calling setLocalDescription(answer) from stable state should reject with InvalidStateError]
expected: FAIL
[Calling setLocalDescription(answer) from have-local-offer state should reject with InvalidStateError]
expected: FAIL
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-setRemoteDescription-answer.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCPeerConnection-setRemoteDescription-answer.html.ini
@@ -1,11 +1,8 @@
[RTCPeerConnection-setRemoteDescription-answer.html]
type: testharness
- [setRemoteDescription() with valid state and answer should succeed]
- expected: FAIL
-
[Calling setRemoteDescription(answer) from stable state should reject with InvalidStateError]
expected: FAIL
[Calling setRemoteDescription(answer) from have-remote-offer state should reject with InvalidStateError]
expected: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-setRemoteDescription-rollback.html.ini
+++ /dev/null
@@ -1,9 +0,0 @@
-[RTCPeerConnection-setRemoteDescription-rollback.html]
- type: testharness
- expected: TIMEOUT
- [setRemoteDescription(rollback) in have-remote-offer state should revert to stable state]
- expected: FAIL
-
- [Test onsignalingstatechange event for setRemoteDescription(rollback) in have-remote-offer state should revert to stable state]
- expected: TIMEOUT
-
--- a/testing/web-platform/meta/webrtc/interfaces.html.ini
+++ b/testing/web-platform/meta/webrtc/interfaces.html.ini
@@ -10,28 +10,16 @@
expected: FAIL
[RTCPeerConnection interface: existence and properties of interface object]
expected: FAIL
[RTCPeerConnection interface: existence and properties of interface prototype object]
expected: FAIL
- [RTCPeerConnection interface: attribute currentLocalDescription]
- expected: FAIL
-
- [RTCPeerConnection interface: attribute pendingLocalDescription]
- expected: FAIL
-
- [RTCPeerConnection interface: attribute currentRemoteDescription]
- expected: FAIL
-
- [RTCPeerConnection interface: attribute pendingRemoteDescription]
- expected: FAIL
-
[RTCPeerConnection interface: attribute connectionState]
expected: FAIL
[RTCPeerConnection interface: attribute defaultIceServers]
expected: FAIL
[RTCPeerConnection interface: operation setConfiguration(RTCConfiguration)]
expected: FAIL
@@ -58,28 +46,16 @@
expected: FAIL
[RTCPeerConnection interface: attribute idpErrorInfo]
expected: FAIL
[Stringification of new RTCPeerConnection]
expected: FAIL
- [RTCPeerConnection interface: new RTCPeerConnection must inherit property "currentLocalDescription" with the proper type (4)]
- expected: FAIL
-
- [RTCPeerConnection interface: new RTCPeerConnection must inherit property "pendingLocalDescription" with the proper type (5)]
- expected: FAIL
-
- [RTCPeerConnection interface: new RTCPeerConnection must inherit property "currentRemoteDescription" with the proper type (8)]
- expected: FAIL
-
- [RTCPeerConnection interface: new RTCPeerConnection must inherit property "pendingRemoteDescription" with the proper type (9)]
- expected: FAIL
-
[RTCPeerConnection interface: new RTCPeerConnection must inherit property "connectionState" with the proper type (14)]
expected: FAIL
[RTCPeerConnection interface: new RTCPeerConnection must inherit property "setConfiguration" with the proper type (18)]
expected: FAIL
[RTCPeerConnection interface: calling setConfiguration(RTCConfiguration) on new RTCPeerConnection with too few arguments must throw TypeError]
expected: FAIL
@@ -665,28 +641,16 @@
expected: FAIL
[RTCPeerConnection interface: operation getDefaultIceServers()]
expected: FAIL
[Stringification of new RTCPeerConnection()]
expected: FAIL
- [RTCPeerConnection interface: new RTCPeerConnection() must inherit property "currentLocalDescription" with the proper type (4)]
- expected: FAIL
-
- [RTCPeerConnection interface: new RTCPeerConnection() must inherit property "pendingLocalDescription" with the proper type (5)]
- expected: FAIL
-
- [RTCPeerConnection interface: new RTCPeerConnection() must inherit property "currentRemoteDescription" with the proper type (8)]
- expected: FAIL
-
- [RTCPeerConnection interface: new RTCPeerConnection() must inherit property "pendingRemoteDescription" with the proper type (9)]
- expected: FAIL
-
[RTCPeerConnection interface: new RTCPeerConnection() must inherit property "connectionState" with the proper type (14)]
expected: FAIL
[RTCPeerConnection interface: new RTCPeerConnection() must inherit property "setConfiguration" with the proper type (18)]
expected: FAIL
[RTCPeerConnection interface: calling setConfiguration(RTCConfiguration) on new RTCPeerConnection() with too few arguments must throw TypeError]
expected: FAIL