Bug 1291971 - Part 5, enable controller getAvailability test. r=smaug. draft
authorShih-Chiang Chien <schien@mozilla.com>
Thu, 29 Sep 2016 23:34:47 +0800
changeset 430816 2b47a273aa9a4276aa24ae6ee10cb003b04417ba
parent 430815 41fdcef117c34fe45588ee8f4f71f99ed2987748
child 430817 70595ad9e8e56856c464fa12c2c2eeadc9e48063
push id33907
push userschien@mozilla.com
push dateFri, 28 Oct 2016 06:37:18 +0000
reviewerssmaug
bugs1291971
milestone52.0a1
Bug 1291971 - Part 5, enable controller getAvailability test. r=smaug. MozReview-Commit-ID: 2xiMSKaMcDP
testing/web-platform/meta/presentation-api/controlling-ua/getAvailability.html.ini
--- a/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability.html.ini
+++ b/testing/web-platform/meta/presentation-api/controlling-ua/getAvailability.html.ini
@@ -1,20 +1,8 @@
 [getAvailability.html]
   type: testharness
-  [The request is an Promise.]
-    expected: FAIL
-
-  [The request is an instance of PresentationRequest.]
-    expected: FAIL
-
-  [The promise is an instance of PresentationAvailability]
-    expected: FAIL
-
-  [The availability has an boolean value.]
-    expected: FAIL
-
+  prefs: [dom.presentation.enabled: true,
+          dom.presentation.controller.enabled: true,
+          dom.presentation.discovery.enabled: true,
+          dom.presentation.device.name: "Firefox"]
   [There is an availability.]
     expected: FAIL
-
-  [There is no availability for an invalid presentation URL.]
-    expected: FAIL
-