The textContent setter is incorrectly called "textContext". Also, we should clear the parentNode for its children when we replace the childNodes.
Created attachment 653483 [details] [diff] [review] Fix JSDOMParser textContent setter
Comment on attachment 653483 [details] [diff] [review] Fix JSDOMParser textContent setter [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 779796 User impact if declined: some parsed articles may show up incorrectly Testing completed (on m-c, etc.): none yet Risk to taking this patch (and alternatives if risky): low risk String or UUID changes made by this patch: none