[Webkit-unassigned] [Bug 8852] Scripts should not be executed before preceding subresources are loaded

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Jul 11 06:28:38 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8852





------- Comment #5 from opendarwin.org at mitzpettel.com  2006-07-11 06:28 PDT -------
(In reply to comment #4)
> perhaps a script should be paused when it
> accesses DOM for something that causes layout (like offsetTop does), and
> stylesheets are not loaded yet? And of course, when it accesses stylesheets
> themselves.

OK, one thing I was wondering about was what "subresources" encompassed. Is it
limited to stylesheets? The other thing was "preceding" - what if the script
inserts a <link rel="stylesheet">? Should it block until it's loaded?

Finally, if the desired behavior is not specified, could there be a way to
apply it as a quirk only to pages that may actually need it (those whose
authors haven't heard of onload)?

> If I understood Maciej correctly, JSC currently lacks the ability to pause
> script execution, though.

Especially given that, it would be very sad to not even start executing any
script until stylesheets have loaded, although that does seem to be exactly
what Firfox does :-(


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list