Bug 1291971 - Part 0, remove deprecated test case for presentation API and correct manifest. r=jgraham
authorShih-Chiang Chien <schien@mozilla.com>
Fri, 28 Oct 2016 11:03:05 +0800
changeset 319938 77bbf4625e503ba8136d2ab205b4eb8880e4b321
parent 319937 5868e557eae14ab7ac1a3fc89fe50b71a8665b55
child 319939 bd859aaaca12a82205e8048cde5159cdc90ee088
push id20749
push userryanvm@gmail.com
push dateSat, 29 Oct 2016 13:21:21 +0000
treeherderfx-team@1b170b39ed6b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1291971
milestone52.0a1
Bug 1291971 - Part 0, remove deprecated test case for presentation API and correct manifest. r=jgraham MozReview-Commit-ID: LaFbOvPz0dr
testing/web-platform/meta/MANIFEST.json
testing/web-platform/meta/presentation-api/controlling-ua/startNewPresentation_mixedcontent-manual.https.html.ini
testing/web-platform/meta/presentation-api/controlling-ua/startNewPresentation_mixedcontent_multiple-manual.https.html.ini
testing/web-platform/tests/presentation-api/controlling-ua/startNewPresentation_error-manual.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -1433,18 +1433,22 @@
         "path": "presentation-api/controlling-ua/reconnectToPresentation_error-manual.html",
         "url": "/presentation-api/controlling-ua/reconnectToPresentation_error-manual.html"
       },
       {
         "path": "presentation-api/controlling-ua/reconnectToPresentation_success-manual.html",
         "url": "/presentation-api/controlling-ua/reconnectToPresentation_success-manual.html"
       },
       {
-        "path": "presentation-api/controlling-ua/startNewPresentation_error-manual.html",
-        "url": "/presentation-api/controlling-ua/startNewPresentation_error-manual.html"
+        "path": "presentation-api/controlling-ua/startNewPresentation_mixedcontent-manual.https.html",
+        "url": "/presentation-api/controlling-ua/startNewPresentation_mixedcontent-manual.https.html"
+      },
+      {
+        "path": "presentation-api/controlling-ua/startNewPresentation_mixedcontent_multiple-manual.https.html",
+        "url": "/presentation-api/controlling-ua/startNewPresentation_mixedcontent_multiple-manual.https.html"
       },
       {
         "path": "presentation-api/controlling-ua/startNewPresentation_sandboxing_error-manual.html",
         "url": "/presentation-api/controlling-ua/startNewPresentation_sandboxing_error-manual.html"
       },
       {
         "path": "presentation-api/controlling-ua/startNewPresentation_sandboxing_success-manual.html",
         "url": "/presentation-api/controlling-ua/startNewPresentation_sandboxing_success-manual.html"
@@ -24659,24 +24663,16 @@
         "path": "presentation-api/controlling-ua/reconnectToPresentation_sandboxing_success.html",
         "url": "/presentation-api/controlling-ua/reconnectToPresentation_sandboxing_success.html"
       },
       {
         "path": "presentation-api/controlling-ua/startNewPresentation_error.html",
         "url": "/presentation-api/controlling-ua/startNewPresentation_error.html"
       },
       {
-        "path": "presentation-api/controlling-ua/startNewPresentation_mixedcontent-manual.https.html",
-        "url": "/presentation-api/controlling-ua/startNewPresentation_mixedcontent-manual.https.html"
-      },
-      {
-        "path": "presentation-api/controlling-ua/startNewPresentation_mixedcontent_multiple-manual.https.html",
-        "url": "/presentation-api/controlling-ua/startNewPresentation_mixedcontent_multiple-manual.https.html"
-      },
-      {
         "path": "presentation-api/receiving-ua/idlharness.html",
         "url": "/presentation-api/receiving-ua/idlharness.html"
       },
       {
         "path": "progress-events/constructor.html",
         "url": "/progress-events/constructor.html"
       },
       {
@@ -38445,28 +38441,16 @@
             "url": "/html/browsers/windows/noreferrer-cross-origin-close-manual.sub.html"
           }
         ],
         "mediacapture-streams/MediaStream-id-manual.https.html": [
           {
             "path": "mediacapture-streams/MediaStream-id-manual.https.html",
             "url": "/mediacapture-streams/MediaStream-id-manual.https.html"
           }
-        ],
-        "presentation-api/controlling-ua/startNewPresentation_mixedcontent-manual.https.html": [
-          {
-            "path": "presentation-api/controlling-ua/startNewPresentation_mixedcontent-manual.https.html",
-            "url": "/presentation-api/controlling-ua/startNewPresentation_mixedcontent-manual.https.html"
-          }
-        ],
-        "presentation-api/controlling-ua/startNewPresentation_mixedcontent_multiple-manual.https.html": [
-          {
-            "path": "presentation-api/controlling-ua/startNewPresentation_mixedcontent_multiple-manual.https.html",
-            "url": "/presentation-api/controlling-ua/startNewPresentation_mixedcontent_multiple-manual.https.html"
-          }
         ]
       },
       "reftest": {
         "html/semantics/grouping-content/the-ol-element/reversed-1e.html": [
           {
             "path": "html/semantics/grouping-content/the-ol-element/reversed-1e.html",
             "references": [
               [
deleted file mode 100644
--- a/testing/web-platform/meta/presentation-api/controlling-ua/startNewPresentation_mixedcontent-manual.https.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[startNewPresentation_mixedcontent-manual.https.html]
-  type: testharness
-  expected: TIMEOUT
deleted file mode 100644
--- a/testing/web-platform/meta/presentation-api/controlling-ua/startNewPresentation_mixedcontent_multiple-manual.https.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[startNewPresentation_mixedcontent_multiple-manual.https.html]
-  type: testharness
-  expected: TIMEOUT
deleted file mode 100644
--- a/testing/web-platform/tests/presentation-api/controlling-ua/startNewPresentation_error-manual.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>Presentation API, start new presentation tests for Controlling User Agent (error - manual test)</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>
-
-<p>Click the button below and abort the selection for an device, to start the manual test.</p>
-<button id="presentBtn" onclick="startPresentation()">Start Presentation Test</button>
-
-<script>
-    // ----------
-    // DOM Object
-    // ----------
-    var presentBtn = document.getElementById("presentBtn");
-
-    // ------------
-    // 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 (error) - begin
-    // -------------------------------------------
-    var startPresentation = function () {
-        promise_test(function () {
-            return request.start()
-                    .catch(function (err) {
-
-                        test(function () {
-                            assert_true(err.code == 20, 'The error code is equal to 20.');
-                        }, 'Check, if the error code is correct.')
-
-                        test(function () {
-                            assert_true(err.message === 'Dialog closed.', 'The error message is equal to "Dialog closed."');
-                        }, 'Check, if the error message is correct.')
-
-                        assert_true(err.name === 'AbortError', 'The error name is AbortError.');
-
-                    });
-        }, "The starting process for the presentation has been aborted.");
-    }
-    // -----------------------------------------
-    // Start New Presentation Test (error) - end
-    // -----------------------------------------
-</script>
-