[Laszlo-dev] out of order http requests when using XMLHTTPRequest with 'synchronous' option

P T Withington ptw at pobox.com
Sun May 3 04:19:02 PDT 2009


I'm pretty sure IE uses a completely different set of calls for it's  
XHR, so maybe you need to research if there is something tricky that  
we are missing.

On May 3, 2009, at 0:11, Henry Minsky <hminsky at laszlosystems.com> wrote:

>
> Anyway, I'm trying to debug why the profiler is acting weird in  
> DHTML in IE7. I don't get any errors from the
> IE script debugger, and boy is it ever slow, but when the profiler  
> output is analyzed, there's just some stuff that
> seems to have gone missing.
>
> I tried an experiment to see what would happen in the profiler if I  
> set the XMLHTTPRequest.open() call to use
> synchronous instead of asynchronous return.
>
> In Firefox on the Mac, the 'chunks' of profiler data from the client  
> to the server go up in a seemingly random order, closer to the  
> reverse order of how they are called,
> based on the 'seqnum' field. E.g., I see seqnum 10,9,6,5,4,8,7,3,2,1  
> or something like that. It's the opposite of what I'd expect. I even  
> tried setting the Firefox max net connections to
> one. Maybe internally the browser doesn't send requests in order  
> that they are queued.  The server reassmbles the into the correct  
> order so it shouldn't matter anyway, but it still gives bogus  
> results from IE7. I guess I'll try smaller example case and see if I  
> can
> find some problem there.
>
>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20090503/fe161df8/attachment-0001.html


More information about the Laszlo-dev mailing list