weinig | fadffa5 | 2007-03-13 14:17:32 +0000 | [diff] [blame] | 1 | This test verifies that objects are protected against garbage collection as long as the document is alive (for contrast with test 6). |
mjs | 3bd301c | 2005-11-08 08:11:19 +0000 | [diff] [blame] | 2 | |
weinig | fadffa5 | 2007-03-13 14:17:32 +0000 | [diff] [blame] | 3 | The output should be the following pieces of text on lines by themselves: "B", "[object HTMLElement]", "[object HTMLElement]", "[object HTMLDocument]". |
mjs | 3bd301c | 2005-11-08 08:11:19 +0000 | [diff] [blame] | 4 | |
andersca | 5fd122a | 2007-01-25 01:10:07 +0000 | [diff] [blame] | 5 | B |
abarth@webkit.org | c59830e | 2011-09-06 01:52:46 +0000 | [diff] [blame] | 6 | [object HTMLSpanElement] |
| 7 | [object HTMLSpanElement] |
andersca | 5fd122a | 2007-01-25 01:10:07 +0000 | [diff] [blame] | 8 | [object HTMLDocument] |
mjs | 3bd301c | 2005-11-08 08:11:19 +0000 | [diff] [blame] | 9 | |