From a00d8cc66f2341e7737fe1c32945e20fbdbd66e6 Mon Sep 17 00:00:00 2001 From: Cosmin Sabou Date: Wed, 3 Jul 2019 09:59:45 +0000 Subject: [PATCH] Bug 1560299 - Update expectations for several presentation-api/controlling-ua tests. r=aryx Differential Revision: https://phabricator.services.mozilla.com/D36452 --HG-- extra : moz-landing-system : lando --- ...nRequest_sandboxing_success.https.html.ini | 1 + ...PresentationRequest_success.https.html.ini | 1 + .../defaultRequest.https.html.ini | 1 + .../getAvailability.https.html.ini | 1 + ...lability_sandboxing_success.https.html.ini | 1 + .../controlling-ua/idlharness.https.html.ini | 352 +++++------------- ...entation_sandboxing_success.https.html.ini | 1 + .../startNewPresentation_error.https.html.ini | 1 + 8 files changed, 97 insertions(+), 262 deletions(-) diff --git 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 index 2bbd48b93e3c..017ceac154c9 100644 --- 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,6 +1,7 @@ [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 diff --git 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 index cb2b3cef5f2a..28b8b80e0f8e 100644 --- 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 @@ -10,6 +10,7 @@ [Constructing a PresentationRequest] expected: + if release_or_beta and (os == "android"): FAIL if os == "android": PASS FAIL diff --git 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 index 51f1a3e607bc..16adcaf8ffe5 100644 --- 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,6 +1,7 @@ [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 diff --git 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 index eb2233cd0566..126108d84295 100644 --- 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,5 +1,6 @@ [getAvailability.https.html] expected: + if release_or_beta and (os == "android"): OK if os == "android": ERROR [Getting the presentation displays availability information.] expected: FAIL diff --git 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 index 29a1fda5763d..be7852c31f11 100644 --- 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,6 +1,7 @@ [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 diff --git 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 index b0cdc584d56c..1dc3f1ab993e 100644 --- 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 diff --git 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 index 110e047ba49d..6e2b50c4662f 100644 --- 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,6 +1,7 @@ [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 diff --git 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 index 1501e99d4536..92347dab511e 100644 --- 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