Created attachment 264505 [details] [diff] [review] fix
Comment on attachment 264505 [details] [diff] [review] fix I'm sure what I said on IRC was to use contentWindow, not contentDocument (nsDocument simply calls GetLocation on its nsIDOMWindowInternal). But as you're repeating yourself I now prefer var Evaluator = document.getElementById("Evaluator").contentWindow; etc. sr=me with that fixed.
Created attachment 264518 [details] [diff] [review] using contentWindow ... but keeping |evaluator| lower-cased as all other variables are.
This bitrots my patch to bug 369097. I'll update it after this one's been checked in.
(In reply to comment #2) > (From update of attachment 264505 [details] [diff] [review]) > I'm sure what I said on IRC was to use contentWindow, not contentDocument > (nsDocument simply calls GetLocation on its nsIDOMWindowInternal). Oops, that's right. Sorry about that.
mozilla/toolkit/components/console/content/console.js 1.8 mozilla/xpfe/components/console/resources/content/console.js 1.27
This caused bug 386501.