diff --git a/suite/browser/pageInfo.js b/suite/browser/pageInfo.js index a5920ca74c9..b218a9f1e4d 100644 --- a/suite/browser/pageInfo.js +++ b/suite/browser/pageInfo.js @@ -521,7 +521,8 @@ function addImage(url, type, alt, elem, isBg) function grabAll(elem) { // check for background images, any node may have one - var url = elem.ownerDocument.defaultView.getComputedStyle(elem, "").getPropertyCSSValue("background-image"); + var ComputedStyle = elem.ownerDocument.defaultView.getComputedStyle(elem, ""); + var url = ComputedStyle && ComputedStyle.getPropertyCSSValue("background-image"); if (url && url.primitiveType == CSSPrimitiveValue.CSS_URI) addImage(url.getStringValue(), gStrings.mediaBGImg, gStrings.notSet, elem, true);