mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
12 lines
374 B
HTML
12 lines
374 B
HTML
|
<!DOCTYPE html>
|
||
|
<meta charset=utf-8>
|
||
|
<title>Test for document.all iteration behavior</title>
|
||
|
<script src="/resources/testharness.js"></script>
|
||
|
<script src="/resources/testharnessreport.js"></script>
|
||
|
<div id="log"></div>
|
||
|
<script>
|
||
|
test(function() {
|
||
|
assert_array_equals([...document.all], document.getElementsByTagName("*"));
|
||
|
}, "document.all should be iterable");
|
||
|
</script>
|