I guess this is Chromebug code called from Firebug if it matters.
So did the rules change or where they not what I thought.
jjb
Nothing has changed recently that I know of.
What are the |win| and |ChromebugOverrides| objects in this case? Is it
the increment, or the tag set that's throwing?
-Boris
> Is it
> the increment, or the tag set that's throwing?
win.tag = ChromebugOverrides.tagBase;
The tag set.
I wrote this recently, so I guess I just can't do this.
jjb
Right. That's a non-DOM XPCOM object. You can't set expando properties
on those.
> Looks like it is
> Ci.nsIWebProgress.DOMWindow
Uh... That seems pretty unlikely. The object you have is an
nsHttpChannel, not a window.
> ChromebugOverrides.toString:
> [object Object]
> Looks like a vanilla object in an extension.
That should work fine.
> I wrote this recently, so I guess I just can't do this.
Not if win is a channel, no.
-Boris