4 <title>document.getElementsByClassName(): changing classes
</title>
5 <script src=
"resources/common.js"></script>
8 <p id=
"r">FAIL (script did not run)
</p>
10 var collection
= document
.getElementsByClassName("a")
11 document
.body
.removeAttribute("class")
12 t(collection
, [document
.documentElement
])