rem: (!evt.originalTarget instanceof Ci.nsIDOMHTMLDocument || 
add: (!(evt.originalTarget instanceof Ci.nsIDOMHTMLDocument) || 
context: function plLoadHandlerCapturing(evt) {  // make sure we pick up the right load event  if (evt.type != 'load' ||      (!evt.originalTarget instanceof Ci.nsIDOMHTMLDocument ||       evt.originalTarget.defaultView.frameElement))      return;  if (!(plPageFlags() & TEST_DOES_OWN_TIMING)) {    dumpLine("tp: Capturing onload handler used with page that doesn't do its own timing?");    plStop(true);  }  // set up the function for content to call  content.contentWindow.wrappedJSObject.tpRecordTime = function (time) {    plRecordTime(time);    setTimeout(plNextPage, 250);  };}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/d14b72f4d35ca7b1e4cc076d93b6c033f4bd406a/pageloader.js/buggy/layout/tools/pageloader/pageloader.js