| Index: third_party/WebKit/LayoutTests/imported/wpt/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.worker.js
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.worker.js b/third_party/WebKit/LayoutTests/imported/wpt/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.worker.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0231b5058ce44901c65513f787ab078fe114914d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.worker.js
|
| @@ -0,0 +1,24 @@
|
| +"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.send();
|
| + request.onload = t.step_func(function() {
|
| + var idlArray = new IdlArray();
|
| + var idls = request.responseText;
|
| +
|
| + idlArray.add_idls(idls);
|
| +
|
| + idlArray.add_objects({
|
| + DOMStringList: [],
|
| + });
|
| + idlArray.test();
|
| + t.done();
|
| + });
|
| +});
|
| +
|
| +done();
|
|
|