Export to GitHub

fbug - issue #5134

Selected script in script window changes when timer changes markup on page


Posted on Jan 16, 2012 by Happy Rabbit

This issue is happening with Firebug 1.10.0a1 and prior on Windows 7 64-bit. It seems to be related to this issue: http://code.google.com/p/fbug/issues/detail?id=5111

What steps will reproduce the problem?

  1. Go to http://theworldgame.sbs.com.au/videos
  2. Open firebug and select the scripts tab
  3. Switch to another js file. for example, switch to vod_1.0.0.js
  4. Wait for the carousel item to switch over on the page (a few seconds)
  5. Notice that the script panel has now changed back to looking at the inline content of the page rather than the js file we chose.

I've tested this on 2 machines with the same results each time.

Comment #1

Posted on Jan 17, 2012 by Happy Rabbit

Also, this issue never arose for me with firebug 1.8.x

Comment #2

Posted on Jan 17, 2012 by Happy Giraffe

I can confirm the incorrect behavior using FF 9.0.1/12.0a1 + FB 1.9.0/1.10.0a1 and the correct behavior using FF 7.0.1 + FB 1.8.4. I guess this issue was introduced with issue 1413 or the related issue 4874. Though I didn't investigate any further yet.

Sebastian

Comment #3

Posted on Mar 19, 2012 by Happy Giraffe

Here's another test case for this: 1. Go to http://scoprirete.bibliotecheromagna.it/ 2. Enable and switch to the Script panel 3. Reload the page 4. Select "c-min.js" from the Script Location Menu

=> "syLibs.js" will be selected again a moment later

Sebastian

Comment #4

Posted on Mar 27, 2012 by Massive Wombat

Patch committed at: https://github.com/firebug/firebug/commit/995bd3cc27396d99b1868a101d4d883ca8a49c66

Having automated test (FBTest) for this issue would be extremely useful, but I don't know how to do it. Could anybody explain what's happening with the c-min.js script? It seems to be changed constantly...

Honza

Comment #5

Posted on Mar 30, 2012 by Massive Wombat

This issue (one of 13) has been fixed in Firebug 1.10a6 http://getfirebug.com/releases/firebug/1.10/firebug-1.10.0a6.xpi

Please check it out and let us know if it works for you.

Thanks for the help! Honza

Status: Fixed

Labels:
Type-Defect script 1.9.0 Test-case-available blocks-1.10 regression FBTest-wanted fixed-1.10-a6