I think the spec dictates that the browser is not supposed to process the
second script until the first is completed. I know that some earlier
versions of IE did not do this, but they fixed that quite a while ago. And
it is to help prevent the sort of thing I am seeing. If you load script A
and then load script B that has a call into script A, it should be
guaranteed to work.
I have not finished debugging what I am seeing yet, so I am not sure if
parallel loading is occurring or not, it just smells like it is.
Thanks,
Jim
On Fri, May 23, 2008 at 11:18 AM, Derrell Lipman <
[EMAIL PROTECTED]> wrote:
>
>
> On Fri, May 23, 2008 at 2:08 PM, Jim Hunter <[EMAIL PROTECTED]> wrote:
>
>> It does, but I am pretty sure that I load the main JS file first (the
>> qooxdoo code and most of my custom code) then I load a general purpose JS
>> file that has basic routines in it. I will do some investigating to see if
>> the issue is local to a certain version of a browser or ??? I thought I had
>> seen a case with one of the FireFox betas where if there were multiple
>> <script> tags in a row, it actually loaded them in parallel. And naturally
>> this would cause problems of this sort. I will find out what browser he is
>> using (I am using FF3 rc1) and also look at the order in which I am loading
>> things.
>
>
> The HTTP spec imposes a limit of 2 concurrent connections. In theory, a
> conformant browser could request two scripts in parallel. I haven't tested
> to see if it does that, but I also don't know of any spec that dictates
> whether that's appropriate or inappropriate behavior. You should probably
> not depend on non-parallel script loading.
>
> Cheers,
>
> Derrell
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
Jim Hunter
DAILY THOUGHT: SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD
FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE
STAIRS
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel