blob: 00336f170d2b6d11d7b894e0cb401beb8968e835 [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 HTMLElement]
[object HTMLElement]
[object HTMLDocument]