This test-case is intended for Issue #1227
- only the latest evaled script showed if evaled in the XMLHttpRequest onreadystatechange callback.
Jan Odvarko, odvarko@gmail.com
Open Firebug and enable the Script panel.
Click on the Execute Test button below. The button
executes a XHR and evaluates two scripts within the onReadyStateChange
handler. These scripts are not related to the response, they are just evaluated
when the response is received.
Open the Script panel's Location List -> evaluated scripts are now shown.
Pick the issue1227.php from the list (notice that the script doesn't really come from the file):
the source code shows only the last evaluated script and the script is displayed twice.
Switch off the Show XMLHttpReqeusts option in the Console panel. Both evaluated
scripts are now displayed within the Location List, but the source code is there still twice
for the second script.