![]()
Disposes all non-disposed instances of goog.net.XhrIo created by
goog.net.XhrIo.send .
goog.net.XhrIo.send cleans up the goog.net.XhrIo instance
it creates when the request completes or fails. However, if
the request never completes, then the goog.net.XhrIo is not disposed.
This can occur if the window is unloaded before the request completes.
We could have goog.net.XhrIo.send return the goog.net.XhrIo
it creates and make the client of goog.net.XhrIo.send be
responsible for disposing it in this case. However, this makes things
significantly more complicated for the client, and the whole point
of goog.net.XhrIo.send is that it's simple and easy to use.
Clients of goog.net.XhrIo.send should call
goog.net.XhrIo.cleanup when doing final
cleanup on window unload.
|
code » | ||||||||
No description.
|
code » | ||||||||
![]()
Installs exception protection for all entry point introduced by
goog.net.XhrIo instances which are not protected by
goog.debug.ErrorHandler#protectWindowSetTimeout ,
goog.debug.ErrorHandler#protectWindowSetInterval , or
goog.events.protectBrowserEventEntryPoint .
Arguments:
|
code » | ||||||||
![]()
Static send that creates a short lived instance of XhrIo to send the
request.
Arguments:
|
code » | ||||||||
Determines if the argument is an XMLHttpRequest that supports the level 2
timeout value and event.
Currently, FF 21.0 OS X has the fields but won't actually call the timeout
handler. Perhaps the confusion in the bug referenced below hasn't
entirely been resolved.
Arguments:
Returns: boolean
True if the request supports level 2 timeout.
|
code » |
![]()
No description.
|
Code » |