rem: doc.addEventListener("foo",listener1,false); doc.addEventListener("foo",listener2,false); 
add: doc.addEventListener("foo", listener1.handleEvent, false); doc.addEventListener("foo", listener2.handleEvent, false); 
context: function dispatchEvent13() {   var success;    if(checkInitialization(builder, "dispatchEvent13") != null) return;    var doc;      var target;      var evt;      var preventDefault;      var listeners = new Array();      var events = new Array();      listener1 = new EventListenerN1003B(events, listeners);	        listener2 = new EventListenerN10074(events, listeners);	              var docRef = null;      if (typeof(this.doc) != 'undefined') {        docRef = this.doc;      }      doc = load(docRef, "doc", "hc_staff");      listeners[listeners.length] = listener1;listeners[listeners.length] = listener2;doc.addEventListener("foo",listener1,false);      doc.addEventListener("foo",listener2,false);      evt = doc.createEvent("Events");      evt.initEvent("foo",true,false);      preventDefault = doc.dispatchEvent(evt);      assertSize("eventCount",1,events);}
meta: 10664	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/5ab9476ed1ff5e8ca0ff51efc15714df676b60e6/dispatchEvent13.js/buggy/third_party/WebKit/LayoutTests/dom/html/level2/events/dispatchEvent13.js