Right now the code in quickstubs ends up not using it, because it's using nsIDOMNodeList, which does not inherit from nsWrapperCache. But the actual type used by .childNodes does inherit from nsWrapperCache!
Created attachment 525032 [details] [diff] [review] Use the wrapper cache for childNodes in quickstubs.
Created attachment 525033 [details] [diff] [review] The actual fix
Comment on attachment 525033 [details] [diff] [review] The actual fix Just to be clear, we are using the wrapper cache but through a slower path (if we don't get it through a cast we QI at some point).