Bug 1444020 [wpt PR 9916] - Replace a lonely domstringlist.idl with filtering html.idl, a=testonly
authorPhilip Jägenstedt <philip@foolip.org>
Mon, 09 Apr 2018 16:54:13 +0000
changeset 413524 4c3bf4ab9425a584709a668a47aac973263d7986
parent 413523 562d9c5f3aabdc763e410e6b2f792213f1c9c272
child 413525 fe9dd9822343409af2e41b5dcc45a5ca1f2f203f
push id33850
push userapavel@mozilla.com
push dateMon, 16 Apr 2018 09:53:48 +0000
treeherdermozilla-central@6276ec7ebbf3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1444020
milestone61.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 1444020 [wpt PR 9916] - Replace a lonely domstringlist.idl with filtering html.idl, a=testonly Automatic update from web-platform-testsReplace a lonely domstringlist.idl with filtering html.idl Filtering support from https://github.com/w3c/web-platform-tests/pull/7861. wpt-commits: 93beb831be6e9fd1c059333eca0d2cc4a16c2470 wpt-pr: 9916 wpt-commits: 93beb831be6e9fd1c059333eca0d2cc4a16c2470 wpt-pr: 9916
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.html
testing/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.worker.js
testing/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/domstringlist.idl
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -280044,21 +280044,16 @@
      {}
     ]
    ],
    "html/infrastructure/common-dom-interfaces/collections/contains.json": [
     [
      {}
     ]
    ],
-   "html/infrastructure/common-dom-interfaces/collections/domstringlist.idl": [
-    [
-     {}
-    ]
-   ],
    "html/infrastructure/common-dom-interfaces/domstringmap/.gitkeep": [
     [
      {}
     ]
    ],
    "html/infrastructure/common-dom-interfaces/garbage-collection/.gitkeep": [
     [
      {}
@@ -561056,31 +561051,27 @@
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
   "html/infrastructure/common-dom-interfaces/collections/contains.json": [
    "de0ed7f283f4e17155cd3fc07dd5cb688d6fd8be",
    "support"
   ],
   "html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.html": [
-   "ca8af91733f0b0704409e26f17d4a14977ce14f7",
+   "8e594aef8d0201565c770ec7c01e13a5f4b8042d",
    "testharness"
   ],
   "html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.worker.js": [
-   "2e35f55a86d31d98e69ad1013c18ab1ff9d9be02",
+   "4effaa2678d2f99954e222ef9a743bffb029431e",
    "testharness"
   ],
   "html/infrastructure/common-dom-interfaces/collections/domstringlist.html": [
    "b51c104271ba1cc404de0d68fd004b4e4ecb0d8c",
    "testharness"
   ],
-  "html/infrastructure/common-dom-interfaces/collections/domstringlist.idl": [
-   "3b23d2861e3e3037ef3364781394d1b3e8371bae",
-   "support"
-  ],
   "html/infrastructure/common-dom-interfaces/collections/historical.html": [
    "a5d4598e215e1e9322538b646a0541ba64687c3d",
    "testharness"
   ],
   "html/infrastructure/common-dom-interfaces/collections/htmlallcollection.html": [
    "954d35c431c8329c7febc429ed475e402fa625cd",
    "testharness"
   ],
--- a/testing/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.html
+++ b/testing/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.html
@@ -8,23 +8,23 @@
 
 <h1>DOMStringList IDL tests</h1>
 <div id=log></div>
 
 <script>
 "use strict";
 async_test(function(t) {
   var request = new XMLHttpRequest();
-  request.open("GET", "domstringlist.idl");
+  request.open("GET", "/interfaces/html.idl");
   request.send();
   request.onload = t.step_func(function() {
     var idlArray = new IdlArray();
     var idls = request.responseText;
 
-    idlArray.add_idls(idls);
+    idlArray.add_idls(idls, { only: ["DOMStringList"] });
 
     idlArray.add_objects({
       DOMStringList: ['location.ancestorOrigins'],
     });
 
     idlArray.test();
     t.done();
   });
--- a/testing/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.worker.js
+++ b/testing/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.worker.js
@@ -1,22 +1,22 @@
 "use strict";
 
 importScripts("/resources/testharness.js");
 importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
 
 async_test(function(t) {
   var request = new XMLHttpRequest();
-  request.open("GET", "domstringlist.idl");
+  request.open("GET", "/interfaces/html.idl");
   request.send();
   request.onload = t.step_func(function() {
     var idlArray = new IdlArray();
     var idls = request.responseText;
 
-    idlArray.add_idls(idls);
+    idlArray.add_idls(idls, { only: ["DOMStringList"] });
 
     idlArray.add_objects({
       DOMStringList: [],
     });
     idlArray.test();
     t.done();
   });
 });
deleted file mode 100644
--- a/testing/web-platform/tests/html/infrastructure/common-dom-interfaces/collections/domstringlist.idl
+++ /dev/null
@@ -1,6 +0,0 @@
-[Exposed=(Window,Worker)]
-interface DOMStringList {
-  readonly attribute unsigned long length;
-  getter DOMString? item(unsigned long index);
-  boolean contains(DOMString string);
-};