rem: doc.addEventListener("foo",monitor,false); doc.addEventListener("foo",monitor,false); 
add: doc.addEventListener("foo", monitor.handleEvent, false); doc.addEventListener("foo", monitor.handleEvent, false); 
context: function dispatchEvent10() {   var success;    if(checkInitialization(builder, "dispatchEvent10") != null) return;    var doc;      var target;      var evt;      var preventDefault;      monitor = new EventMonitor();            var atEvents = new Array();      var bubbledEvents = new Array();      var capturedEvents = new Array();            var docRef = null;      if (typeof(this.doc) != 'undefined') {        docRef = this.doc;      }      doc = load(docRef, "doc", "hc_staff");      doc.addEventListener("foo",monitor,false);      doc.addEventListener("foo",monitor,false);      evt = doc.createEvent("Events");      evt.initEvent("foo",true,false);      preventDefault = doc.dispatchEvent(evt);      atEvents = monitor.atEvents;assertSize("atCount",1,atEvents);bubbledEvents = monitor.bubbledEvents;assertSize("bubbleCount",0,bubbledEvents);capturedEvents = monitor.capturedEvents;assertSize("captureCount",0,capturedEvents);}
meta: 1725	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1725/599dce44358dd1dcf2b91671d30f47396fdc9b39/dispatchEvent10.js/clean/LayoutTests/dom/html/level2/events/dispatchEvent10.js