Thank you very much for your help.

I was used to use Chromebug, but it seems dead now. The FBTrace does show
an error, but it doesn't tell me anything about my code. It comes from the
inspector.js in the attachRepaintInspectListeners function:

[JavaScript Error: "uncaught exception: [Exception... "Could not convert
JavaScript argument arg 1 [nsIDOMEventTarget.removeEventListener]"
nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame ::
chrome://firebug/content/html/inspector.js :: :: line 457" data: no]"]

The line 457 is:
        context.removeEventListener(win.document, "resize",
this.onInspectingResizeWindow, true);

The error it is triggered by the lines I reported. I tried to go after that
but I don't have enough experience with FB and FF in general.

Does that error suggest anything to you? If you think that would be
helpful, I could package my simple extension with a sample page, so you
could try and inspect it.

Thanks

On Mon, Jul 16, 2012 at 4:10 AM, Jan Honza Odvarko <[email protected]>wrote:

> Do you see any exceptions in Firefox error console or FBTrace console?
>
> Does the example from this post work for you?
>
> http://www.softwareishard.com/blog/firebug-tutorial/extending-firebug-inspector-part-x/
>
> Honza
>
> On Jul 14, 11:49 pm, dd <[email protected]> wrote:
> > Hi,
> > I have a code in a FB extension that was working on FB 1.8 (or 1.9?) and
> FF
> > 4 or so, and it is not working anymore with 1.10 (FF 13)
> >
> > var highlighter = new Firebug.Inspector.FrameHighlighter();
> > highlighter.highlight(window.content, span, null, {border: "red",
> > background:"yellow"}, true);
> >
> > I tried also with:
> >
> > Firebug.Inspector.highlightObject(span, window.content, 'frame', null,
> > {border: "red", content:"yellow"});
> > or with Firebug.highlightObject(...)
> >
> > with or without highlight type, boxFrame, color, different kind of
> > arguments, etc no way to make it work.
> >
> > What am I missing? Any clue about what it could be? What should I check?
> >
> > Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Firebug" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> https://groups.google.com/forum/#!forum/firebug
>

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to