Bug 1560299 - Update expectations for several presentation-api/controlling-ua tests. r=aryx
authorCosmin Sabou <csabou@mozilla.com>
Wed, 03 Jul 2019 09:59:45 +0000
changeset 540770 348af79509c95621bb60101e294a2c3fb26cbc47
parent 540769 258f831d5d23a07bbc0ff83fe56a588b2c4afc1c
child 540771 b8ac85d3c55fa3755232aa24dc95d8f95a233807
push id11529
push userarchaeopteryx@coole-files.de
push dateThu, 04 Jul 2019 15:22:33 +0000
treeherdermozilla-beta@ebb510a784b8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaryx
bugs1560299
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1560299 - Update expectations for several presentation-api/controlling-ua tests. r=aryx Differential Revision: https://phabricator.services.mozilla.com/D36452
testing/web-platform/meta/presentation-api/controlling-ua/PresentationRequest_sandboxing_success.https.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/PresentationRequest_success.https.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/defaultRequest.https.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/getAvailability.https.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_sandboxing_success.https.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/idlharness.https.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_sandboxing_success.https.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/startNewPresentation_error.https.html.ini
--- a/testing/web-platform/meta/presentation-api/controlling-ua/PresentationRequest_sandboxing_success.https.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/PresentationRequest_sandboxing_success.https.html.ini
@@ -1,7 +1,8 @@
 [PresentationRequest_sandboxing_success.https.html]
   [Sandboxing: Creating a PresentationRequest from a nested context succeeds when allow-presentation is set]
     expected:
+      if release_or_beta and (os == "android"): FAIL
       if (os == "android") and not e10s: PASS
       if (os == "android") and e10s: PASS
       FAIL
 
--- a/testing/web-platform/meta/presentation-api/controlling-ua/PresentationRequest_success.https.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/PresentationRequest_success.https.html.ini
@@ -5,11 +5,12 @@
   [Call PresentationRequest constructor with a valid absolute presentation URL. No Exception expected.]
     expected: FAIL
 
   [Call PresentationRequest constructor with a set of valid presentation URLs. No Exception expected.]
     expected: FAIL
 
   [Constructing a PresentationRequest]
     expected:
+      if release_or_beta and (os == "android"): FAIL
       if os == "android": PASS
       FAIL
 
--- a/testing/web-platform/meta/presentation-api/controlling-ua/defaultRequest.https.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/defaultRequest.https.html.ini
@@ -1,7 +1,8 @@
 [defaultRequest.https.html]
   [Setting a default presentation request]
     expected:
+      if release_or_beta and (os == "android"): FAIL
       if (os == "android") and not e10s: PASS
       if (os == "android") and e10s: PASS
       FAIL
 
--- a/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability.https.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability.https.html.ini
@@ -1,6 +1,7 @@
 [getAvailability.https.html]
   expected:
+    if release_or_beta and (os == "android"): OK
     if os == "android": ERROR
   [Getting the presentation displays availability information.]
     expected: FAIL
 
--- a/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_sandboxing_success.https.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_sandboxing_success.https.html.ini
@@ -1,7 +1,8 @@
 [getAvailability_sandboxing_success.https.html]
   [Sandboxing: Retrieving display availability from a nested context succeeds when allow-presentation is set]
     expected:
+      if release_or_beta and (os == "android"): FAIL
       if (os == "android") and not e10s: PASS
       if (os == "android") and e10s: PASS
       FAIL
 
--- a/testing/web-platform/meta/presentation-api/controlling-ua/idlharness.https.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/idlharness.https.html.ini
@@ -1,439 +1,267 @@
+prefs: [dom.presentation.enabled:true, dom.presentation.controller.enabled:true, dom.presentation.receiver.enabled:true]
+
 [idlharness.https.html]
   [Presentation API IDL tests for Controlling User Agent]
-    expected: FAIL
+    expected: PASS
 
   [PresentationConnectionCloseEvent interface: attribute message]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: navigator.presentation.defaultRequest must inherit property "start()" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: presentation_request_urls must inherit property "onconnectionavailable" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: existence and properties of interface prototype object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: operation reconnect(USVString)]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: operation terminate()]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationAvailability interface object length]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: presentation_request_urls must inherit property "start()" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionCloseEvent interface: attribute reason]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface object length]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: operation start()]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: navigator.presentation.defaultRequest must inherit property "getAvailability()" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation interface: navigator.presentation must inherit property "receiver" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: operation send(DOMString)]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationAvailability interface: attribute onchange]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface object length]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Stringification of navigator.presentation.defaultRequest]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: existence and properties of interface prototype object's "constructor" property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation interface object length]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: operation getAvailability()]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: attribute binaryType]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest must be primary interface of navigator.presentation.defaultRequest]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionAvailableEvent interface: attribute connection]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionAvailableEvent interface object length]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation interface: attribute defaultRequest]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: presentation_request_urls must inherit property "reconnect(USVString)" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: existence and properties of interface prototype object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation must be primary interface of navigator.presentation]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: existence and properties of interface prototype object's "constructor" property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: calling reconnect(USVString) on navigator.presentation.defaultRequest with too few arguments must throw TypeError]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface object name]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionAvailableEvent interface object name]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: navigator.presentation.defaultRequest must inherit property "reconnect(USVString)" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation interface: existence and properties of interface object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation interface object name]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation interface: navigator.presentation must inherit property "defaultRequest" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface object name]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation interface: attribute receiver]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: navigator.presentation.defaultRequest must inherit property "onconnectionavailable" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionAvailableEvent interface: existence and properties of interface prototype object's "constructor" property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest must be primary interface of presentation_request_urls]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Stringification of presentation_request]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationAvailability interface: existence and properties of interface prototype object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationAvailability interface object name]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: presentation_request_urls must inherit property "getAvailability()" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: presentation_request must inherit property "start()" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: attribute onclose]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: operation close()]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Stringification of presentation_request_urls]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest must be primary interface of presentation_request]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: calling reconnect(USVString) on presentation_request with too few arguments must throw TypeError]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation interface: existence and properties of interface prototype object's @@unscopables property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: presentation_request must inherit property "getAvailability()" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionAvailableEvent interface: existence and properties of interface prototype object's @@unscopables property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationAvailability interface: existence and properties of interface prototype object's "constructor" property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: attribute state]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: calling reconnect(USVString) on presentation_request_urls with too few arguments must throw TypeError]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation interface: existence and properties of interface prototype object's "constructor" property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: operation send(Blob)]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationAvailability interface: existence and properties of interface object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: attribute url]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: existence and properties of interface prototype object's @@unscopables property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Navigator interface: attribute presentation]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionCloseEvent interface: existence and properties of interface object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionCloseEvent interface object name]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationAvailability interface: existence and properties of interface prototype object's @@unscopables property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: existence and properties of interface object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: existence and properties of interface prototype object's @@unscopables property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: operation send(ArrayBufferView)]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Stringification of navigator.presentation]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionCloseEvent interface: existence and properties of interface prototype object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionCloseEvent interface: existence and properties of interface prototype object's @@unscopables property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: presentation_request must inherit property "reconnect(USVString)" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationAvailability interface: attribute value]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [Presentation interface: existence and properties of interface prototype object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: operation send(ArrayBuffer)]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: attribute onconnectionavailable]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationRequest interface: presentation_request must inherit property "onconnectionavailable" with the proper type]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: attribute onconnect]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionAvailableEvent interface: existence and properties of interface prototype object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: attribute onterminate]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionCloseEvent interface: existence and properties of interface prototype object's "constructor" property]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionAvailableEvent interface: existence and properties of interface object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: attribute onmessage]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: attribute id]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnectionCloseEvent interface object length]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
   [PresentationConnection interface: existence and properties of interface object]
-    expected:
-      if os == "android": PASS
-      FAIL
+    expected: PASS
 
--- a/testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_sandboxing_success.https.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_sandboxing_success.https.html.ini
@@ -1,7 +1,8 @@
 [reconnectToPresentation_sandboxing_success.https.html]
   [Sandboxing: Reconnecting a presentation from a nested context succeeds when allow-presentation is set]
     expected:
+      if release_or_beta and (os == "android"): FAIL
       if (os == "android") and not e10s: PASS
       if (os == "android") and e10s: PASS
       FAIL
 
--- a/testing/web-platform/meta/presentation-api/controlling-ua/startNewPresentation_error.https.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/startNewPresentation_error.https.html.ini
@@ -1,6 +1,7 @@
 [startNewPresentation_error.https.html]
   [The presentation could not start, because a user gesture is required.]
     expected:
+      if release_or_beta and (os == "android"): FAIL
       if (os == "android") and e10s: PASS
       FAIL