2 <title>document title and the empty string
</title>
3 <script src=
"../../resources/js-test.js"></script>
6 description("On setting document.title to the empty string, no text node must be created");
8 var head
= document
.documentElement
.firstChild
;
9 head
.removeChild(head
.firstChild
);
10 shouldBeEqualToString("document.title", "");
12 shouldBeEqualToString("document.title", "");
13 shouldBeTrue("head.lastChild instanceof HTMLTitleElement");
14 shouldBe("head.lastChild.firstChild", 'null');