Bug 1390521 - Enable tests. r?jib draft
authorAndreas Pehrson <pehrsons@mozilla.com>
Mon, 28 Aug 2017 15:09:55 +0200
changeset 655722 e3a2f22bf426bf59735fd285205d6f4649e8e804
parent 654818 3246030a22ff99032b54325a4a5084e34c2daeba
child 655723 d21149cbfd88c1bf367b2297883195bc5e573e58
push id76955
push userbmo:apehrson@mozilla.com
push dateWed, 30 Aug 2017 10:03:49 +0000
reviewersjib
bugs1390521
milestone57.0a1
Bug 1390521 - Enable tests. r?jib MozReview-Commit-ID: 4IqSsSqHlWj
testing/web-platform/meta/webrtc/RTCPeerConnection-addTrack.html.ini
testing/web-platform/meta/webrtc/RTCPeerConnection-getStats.html.ini
testing/web-platform/meta/webrtc/RTCPeerConnection-ontrack.html.ini
testing/web-platform/meta/webrtc/RTCPeerConnection-removeTrack.html.ini
testing/web-platform/meta/webrtc/RTCRtpReceiver-getContributingSources.html.ini
testing/web-platform/meta/webrtc/RTCRtpReceiver-getSynchronizationSources.html.ini
testing/web-platform/meta/webrtc/interfaces.html.ini
testing/web-platform/meta/webrtc/simplecall.html.ini
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-addTrack.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCPeerConnection-addTrack.html.ini
@@ -1,50 +1,21 @@
 [RTCPeerConnection-addTrack.html]
   type: testharness
-  disabled:
-    if (os == "mac") and stylo: https://bugzilla.mozilla.org/show_bug.cgi?id=1388550
-  expected:
-    if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    TIMEOUT
-  [addTrack when pc is closed should throw InvalidStateError]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      TIMEOUT
 
   [addTrack with single track argument should succeed]
     expected: FAIL
 
   [Adding the same track multiple times should throw InvalidAccessError]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [addTrack with existing sender with null track, same kind, and recvonly direction should reuse sender]
     expected: FAIL
 
   [addTrack with existing sender with null track, same kind, and sendrecv direction should create new sender]
     expected: FAIL
 
   [addTrack with existing sender with null track, different kind, and recvonly direction should create new sender]
     expected: FAIL
 
   [addTrack with single track argument and no mediaStream should succeed]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
-  [addTrack with single track argument and single mediaStream should succeed]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
-
-  [addTrack with single track argument and multiple mediaStreams should succeed]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
-
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-getStats.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCPeerConnection-getStats.html.ini
@@ -1,54 +1,24 @@
 [RTCPeerConnection-getStats.html]
   type: testharness
-  expected:
-    if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    TIMEOUT
+
   [getStats() with track not added to connection should reject with InvalidAccessError]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      TIMEOUT
-
-  [getStats() with track added via addTrack should succeed]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [getStats() with track added via addTransceiver should succeed]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [getStats() with track associated with more than one sender should reject with InvalidAccessError]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [getStats() with track associated with both sender and receiver should reject with InvalidAccessError]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [getStats() with no argument should return stats report containing peer-connection stats]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [getStats() on track associated with RtpSender should return stats report containing outbound-rtp stats]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [getStats() on track associated with RtpReceiver should return stats report containing inbound-rtp stats]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-ontrack.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCPeerConnection-ontrack.html.ini
@@ -1,21 +1,15 @@
 [RTCPeerConnection-ontrack.html]
   type: testharness
-  expected:
-    if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    TIMEOUT
+
   [setRemoteDescription should trigger ontrack event when the MSID of the stream is is parsed.]
     expected: FAIL
 
   [addTrack() should cause remote connection to fire ontrack when setRemoteDescription()]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      TIMEOUT
+    expected: FAIL
 
   [addTransceiver('video') should cause remote connection to fire ontrack when setRemoteDescription()]
     expected: FAIL
 
   [addTransceiver() with inactive direction should not cause remote connection to fire ontrack when setRemoteDescription()]
     expected: FAIL
 
--- a/testing/web-platform/meta/webrtc/RTCPeerConnection-removeTrack.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCPeerConnection-removeTrack.html.ini
@@ -1,78 +1,45 @@
 [RTCPeerConnection-removeTrack.html]
   type: testharness
-  expected:
-    if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    TIMEOUT
+
   [Calling removeTrack when connection is closed should throw InvalidStateError]
     expected: FAIL
 
   [Calling removeTrack on different connection that is closed should throw InvalidStateError]
     expected: FAIL
 
   [Calling removeTrack on different connection should throw InvalidAccessError]
     expected: FAIL
 
   [Calling removeTrack with valid sender should set sender.track to null]
     expected: FAIL
 
   [Calling removeTrack with currentDirection sendrecv should set direction to recvonly]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [Calling removeTrack with currentDirection sendonly should set direction to inactive]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [Calling removeTrack with currentDirection recvonly should not change direction]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [Calling removeTrack with currentDirection inactive should not change direction]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [addTransceiver - Calling removeTrack when connection is closed should throw InvalidStateError]
     expected: FAIL
 
-  [addTrack - Calling removeTrack when connection is closed should throw InvalidStateError]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      TIMEOUT
-
   [addTransceiver - Calling removeTrack on different connection that is closed should throw InvalidStateError]
     expected: FAIL
 
-  [addTrack - Calling removeTrack on different connection that is closed should throw InvalidStateError]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
-
   [addTransceiver - Calling removeTrack on different connection should throw InvalidAccessError]
     expected: FAIL
 
   [addTrack - Calling removeTrack on different connection should throw InvalidAccessError]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
   [addTransceiver - Calling removeTrack with valid sender should set sender.track to null]
     expected: FAIL
 
   [addTrack - Calling removeTrack with valid sender should set sender.track to null]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      NOTRUN
+    expected: FAIL
 
--- a/testing/web-platform/meta/webrtc/RTCRtpReceiver-getContributingSources.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCRtpReceiver-getContributingSources.html.ini
@@ -1,12 +1,5 @@
 [RTCRtpReceiver-getContributingSources.html]
   type: testharness
-  expected:
-    if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    TIMEOUT
   [getContributingSources() should return list of CSRC after connection is established]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      TIMEOUT
+    expected: FAIL
 
--- a/testing/web-platform/meta/webrtc/RTCRtpReceiver-getSynchronizationSources.html.ini
+++ b/testing/web-platform/meta/webrtc/RTCRtpReceiver-getSynchronizationSources.html.ini
@@ -1,12 +1,5 @@
 [RTCRtpReceiver-getSynchronizationSources.html]
   type: testharness
-  expected:
-    if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): OK
-    TIMEOUT
   [getContributingSources() should return list of CSRC after connection is established]
-    expected:
-      if not debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      if debug and not stylo and e10s and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
-      TIMEOUT
+    expected: FAIL
 
--- a/testing/web-platform/meta/webrtc/interfaces.html.ini
+++ b/testing/web-platform/meta/webrtc/interfaces.html.ini
@@ -1,13 +1,11 @@
 [interfaces.html]
   type: testharness
-  expected:
-    if e10s and (os == "mac"): OK
-    TIMEOUT
+
   [MediaStreamTrack interface: attribute isolated]
     expected: FAIL
 
   [MediaStreamTrack interface: attribute onisolationchange]
     expected: FAIL
 
   [RTCPeerConnection interface: existence and properties of interface object]
     expected: FAIL
@@ -616,29 +614,19 @@
     expected: FAIL
 
   [RTCErrorEvent interface: existence and properties of interface prototype object's "constructor" property]
     expected: FAIL
 
   [RTCErrorEvent interface: attribute error]
     expected: FAIL
 
-  [Main test driver]
-    expected:
-      if e10s and (os == "mac"): PASS
-      TIMEOUT
-
   [Test driver for asyncInitTransports]
     expected: FAIL
 
-  [Test driver for asyncInitMediaStreamTrack]
-    expected:
-      if e10s and (os == "mac"): FAIL
-      TIMEOUT
-
   [MediaStreamTrack interface: existence and properties of interface object]
     expected: FAIL
 
   [MediaStreamTrack interface: existence and properties of interface prototype object]
     expected: FAIL
 
   [MediaStreamTrack must be primary interface of idlTestObjects.mediaStreamTrack]
     expected: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/webrtc/simplecall.html.ini
+++ /dev/null
@@ -1,12 +0,0 @@
-[simplecall.html]
-  type: testharness
-  [Can set up a basic WebRTC call.]
-    expected:
-      if not debug and not e10s and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): TIMEOUT
-      if debug and e10s and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): TIMEOUT
-      if not debug and not e10s and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): TIMEOUT
-      if not debug and e10s and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): TIMEOUT
-      if not debug and e10s and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): TIMEOUT
-      if debug and not e10s and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): TIMEOUT
-      FAIL
-