Revision d273149ec04b974e357473b2849ce6d916b2866c authored by Ms2ger on 21 September 2018, 14:10:07 UTC, committed by Ms2ger on 21 September 2018, 14:21:29 UTC
This ensures they don't show up as [object Object].
1 parent 74377ff
getElementsByClassName-13.htm
<!doctype html>
<html class="a">
<head>
<title>element.getElementsByClassName(): adding an element</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body class="a">
<div id="log"></div>
<script>test(function() {
var collection = document.body.getElementsByClassName("a");
var ele = document.createElement("x-y-z");
ele.className = "a";
document.body.appendChild(ele);
assert_array_equals(collection, [ele]);
})
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...