Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

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

0 notes on commit c0a500a

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