Bug 1484002 [wpt PR 12537] - Remove the Budget API tests, a=testonly
authorPeter Beverloo <peter@lvp-media.com>
Mon, 20 Aug 2018 22:09:49 +0000
changeset 487799 74bdd33d51f170168cfd0e8be456ebb298cd0ebc
parent 487798 d267941739e09595fc8343a0e365290aed1c1740
child 487800 e3ab676a310dc46b40d08a29166c02611085d3cf
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1484002, 12537
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1484002 [wpt PR 12537] - Remove the Budget API tests, a=testonly Automatic update from web-platform-testsRemove the Budget API tests (#12537) The specification has been made obsolete with no existing implementations. We can revive these tests from history if that changes. https://wicg.github.io/budget-api/ -- wpt-commits: d617cdbf1278785ebcfd949be18231b7fc0eebed wpt-pr: 12537
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/budget-api/META.yml
testing/web-platform/tests/budget-api/idlharness.https.any.js
testing/web-platform/tests/interfaces/budget-api.idl
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -195637,21 +195637,16 @@
      {}
     ]
    ],
    "bluetooth/script-tests/service/service-is-removed.js": [
     [
      {}
     ]
    ],
-   "budget-api/META.yml": [
-    [
-     {}
-    ]
-   ],
    "check_stability.ini": [
     [
      {}
     ]
    ],
    "clear-site-data/META.yml": [
     [
      {}
@@ -289467,21 +289462,16 @@
      {}
     ]
    ],
    "interfaces/beacon.idl": [
     [
      {}
     ]
    ],
-   "interfaces/budget-api.idl": [
-    [
-     {}
-    ]
-   ],
    "interfaces/clipboard-apis.idl": [
     [
      {}
     ]
    ],
    "interfaces/compat.idl": [
     [
      {}
@@ -324470,26 +324460,16 @@
    "bluetooth/service/getCharacteristics/gen-service-is-removed.https.html": [
     [
      "/bluetooth/service/getCharacteristics/gen-service-is-removed.https.html",
      {
       "testdriver": true
      }
     ]
    ],
-   "budget-api/idlharness.https.any.js": [
-    [
-     "/budget-api/idlharness.https.any.html",
-     {}
-    ],
-    [
-     "/budget-api/idlharness.https.any.worker.html",
-     {}
-    ]
-   ],
    "clear-site-data/executionContexts.sub.html": [
     [
      "/clear-site-data/executionContexts.sub.html",
      {}
     ]
    ],
    "clear-site-data/navigation-insecure.html": [
     [
@@ -433579,24 +433559,16 @@
   "bluetooth/service/getCharacteristics/gen-service-is-removed-with-uuid.https.html": [
    "62caaad12b57af31aa8d2985ffcabf1c4c1a0786",
    "testharness"
   ],
   "bluetooth/service/getCharacteristics/gen-service-is-removed.https.html": [
    "4868127465adfe8ec405d843de9fc115d725c280",
    "testharness"
   ],
-  "budget-api/META.yml": [
-   "6cc0000f6ff7547e1b1bc635cbd0cabf0754675a",
-   "support"
-  ],
-  "budget-api/idlharness.https.any.js": [
-   "335c7a60a4dc8daecd3a2b28b86438698ac06484",
-   "testharness"
-  ],
   "check_stability.ini": [
    "b939328be1cb69c3dcc47495930ba0df28b2bad2",
    "support"
   ],
   "clear-site-data/META.yml": [
    "65ca96dbb9d774e97cc3a60f6b6dde952104893b",
    "support"
   ],
@@ -606547,20 +606519,16 @@
   "interfaces/battery-status.idl": [
    "1dcaabb0bad226efb962fae5cdabebf728980afa",
    "support"
   ],
   "interfaces/beacon.idl": [
    "c5e3465c59fcfadba79803f7baf1853c2c48e06b",
    "support"
   ],
-  "interfaces/budget-api.idl": [
-   "fc86f415aeafd7df596d9607823b934f01e52f7a",
-   "support"
-  ],
   "interfaces/clipboard-apis.idl": [
    "e48ca6a5e46330ca75faf8fb38b636358c353dbb",
    "support"
   ],
   "interfaces/compat.idl": [
    "fe77a2f942827c5fbb842db74556d5e8353a9cb3",
    "support"
   ],
deleted file mode 100644
--- a/testing/web-platform/tests/budget-api/META.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-spec: https://wicg.github.io/budget-api/
-suggested_reviewers:
-  - beverloo
deleted file mode 100644
--- a/testing/web-platform/tests/budget-api/idlharness.https.any.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// META: script=/resources/WebIDLParser.js
-// META: script=/resources/idlharness.js
-
-'use strict';
-
-// See https://wicg.github.io/budget-api/
-
-idl_test(
-  ['budget-api'],
-  ['html'],
-  async idl_array => {
-    idl_array.add_objects({ BudgetService: ['navigator.budget'] });
-    if (self.Window) {
-      idl_array.add_objects({ Navigator: ['navigator'] });
-    } else {
-      idl_array.add_objects({ WorkerNavigator: ['navigator'] });
-    }
-    const budgetStates = await navigator.budget.getBudget();
-    if (budgetStates.length) {
-      self.budgetState = budgetStates[0];
-      idl_array.add_objects({ BudgetState: ['budgetState'] });
-    }
-  }
-);
deleted file mode 100644
--- a/testing/web-platform/tests/interfaces/budget-api.idl
+++ /dev/null
@@ -1,32 +0,0 @@
-// GENERATED CONTENT - DO NOT EDIT
-// Content was automatically extracted by Reffy into reffy-reports
-// (https://github.com/tidoust/reffy-reports)
-// Source: Web Budget API (https://wicg.github.io/budget-api/)
-
-[Exposed=Window]
-partial interface Navigator {
-    [SameObject] readonly attribute BudgetService budget;
-};
-
-[Exposed=Worker]
-partial interface WorkerNavigator {
-    [SameObject] readonly attribute BudgetService budget;
-};
-
-[Exposed=(Window,Worker)]
-interface BudgetService {
-    Promise<double> getCost(OperationType operation);
-    Promise<sequence<BudgetState>> getBudget();
-
-    Promise<boolean> reserve(OperationType operation);
-};
-
-[Exposed=(Window,Worker)]
-interface BudgetState {
-  readonly attribute double budgetAt;
-  readonly attribute DOMTimeStamp time;
-};
-
-enum OperationType {
-  "silent-push"
-};