I'm seeing various numbers of "Firebug cannot find _firebugConsole
element" messages and wondering about thoughts on it. I see them
under FF 3.0.13 and 3.5.2 and FB 1.3.3, 1.4.*, and 1.5X.0a21. The more
recent the version, the more frequently I see the issue.
When the issue occurs, generally I get "Firebug cannot find
_firebugConsole" for cases where the code is trying to do a
console.debug(...). When it works, I get the debugging in the console.
When it doesn't work, I get the error message. It works on some (re)
loads, not on others. The frequency of failure seems to be higher for
newer combinations of FF/FB.
The thing that I think it triggering it is having multiple windows
with their document domains set (possibly in combination with active
XHR requests) when doing a (re)load. The main page sets its
document.domain and contains an iframe, the contents of which sets its
document.domain to the same value.
Here's the console output when doing a reload that fails (this is
under 3.0.13/1.3.3 since it gives more output in the console (not sure
which to turn tracing on on in newer versions:
Firebug cannot find _firebugConsole element
commandLine.evaluate FAILED: Error: Permission denied to set property
Window.r
[Break on this error] (200 out of range 2)
FirebugC...uate,with (line 200) Window localhost:3000
Firebug cannot find _firebugConsole element
commandLine.evaluate FAILED: Error: Permission denied to set property
Window.r
[Break on this error] (200 out of range 2)
FirebugC...uate,with (line 200) Window localhost:3000
Firebug cannot find _firebugConsole element
commandLine.evaluate FAILED: Error: Permission denied to set property
Window.r
[Break on this error] (200 out of range 2)
FirebugC...uate,with (line 200) Window localhost:3000
Strophe is not defined
[Break on this error] Strophe.debug("request id " + req.id +
strophe....251401953 (line 2150)
listeninglocalhost:3000 (line 55)
creatingxmpp.js?...251402053 (line 44)
1 _connect_cb was called
1 SASL authentication succeeded.
1 no requests during idle cycle, sending blank request
Sorry it's ugly, but I think the key issue is the permissions denied
part of the message. I think there's some kind of race going on
relative to the document domains, but beyond that ...
The timing ... well I'm not sure I understand it exactly. The line
"Strophe is not defined" is actually an error being generated because
there's a callback on an outstanding XHR request that is trying to
access an object that appears to have already been destroyed. I don't
think this is related, but ...
--~--~---------~--~----~------------~-------~--~----~
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
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---