Created attachment 539553 [details] [diff] [review]
I don't have a testcase for possible leak, but while going through some
other code, this looked a bit suspicious.
Comment on attachment 539553 [details] [diff] [review]
r=me provided that you have another in-flight patch that makes nsScriptLoader a CC participant.
(Aside: It's very sad that this stuff touches the content sink in the first place. I want to get rid of mScriptElements and move the parser blocking logic entirely to the script loader, but so many other things to do...)
uh, I don't have such. Good that you noticed, since scriptloader sure should be
I'll fix the followup bug soon.