Hi everyone,

we lately had a customer who also struggled with this bug and he solved that
by moving all dojo.require calls from the <head> to the beginning of the
<body> tag. That definitely solved the white page problem, but I don't
understand why that would change the behaviour of loading js files.

Our customer just did that quickfix, but I've seen some things in his code
and also on the site of the mozilla bugreport
https://bugzilla.mozilla.org/show_bug.cgi?idV7432, that also could affect
the white page problem:

- The loading of CSS in the HTML is done with <link> and also with @import.
- Not all CSS files are loaded before JS execution

Maybe someone could test in his setup, if the loading of CSS with just
<link> or @import solves that issue. Another test-case would be to load all
CSS files first and doing all JS processing (external js files and script
blocks) afterwards.

Regards, Tobias

2010/5/22 Dylan Schiemann <dylan at dojotoolkit.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

By the way, it would be really helpful, if anyone has additional
insights or examples, to comment on this Bugzilla issue directly to help
mozilla work to identify and fixed it.

Regards,
- -Dylan

on 5/21/10 3:10 PM (GMT-07:00) Dylan Schiemann said the following:
https://bugzilla.mozilla.org/show_bug.cgi?idV7432

And yes, it does happen with other libraries... it's been a nagging
issue with loading of JS files since FF 3.0.

Regards,
-Dylan

on 5/21/10 12:48 PM (GMT-07:00) Josh Trutwin said the following:
On Fri, 21 May 2010 12:25:57 -0700
Dylan Schiemann wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a bug on file with mozilla on this issue... I've asked for an
update as I cannot find it with a search of bugzilla (though there
are many similar bugs in bugzilla).
So this is a Mozilla issue though? Does it happen with other JS libs?
Thanks for the good info on this thread.
Josh
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest at mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest at mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv3/a4ACgkQ1E2HcBNypM77KgCgg3bivZWMvs+jrfONuGM2rq9T
TgcAnicniWIh32a9bWdFWvqXBNsi+yvk
Hb
-----END PGP SIGNATURE-----
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest at mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20100524/0827a41b/attachment.htm

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

People

Translate

site design / logo © 2022 Grokbase