When developing an svg custom testcase for bug 6427, I ran into the problem of not being able to use layoutTestController.dumpAsText() in js, since the layoutTestController did not exist. This is bad since I want to dump the render tree state after perfoming an action from js, in this case setting an attribute that changes tref. See LayoutTests/svg/custom/tref-update.svg for an example where the layoutTestController simply does not exist. Cheers, Rob.
Hum... there is a real bug here, but not exactly as Rob describes. DRT just isn't smart enough to know how to dump the text content out of an SVG render tree. I assume it asks for innerText, which doesn't include SVG text content (but possibly should?)
Covered by bug 10996 (agreed by Eric). *** This bug has been marked as a duplicate of 10996 ***