Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.html

Issue 2634323002: Import wpt@aae3e1b6ffb8b24acb777450933ceeafd97e3655 (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.html b/third_party/WebKit/LayoutTests/imported/wpt/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.html
new file mode 100644
index 0000000000000000000000000000000000000000..a4bc173baaaa7029302bed25ca33bb6056b56732
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/infrastructure/common-dom-interfaces/collections/domstringlist-interface.html
@@ -0,0 +1,32 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>DOMStringList IDL tests</title>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<script src=/resources/WebIDLParser.js></script>
+<script src=/resources/idlharness.js></script>
+
+<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.send();
+ request.onload = t.step_func(function() {
+ var idlArray = new IdlArray();
+ var idls = request.responseText;
+
+ idlArray.add_idls(idls);
+
+ idlArray.add_objects({
+ DOMStringList: ['location.ancestorOrigins'],
+ });
+
+ idlArray.test();
+ t.done();
+ });
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698