B2G/gecko/browser/components/tabview/content.js
// Checks if the currently active document is an image document or not.
Checks if the currently active document is an image document or not.
Checks if the currently active document is an image document or not .
function WMH_isImageDocument(cx) {
    let isImageDocument = (content.document instanceof Ci.nsIImageDocument);
    sendAsyncMessage(cx.name, {isImageDocument: isImageDocument});
  }
function WMH_isImageDocument ( cx ) { let isImageDocument = ( content . document instanceof Ci . nsIImageDocument ) ; sendAsyncMessage ( cx . name , { isImageDocument : isImageDocument } ) ; }
Checks if the currently active document is an image document or not.
Checks if the currently active document is an image document or not .