ykuramochi / jquery-jsonp

Automatically exported from code.google.com/p/jquery-jsonp
0 stars 0 forks source link

Firefox 3.6 and async attribute in script tag #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run Request A and later Request B
2. Request B arrived first and nothing happens
3. Request A arrived and execute
4. Script from Request B is finally executed

What is the expected output? What do you see instead?
Script should run asychronously. I think good idea is to add an option to
jsonp to tell if we want "async" attribute.

What version of the product are you using? On what operating system?
jsonp 2.0.2, firefox 3.6

Please provide any additional information below.
https://developer.mozilla.org/En/HTML/Element/Script
http://stackoverflow.com/questions/1834077/browser-support-for-script-asynctrue
http://tagneto.blogspot.com/2010/01/script-async-raindrop-and-firefox-36.html

Original issue reported on code.google.com by qbawo...@gmail.com on 27 May 2010 at 10:54

GoogleCodeExporter commented 8 years ago
sorry my fault...
i have FF 3.5.9 and now I see STR_ASYNC = "async" line in the source.
But.. i still don't know how to run scripts in FF 3.5.9 async.

Original comment by qbawo...@gmail.com on 27 May 2010 at 11:01

GoogleCodeExporter commented 8 years ago
AFAIK, async support only started in FF 3.6. So I'm pretty sure you won't get 
an 
asynchronous behaviour in FF 3.5.

Original comment by aubourg.julian on 27 May 2010 at 12:31

GoogleCodeExporter commented 8 years ago
OK, I'll close this from now. It's in the grey area of "would be great if such 
version of such browser supported this or that".

Original comment by aubourg.julian on 16 Jun 2010 at 2:19