Bonsoir à tous,
Je recherche des informations sur les fuites mémoires dans IE6 ayant une application en mode web contenant pas mal de javascript.
J'ai lu la documentation de Microsoft sur ce probleme connu :
http://support.microsoft.com/?scid [...] &x=14&y=11
Mais dans l'exemple qu'ils donnent je comprend mal les liens entre les objets, les fonctions et le gestionnaire d'evenement. Sans doute, je comprend mal l'anglais qu'ils utilisent, pourriez vous m'aider à mieux cerner la description du probleme
Voici l'extrait de texte contenant 100% des information :
In this code, the handler (the mouse function) is nested inside the attacher (the hookup function). This arrangement means that the handler is closed over the scope of the caller (this arrangement is named a "closure" ). The handler maintains a reference to the variable element. In this case, the variable element is the div HTML element with the ID parameter that is set to menu. But the div element refers to the handler. This reference is a circular reference. |
Cet article fait aussi référence à celui ci, juste pour info :
http://support.microsoft.com/kb/929874/fr
Merci d'avance