Ticket #6588 (closed defect: fixed)

Opened 8 months ago

Last modified 4 months ago

Firebug / Firebug-lite incompatibility: Firebug-lite initializes even on Firefox

Reported by: bill Owned by: mwilcox
Priority: normal Milestone: 1.2
Component: General Version: 1.1.0
Severity: normal Keywords:
Cc:

Description

Posted description here but cross-referencing into this ticket since dojo has it's own version of firebug.

===

I'm seeing a lot of crashes with the latest Firebug and Firefox and trying to trace them down now. The first red flag I noticed is that Firebug-light is initializing on Firefox. (It should only initialize on IE/safari/etc.)

See the original firebug lite (first line) or our modified version (line 61) .... it branches on:

 if (!("console" in window) || !("firebug" in console)) { 

... the problem is that console.firebug is not defined (anymore?), even though firebug is installed and running.

===

Change History

Changed 8 months ago by bill

  • summary changed from Firebug / Firebug-lite incompatibility: Firebug initializes even on Firefox to Firebug / Firebug-lite incompatibility: Firebug-lite initializes even on Firefox

Changed 7 months ago by bill

  • status changed from new to closed
  • resolution set to fixed

OK, the newest firebug fixes this problem, so we don't need to do anything on our end.

Changed 6 months ago by guest

  • status changed from closed to reopened
  • resolution deleted

This is occurring currently with Firebug 1.2 beta. Further discussion is here:

http://groups.google.com/group/firebug/browse_thread/thread/565df9469d4fa8e7/a7308aebc8148dab?#a7308aebc8148dab

"The console implementation in Firebug 1.2 is different from 1.1. So any code that relies on the only mechanism needs to be reviewed."

Changed 5 months ago by dylan

  • status changed from reopened to new
  • owner changed from anonymous to mwilcox
  • milestone set to tbd

Changed 5 months ago by mwilcox

  • status changed from new to closed
  • resolution set to fixed

(In [14337]) Fixes #6588 !strict Changed up the FB detection, based on whether the browser is FF or not. Couldn't test FB-1.1 because I couldn't download that version (getfirebug server problems).

Note, I didn't witness the problem in the ticket. It looks that FB-1.2 works with the old detection. I fixed it anyway.

Enabling Firebug Lite is different for FF3, now you disable Firebug, and Firebug Lite will install. isDebug turns it off. Backwards compatible for FF2

Changed 5 months ago by mwilcox

(In [14373]) Refs #6588 !strict Removing some stray comments

Changed 5 months ago by mwilcox

(In [14454]) Refs #6588 !strict - Added check for previous version of Firebug. Should work well now with Firebug 1 and 1.2 - 1.1 is a bad and hard to find coe base, and should probably just not be supported./nAlso did a serious of minor tweaks to make this a little more jslint friendly. A little.

Changed 4 months ago by bill

  • milestone changed from tbd to 1.2
Note: See TracTickets for help on using tickets.