JSONovich / jsonovich

A webextension for Firefox. Pretty-prints JSON content in the browser for easy, unobtrusive viewing.
https://addons.mozilla.org/firefox/addon/jsonovich/
Mozilla Public License 2.0
7 stars 3 forks source link

v1.9.0.1 breaks Firebug 1.9.0a3 in Aurora 9 #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Pulling up console view with jsonovich enabled reliably triggers it for me. 
Have tried with no other plugins running. Have not tried with a fresh profile.

Mac OS X 10.6.8
Aurora 9.0a2 (2011-10-04)
Firebug 1.9.0a3
jsonovich 1.9.0.1

Original issue reported on code.google.com by grayr...@gmail.com on 4 Oct 2011 at 4:46

GoogleCodeExporter commented 9 years ago
Thanks for the report, I'll investigate as soon as I can - I'm currently away 
from the machine with all my testing profiles and browsers, so it probably 
won't be until this weekend at the earliest.

In the mean time, so I know what to expect:
- How exactly does it break?
- Does it always happen or only on JSONovich-formatted pages?
- Did it happen before Firebug 1.9a3 or a previous Aurora? (Don't worry about 
this too much, I can experiment with different versions if needed.)
- Is the built-in Web Console (Ctrl+Shift+K) affected too?

Original comment by W.Elwoo...@gmail.com on 5 Oct 2011 at 11:31

GoogleCodeExporter commented 9 years ago
Re-reading that, it's the worst bug report I've submitted in years, sorry.

- How exactly does it break?

Opening the firebug console panel winds up showing no scrollback. All firebug 
actions fail except for switching tabs and (I believe html view). I'm guessing 
the error is terminating firebug's js runloop.

- Does it always happen or only on JSONovich-formatted pages?

Always happens when jsonovich is enabled.

- Did it happen before Firebug 1.9a3 or a previous Aurora? (Don't worry about 
this 
too much, I can experiment with different versions if needed.)

Happened on the Aurora 9.0 switchover. I'm not sure about the firebug versions 
since I thought the problem was in firebug (usually is) and that was the first 
thing I upgraded.

- Is the built-in Web Console (Ctrl+Shift+K) affected too?

No, functions as normal.

Original comment by grayr...@gmail.com on 5 Oct 2011 at 5:52

GoogleCodeExporter commented 9 years ago
After disabling various parts of the JSONovich code-base, it seems Firebug 
doesn't like part of the code that supports Firefox Mobile and future 
multi-process desktop browsers This code using the new message manager has only 
become active on desktop because a necessary function is now available in 
Aurora 9 (if I remove the function check, this same problem occurs in Firefox 
6.0.2 with Firebug 1.8.1!).

I'm considering filing a bug with Firebug since it seems they have code running 
more often than it should, I'll keep this page updated as I learn more.

Original comment by W.Elwoo...@gmail.com on 10 Oct 2011 at 6:05

GoogleCodeExporter commented 9 years ago
I've filed http://code.google.com/p/fbug/issues/detail?id=4904 since it appears 
to be a race-condition in Firebug's initialisation code that is somehow 
triggered by JSONovich's use of a browser feature that has been present since 
Firefox 4.

Original comment by W.Elwoo...@gmail.com on 10 Oct 2011 at 11:17

GoogleCodeExporter commented 9 years ago
Workaround suggested on IRC, implemented in r159.

I'll be making a new release containing this fix before Firefox 8's release, 
which is scheduled for November 8th.

Original comment by W.Elwoo...@gmail.com on 11 Oct 2011 at 12:59

GoogleCodeExporter commented 9 years ago
Just following up, the upstream issue report has resulted in Firebug 1.9.0a4 no 
longer experiencing this problem. Firebug 1.8 still does, but does not support 
Firefox 9 and so the problem will not occur with the existing JSONovich release.

In any case, JSONovich 1.9.2 is now available with the workaround.

Original comment by W.Elwoo...@gmail.com on 24 Oct 2011 at 6:59