Bug 1291971 - Part 7, enable mixed-content and sandboxing test cases. r=smaug. draft
authorShih-Chiang Chien <schien@mozilla.com>
Tue, 04 Oct 2016 08:47:58 +0200
changeset 430818 cce21a157c964f41f31c7c3f3bf69e3046fb6a1d
parent 430817 70595ad9e8e56856c464fa12c2c2eeadc9e48063
child 535278 d10715ce2a193567af3e02871b5bd6405d231d94
push id33907
push userschien@mozilla.com
push dateFri, 28 Oct 2016 06:37:18 +0000
reviewerssmaug
bugs1291971
milestone52.0a1
Bug 1291971 - Part 7, enable mixed-content and sandboxing test cases. r=smaug. MozReview-Commit-ID: 52jBHDgWiZo
testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_mixedcontent.https.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_sandboxing_error.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/getAvailability_sandboxing_success.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_mixedcontent.https.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_sandboxing_error.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/reconnectToPresentation_sandboxing_success.html.ini
--- 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"]