Attached code crashes safari.
Created attachment 3241 [details] Crashing source
Created attachment 3242 [details] backtrace
I've got a fix.
*** Bug 4311 has been marked as a duplicate of this bug. ***
Created attachment 3249 [details] patch to add a null check
Comment on attachment 3249 [details] patch to add a null check Oops. I didn't mean to grant myself a review.
Mass moving XML DOM bugs to the "DOM" Component.