blob: 7a59222f854929b913810842a189e66fe37dea9e [file] [log] [blame]
This test verifies that objects are protected against garbage collection as long as the document is alive (for contrast with test 6).
The output should be the following pieces of text on lines by themselves: "B", "[object HTMLElement]", "[object HTMLElement]", "[object HTMLDocument]".
B
[object HTMLSpanElement]
[object HTMLSpanElement]
[object HTMLDocument]