Bug 1291971 - Part 7, enable mixed-content and sandboxing test cases. r=smaug.
MozReview-Commit-ID: 52jBHDgWiZo
--- a/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_mixedcontent.https.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_mixedcontent.https.html.ini
@@ -1,5 +1,6 @@
[getAvailability_mixedcontent.https.html]
type: testharness
- [Calling "getAvailability" with an a priori unauthenticated URL in an HTTPS context throws a SecurityError exception.]
- expected: FAIL
-
+ prefs: [dom.presentation.enabled: true,
+ dom.presentation.controller.enabled: true,
+ dom.presentation.discovery.enabled: true,
+ dom.presentation.device.name: "Firefox"]
--- a/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_sandboxing_error.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_sandboxing_error.html.ini
@@ -1,5 +1,6 @@
[getAvailability_sandboxing_error.html]
type: testharness
- [Sandboxing: Retrieving display availability from a nested context fails when allow-presentation is not set]
- expected: FAIL
-
+ prefs: [dom.presentation.enabled: true,
+ dom.presentation.controller.enabled: true,
+ dom.presentation.discovery.enabled: true,
+ dom.presentation.device.name: "Firefox"]
--- a/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_sandboxing_success.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_sandboxing_success.html.ini
@@ -1,5 +1,6 @@
[getAvailability_sandboxing_success.html]
type: testharness
- [Sandboxing: Retrieving display availability from a nested context succeeds when allow-presentation is set]
- expected: FAIL
-
+ prefs: [dom.presentation.enabled: true,
+ dom.presentation.controller.enabled: true,
+ dom.presentation.discovery.enabled: true,
+ dom.presentation.device.name: "Firefox"]
--- a/testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_mixedcontent.https.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_mixedcontent.https.html.ini
@@ -1,5 +1,6 @@
[reconnectToPresentation_mixedcontent.https.html]
type: testharness
- [Calling "reconnect" with an a priori unauthenticated URL in an HTTPS context throws a SecurityError exception.]
- expected: FAIL
-
+ prefs: [dom.presentation.enabled: true,
+ dom.presentation.controller.enabled: true,
+ dom.presentation.discovery.enabled: true,
+ dom.presentation.device.name: "Firefox"]
--- a/testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_sandboxing_error.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_sandboxing_error.html.ini
@@ -1,5 +1,6 @@
[reconnectToPresentation_sandboxing_error.html]
type: testharness
- [Sandboxing: Reconnecting a presentation from a nested context fails when allow-presentation is not set]
- expected: FAIL
-
+ prefs: [dom.presentation.enabled: true,
+ dom.presentation.controller.enabled: true,
+ dom.presentation.discovery.enabled: true,
+ dom.presentation.device.name: "Firefox"]
--- a/testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_sandboxing_success.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_sandboxing_success.html.ini
@@ -1,5 +1,6 @@
[reconnectToPresentation_sandboxing_success.html]
type: testharness
- [Sandboxing: Reconnecting a presentation from a nested context succeeds when allow-presentation is set]
- expected: FAIL
-
+ prefs: [dom.presentation.enabled: true,
+ dom.presentation.controller.enabled: true,
+ dom.presentation.discovery.enabled: true,
+ dom.presentation.device.name: "Firefox"]