Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-15.htm |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-15.htm b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-15.htm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..46239316a2fbb79c1a16749a430c190875fb6d72 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/getElementsByClassName-15.htm |
@@ -0,0 +1,18 @@ |
+<!doctype html> |
+<html class="a |
+b"> |
+ <head> |
+ <title>document.getElementsByClassName(array): "a\n"</title> |
+ <script src="../../../../resources/testharness.js"></script> |
+ <script src="../../../../resources/testharnessreport.js"></script> |
+ </head> |
+ <body class="a |
+"> |
+ <div id="log"></div> |
+ <script>test(function () { |
+ assert_array_equals(document.getElementsByClassName(["a\n"]), |
+ [document.documentElement, document.body]); |
+ }) |
+ </script> |
+ </body> |
+</html> |