Side navigation
#936 closed bug (fixed)
Opened February 09, 2007 02:53AM UTC
Closed March 24, 2007 05:48PM UTC
Last modified December 04, 2009 08:28AM UTC
Rework xmlhttp usage to poll object instead of attaching onreadystatechange handler
Reported by: | mikael.karon@karon.s | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ajax | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
As we all know the IE GC is at best a-royal-piece-of-garbage (pun intended), especially when it comes to closures and event handling. By attaching javascript to an ActiveX object (any DOM element and the XMLHttpRequest object) and then referring to the object itself one runs the risk of fcking the GC.
There are several tricks that prevent (or lessen the effects) this by variable reassigning and so on, but why not circumvent that entirely? Alex Russell (Dojo fame) posted a little about it at http://alex.dojotoolkit.org/?p=528 and I think it makes sense. By observing the request rather then trying to rig it one can escape the death trap known as the IE GC.
Attachments (2)
Change History (3)
Changed February 09, 2007 05:42AM UTC by comment:1
Changed February 22, 2007 11:34PM UTC by comment:2
This is a (previous) duplicate of #991, already fixed.
Changed March 24, 2007 05:48PM UTC by comment:3
need: | → Review |
---|---|
resolution: | → fixed |
status: | new → closed |
type: | enhancement → bug |
version: | 1.1 |
forgot to mention that this is against [1295]