Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2, 1.8.2-EE-Beta
-
Fix Version/s: 1.8.2-EE-GA, 1.8.3
-
Labels:None
-
Environment:browser
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
Introduce heuristic in the event listener cleanup process that will cleanup only the listeners that are most often used by the components. This way the process will take much less time with the hope that ~90% of the registered listeners are cleaned up.
Implemented partial listener cleanup. Only the following listeners are cleaned up: onkeypress, onmousedown, onmousemove, onmouseout, onmouseover, onclick, oncontextmenu, onchange, onfocus, onblur.
Introduced "com.icesoft.faces.fullJSListenerCleanup" context parameter that can be used to turn back on a full listener cleanup. By default the parameter is set to false.