Bug 732206 - Fix Ts failures by preventing some errors from appearing in logcat. r=Cwiiis

This commit is contained in:
Kartikaya Gupta 2012-03-06 10:02:34 -05:00
parent 921124c30e
commit 88e96f5baf

View File

@ -1572,6 +1572,8 @@ Tab.prototype = {
refreshDisplayPort: function(aDisplayPortMargins) {
if (this._zoom <= 0)
return;
if (!this.browser.contentDocument.documentElement)
return;
let viewport = this.viewport;