Firebug 1.6 is for Firefox 3.6 Firebug 1.7 is for Firefox 4, but see http://getfirebug.com/knownissues
Also, there was a bug with the alert() method used in the command line https://bugzilla.mozilla.org/show_bug.cgi?id=613752 (will be fixed in Firebug 1.7a8) Anyway, could you retest with 1.7? If it's still reproducible, could you make your test public so, I can also try it? Honza On Dec 1, 9:27 am, Robert K <[email protected]> wrote: > Hey All, > > I think I have found a bug in Firefox 4 / Firebug 1.6. I am wondering > if any one else can reproduce before I open an issue. > > So the bug is, Firebug will not work if you are running Firefox 4 (b7) > and the site/page you are accessing is on a local webserver > (127.0.0.1). If I gotohttp://localhost/test.phpopen up the console > and try run a simple "alert('hello world!');" I get the following > errors, > > Firebug cannot find firebug-CommandLineAttached document.getUserData , > its too early for command line Window test.php > uncaught exception: _FirebugCommandLine init failed > inhttp://localhost/test.php > because TypeError: window.loadFirebugConsole is not a function > > Similarly, if the test.php contains an inline script block it will not > run. > > If I upload to a remote webserver it works fine. > If I use Firefox 3.6 it works fine. > Curiously if I access the page via file:///c:/projects/test.php it > works fine > > FYI: Running Firefox 4 (b7) on Windows 7, using Apache 2. > > Can anyone else reproduce? > > Thanks. > Rob > > P.S. Did I mention Firebug Rocks! :D -- 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.
