B2G/gecko/layout/reftests/xul-document-load/test017-020.js
// specified .target and .data
specified .target and .data
specified . target and . data
function checkDOM(target, data) {
  var piNode = document.documentElement.childNodes[1];
  if (!piNode || piNode.nodeType != Node.PROCESSING_INSTRUCTION_NODE ||
      piNode.target != target || piNode.data != data) {
    document.documentElement.style.backgroundColor = "red";
  }
}
function checkDOM ( target , data ) { var piNode = document . documentElement . childNodes [ 1 ] ; if ( ! piNode || piNode . nodeType != Node . PROCESSING_INSTRUCTION_NODE || piNode . target != target || piNode . data != data ) { document . documentElement . style . backgroundColor = "red" ; } }
specified .target and .data
specified . target and . data
// assume there are no whitespace nodes in XUL