mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
Bug 864152 - Fix for intermittent browser_webconsole_network_panel.js | uncaught exception - TypeError: imageNode or elem is null at resource:///modules/devtools/webconsole/network-panel.js; r=me
This commit is contained in:
parent
96862eba64
commit
389793752b
@ -675,9 +675,7 @@ NetworkPanel.prototype =
|
||||
*/
|
||||
update: function NP_update()
|
||||
{
|
||||
// After the iframe's contentWindow is ready, the document object is set.
|
||||
// If the document object is not available yet nothing needs to be updated.
|
||||
if (!this.document || !this.document.getElementById("headUrl")) {
|
||||
if (!this.document || this.document.readyState != "complete") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user