From 5be497b5f5a7036e26dc14739aa8d42f643cf94f Mon Sep 17 00:00:00 2001 From: Tomoyuki Shimizu Date: Thu, 29 Dec 2016 17:58:46 +0900 Subject: [PATCH] [presentation-api] Refine getAvailability() test (#4257) Completes test on getAvailability to match recent updates made to the spec. The test assesses that the same Promise gets returned as long as it is unsettled, and that a new one is afterwards. It also checks that the algorithm returns a `true` availability (assuming that the current context features an available presentation display). --- .../controlling-ua/getAvailability.html | 79 +++++++------------ 1 file changed, 29 insertions(+), 50 deletions(-) diff --git a/presentation-api/controlling-ua/getAvailability.html b/presentation-api/controlling-ua/getAvailability.html index 20712e35fa91c0..895e1dc27d1da3 100644 --- a/presentation-api/controlling-ua/getAvailability.html +++ b/presentation-api/controlling-ua/getAvailability.html @@ -1,69 +1,48 @@ -Presentation API - monitor screen availability tests for Controlling User Agent +Getting the presentation displays availability information. - + + +

The test passes if a "PASS" result appears.

+