It does: 332 return init(nsContentUtils::RootingCxForThread(), v); but the two-arg init() can throw OOM exceptions as far as I can tell, and this code will leave those dangling.
Comment on attachment 8682584 [details] [diff] [review] Clear exceptions on single-arg init. v1 r=me
Attachment #8682584 - Flags: review?(bzbarsky) → review+
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.