2 <script src=
"../../../resources/js-test.js"></script>
4 description('Tests that performing toString() over a Range without a root does not crash.');
6 var t1
= document
.createElement("textarea");
7 var t2
= document
.createElement("textarea");
8 t1
.appendChild(document
.createTextNode("PASS"));
11 var r
= document
.createRange();
15 shouldBeEqualToString('r.toString()', 'PASS');