Bugs item #2525065, was opened at 2009-01-21 00:05
Message generated for change (Settings changed) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2525065&group_id=61302

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HtmlUnit plugin
>Group: Release 2.2
>Status: Closed
>Resolution: Fixed
Priority: 6
Private: No
Submitted By: Sivan Mozes (smozes)
>Assigned to: Julien HENRY (henryju)
Summary: WebWindow.close() should be called

Initial Comment:
WebWindowListener().webWindowClosed(WebWindowEvent event) deregisters the 
window and nullifies its reference but does not terminate running JavaScript 
tasks when closing a window. setTimeout() threads and XmlHttpRequests are 
allowed to continue running, affecting subsequent test results and causing 
memory leaks.

See HTMLUnit FAQ:
http://htmlunit.sourceforge.net/faq.html#MemoryLeak


----------------------------------------------------------------------

>Comment By: Julien HENRY (henryju)
Date: 2009-01-21 15:17

Message:
Hi Sivan,

Thanks for reporting the bug. It is very difficult to test so I suggest
you checkout latest SVN code and test the fix I did.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2525065&group_id=61302

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to