[Sie-announce] SIEコード [2917] addEventListenerメソッドとinitEventメソッドの変数の解放処理を加えた

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 9月 3日 (土) 20:30:28 JST


Revision: 2917
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2917
Author:   dhrname
Date:     2011-09-03 20:30:28 +0900 (Sat, 03 Sep 2011)

Log Message:
-----------
addEventListenerメソッドとinitEventメソッドの変数の解放処理を加えた

Modified Paths:
--------------
    branches/08x/085/org/w3c/dom/events.js

Modified: branches/08x/085/org/w3c/dom/events.js
===================================================================
--- branches/08x/085/org/w3c/dom/events.js	2011-09-02 12:53:13 UTC (rev 2916)
+++ branches/08x/085/org/w3c/dom/events.js	2011-09-03 11:30:28 UTC (rev 2917)
@@ -128,7 +128,7 @@
     })(that)
     );
   }
-  s = t = that = null;
+  type = listener = useCapture = s = t = that = null;
 };
 /*void*/  Node.prototype.removeEventListener = function( /*string*/ type, /*EventListener*/ listener, /*boolean*/ useCapture) {
   var tce = this._capter;
@@ -280,6 +280,7 @@
     this.type = eventTypeArg;
     this.bubbles = canBubbleArg;
     this.cancelable = cancelableArg;
+    eventTypeArg = canBubbleArg = cancelableArg = null;
   }
 };
 /*Documentノードに直接結びつける
@@ -303,6 +304,7 @@
   }
   evt.type = eventType;
   evt.timeStamp = +(new Date());
+  eventType = null;
   return evt;
 };
 




Sie-announce メーリングリストの案内
Back to archive index