2 <body onload=
"runTest();">
4 function reference(domNode
)
6 this.domNode
= domNode
;
8 function walk(a
, currentPrefix
, index
, domNode
)
12 newPrefix
= currentPrefix
+ "_" + index
;
13 walk(a
, currentPrefix
, index
+ 1, domNode
.nextSibling
);
14 walk(a
, newPrefix
, 0, domNode
.firstChild
);
15 a
[newPrefix
] = new reference(domNode
);
17 function clearAllNodes()
20 walk(a
, "", 0, document
.body
);
23 document
.body
.offsetTop
;
24 a
[key
].domNode
.parentNode
.removeChild(a
[key
].domNode
);
28 if (window
.testRunner
)
29 testRunner
.dumpAsText();
31 document
.write("Test passes if no crashes with asan.")
34 <output> <div> <pre> <div> </div></div>f
<div> </div>
36 <a><u><textarea></textarea>