summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/presentation-api/controlling-ua/startNewPresentation_error.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/presentation-api/controlling-ua/startNewPresentation_error.html')
-rw-r--r--testing/web-platform/tests/presentation-api/controlling-ua/startNewPresentation_error.html28
1 files changed, 0 insertions, 28 deletions
diff --git a/testing/web-platform/tests/presentation-api/controlling-ua/startNewPresentation_error.html b/testing/web-platform/tests/presentation-api/controlling-ua/startNewPresentation_error.html
deleted file mode 100644
index eea3486cd..000000000
--- a/testing/web-platform/tests/presentation-api/controlling-ua/startNewPresentation_error.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>Presentation API, start new presentation tests for Controlling User Agent (error)</title>
-<link rel="author" title="Marius Wessel" href="http://www.fokus.fraunhofer.de">
-<link rel="help" href="http://w3c.github.io/presentation-api/#dfn-controlling-user-agent">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script>
-
-
- // ------------
- // Request init
- // ------------
- var validUnixDate = new Date().getTime() + String(Math.floor(Math.random() * 1e5)),
- validPresURL = '../receiving-ua/idlharness.html#__castAppId__=2334D33A/__castClientId__=' + validUnixDate,
- request = new PresentationRequest(validPresURL);
-
- // -----------------------------------
- // Start New Presentation Test - begin
- // -----------------------------------
- promise_test(function (t) {
- promise_rejects(t, 'InvalidAccessError', request.start());
- }, "The presentation could not start, because a user gesture is required.");
- // ----------------------------------
- // Launch New Presentation Test - end
- // ----------------------------------
-</script>
-