Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Issue 5705: HTML panel is not properly updated if an iframe is refreshed

  • Loading branch information...
commit c0a500abbcf4ff9f8d0f74b962746064bcdf4113 1 parent 53163a0
@janodvarko janodvarko authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 extension/content/firebug/bti/inProcess/browser.js
6 extension/content/firebug/bti/inProcess/browser.js
@@ -270,6 +270,12 @@ Browser.prototype.getOrCreateContextByWebApp = function(webApp)
var context = TabWatcher.watchTopWindow(topWindow, browser.currentURI, true);
this.setContextByWebApp(webApp, context);
+ // TEMP; Watch also all iframes. Firebug has been initialized when the page is already
+ // loaded and so, we can't rely on auto-registration done by FrameProgressListener.
+ var iframes = topWindow.document.getElementsByTagName("iframe");
+ for (var i=0; i<iframes.length; i++)
+ TabWatcher.watchWindow(iframes[i].contentWindow, null, false);
browser.showFirebug = true;
Events.dispatch(TabWatcher.fbListeners, "watchBrowser", [browser]); // TODO remove

0 comments on commit c0a500a

Please sign in to comment.
Something went wrong with that request. Please try again.