Issue 5705: HTML panel is not properly updated if an iframe is refreshed
Steps to reproduce
- Open Firebug
- Switch to the HTML panel
- Right-click into the blue
<iframe> and choose Inspect Element with Firebug
<iframe> again and choose This Frame > Reload Frame
⇒ A new
<html> element is created inside the HTML panel instead of replacing the old one.
- Open the Firefox Error Console
Hover the old
<html> element inside the HTML panel
⇒ There will be an error displayed:
Error: TypeError: can't access dead object
Source File: chrome://firebug/content/html/inspector.js
Switch to the Script panel and back to the HTML panel
⇒ The side panels are not displayed anymore.
- When reloading the
<html> element is not replaced but a new one created, which causes several other bugs.
<html> element inside the HTML panel needs to be replaced and the
<body> in it selected again or
at least the whole
<iframe> collapsed and its contents recreated.