B2G/gecko/browser/devtools/styleinspector/CssLogic.jsm
/**
   * Tells if the given DOM CSS object matches the current view media.
   *
   * @param {object} aDomObject The DOM CSS object to check.
   * @return {boolean} True if the DOM CSS object matches the current view
   * media, or false otherwise.
   */
Tells if the given DOM CSS object matches the current view media.
@param {object} aDomObject The DOM CSS object to check.
@return {boolean} True if the DOM CSS object matches the current view
media, or false otherwise.
Tells if the given DOM CSS object matches the current view media . @param { object } aDomObject The DOM CSS object to check . @return { boolean } True if the DOM CSS object matches the current view media or false otherwise .
function CL_mediaMatches(aDomObject)
  {
    let mediaText = aDomObject.media.mediaText;
    return !mediaText || this.viewedDocument.defaultView.
                         matchMedia(mediaText).matches;
   }
function CL_mediaMatches ( aDomObject ) { let mediaText = aDomObject . media . mediaText ; return ! mediaText || this . viewedDocument . defaultView . matchMedia ( mediaText ) . matches ; }
Tells if the given DOM CSS object matches the current view media.
Tells if the given DOM CSS object matches the current view media .