Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120621 Firefox/15.0a2 (20120621042006) STR: 1. Load any web page with JSs in the browser. 2. Open the Debugger (Tools->Web developer->Debugger, or press Ctrl+Shift+S). 3. Load another web page in the same tab. Notice that the scripts dropdown gets updated accordingly. 4. Click on the Back button. The scripts dropdown doesn't get updated at step 4. When navigating between web pages with the Back and Forward buttons, the scripts from the page loaded last in the browser are displayed in the Debugger for all the pages.
Hmm, I can trigger this if I additionally click the Forward button after step 4. Tested with http://htmlpad.org/debugger/ then http://astithas.com/test/bp/index.html Panos?
In Nightly I see the behavior Victor describes in comment 1. I haven't tested with Aurora to see if I can reproduce Ioana's symptoms. The problem is that forward (and maybe back) doesn't seem to trigger a DOMWindowCreated event, which hoses our navigation logic.
Created attachment 639709 [details] [diff] [review] Working patch Adding a pageshow handler fixes this.
Comment on attachment 639709 [details] [diff] [review] Working patch looks good.
Comment on attachment 639709 [details] [diff] [review] Working patch [Approval Request Comment] Bug caused by (feature/regressing bug #): New feature User impact if declined: developers would have to reload the page after going back or forward in history, in order for the debugger to display the actual page contents Testing completed (on m-c, etc.): On m-c and fx-team Risk to taking this patch (and alternatives if risky): pretty trivial patch, minor risk String or UUID changes made by this patch: none
Comment on attachment 639709 [details] [diff] [review] Working patch [Triage Comment] New feature, developer focused release, and low risk. Approved for Aurora 15. Please land ASAP to make it in before Monday's merge.
Verified as fixed on: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20100101 Firefox/15.0 Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20100101 Firefox/15.0