New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent chromium builds breaking head.js #99
Comments
does it happen with this the latest dev version: https://github.com/headjs/headjs/raw/dev/src/load.js unfortunately I don't have that version of Chromium available right now. |
I can confirm this issue in WebKit nightlies too. This loads only
Tested against WebKit nightly 5.0.3 (6533.19.4, r79746) and load.js @ 1ef6250. |
Yes, I can confirm the problem also... Now the dev version of Chrome has the same issue. |
Yes, this is also happening with the dev version of Chrome and the latest dev version of head.js (https://github.com/headjs/headjs/raw/dev/src/load.js). |
I just reduced this a bit more. When
But the script is never loaded by the browser (it doesn't appear in the 'Network' pane in web inspector). This seems to be the root of the problem. So, head.js stalls after the first file because the first element in the list is loaded using |
would really love to dig into this issue. I'm using Linux. is latest webkit/chromium available for Linux? |
Yep: http://www.chromium.org/getting-involved/dev-channel I'm on 11.0.686.1 (on OS X). |
I can confirm this issue on Chromium 11.0.688.0 (76501) Ubuntu 10.04 |
I can confirm this issue for OS X and windows (XP/7) (Chrome 11.0.686.1 dev) and the latest load.js. |
Confirm too. Windows 7, Chrome 11.0.686.1 dev |
OK. Managed to install latest Chromium and indeed the bug is there. I can see that it does not load scripts into cache if script type is set to something that the browser does not understand such as "text/cache" - so preloading in that manner is not possible. The browser also does not execute scripts in order they are inserted - like Firefox and Opera does. Right now I don't know a reliable way of executing scripts in order in this browser. Would like to find more information about the topic on this release or will this be changed on the production release. Does anyone know? Or where are the release notes for this release? To be honest I'm a bit worried. |
I'm getting this on the most recent Chrome dev channel release 11.0.686.3. I hope this is something that doesn't break head.js forever, as I love it. Good luck :( |
BTW, as a fallback to prevent breakage you could just internally load and execute scripts serially if you detect an environment where things will explode. It's admittedly a hack, but slow and working is preferable to not working. |
Right now I'm waiting to get some more information about upcoming Chromium. Maybe the implementation will change on the final release, who knows. But this is something serious for sure. |
man, thought I was going crazy! this is a deal breaker, hopefully it gets worked out... |
Hi, with the latest chrome update head.js works again :-) |
YES! I'm happy again. Maybe they listened to Kyle: |
closing this one. working on 1.0 and ignoring this particular state in chromium browser. |
I don't know what exact build number of Chromium began behaving this way, but they refuse to load more than one .js file in the head.js function. Specific example below. I know the bug may lie within Chromium rather than head.js, but wanted to bring this to your attention in case.
Thanks for such an excellent, elegant script to manage the mayhem!
The text was updated successfully, but these errors were encountered: