Closed Bug 502708 Opened 16 years ago Closed 16 years ago

Jetpack not recognizing firebug 1.4.0b5

Categories

(Mozilla Labs :: Jetpack Prototype, defect)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dan, Assigned: avarma)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 Build Identifier: 0.2.1 http://groups.google.com/group/mozilla-labs-jetpack Reproducible: Always Steps to Reproduce: 1.install firebug 1.4.0b5 2.try to log to console from in a jetpack 3.see no logs Actual Results: no logs
Assignee: nobody → avarma
Changing the bug title to better reflect what's going on. It's not just debugging output. On the "develop" screen, Jetpack says that I don't have it installed or enabled, but it is. From the mailing list, people say downgrading to 1.4.0b4 makes it work.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: console logging for firebug 1.4.0b5 → Jetpack not recognizing firebug 1.4.0b5
Version: unspecified → Trunk
confirmed problem with 1.4.0b7 as well.
In the Tutorial, Chapter 1, on the third section of code (the one where clicking on "Boom!" in the status bar should display the open tabs), I get this error when it is trying to write out to the console: parent.getAttribute is not a function let mousethrough = parent.getAttribute("mousethrough"); file:///Applications/Firefox.app/Contents/MacOS/modules/WindowDraggingUtils.jsm Line 58
To get current versions of Firebug working to go the Options menu from either 1) the bug icon in the opened console 2) Tools -> Firebug -> Options and uncheck "Activate Same Origin on URLs" The code fails because after 1.4b4 and 1.5X.0a06 introduced this Same Origin code. convertToURIKey does a check on the URL (I am not sure what exactly it is doing) but line 3446 in firebug.js checks .host on the nsIRUI returned from the original makeURI which isn't defined for "about:jetpack". There is even an exception for "about:blank" a couple line up. Posting this to Firebug also.
I've issued a temporary fix for this that forces-off the "Activate Same Origin on URLs" feature for now: http://hg.mozilla.org/labs/jetpack/rev/dd8eed694aa3 As the changelog says though, it's only temporary--we're talking to the Firebug team now about adding tests to Firebug's test suite that ensure that Firebug will always work with Jetpack going forward.
Actually, I'm going to close this bug and make a new bug for the larger issue of making tests for Firebug. See bug 506122.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.