[OpenLayers-Trac] Re: [OpenLayers] #2933: OpenLayers runs
HTML5-incompatible script
loading code if the UA string doesn't contain "Safari" or "MSIE"
OpenLayers
trac-20090302 at openlayers.org
Wed Nov 17 08:18:51 EST 2010
#2933: OpenLayers runs HTML5-incompatible script loading code if the UA string
doesn't contain "Safari" or "MSIE"
----------------------+-----------------------------------------------------
Reporter: hsivonen | Owner:
Type: bug | Status: new
Priority: critical | Milestone: 2.11 Release
Component: general | Version: 2.10
Keywords: | State: Review
----------------------+-----------------------------------------------------
Comment(by hsivonen):
In WebKit, you are already using document.write and script aren't loading
in parallel, so there'd be no load time increase compared to the status
quo.
In Firefox trunk right now, using document.write would increase load time
compared to your current setup in Firefox 3.6. However, document.written
scripts will load in parallel once
https://bugzilla.mozilla.org/show_bug.cgi?id=543062 is fixed.
Contrary to what I wrote in http://hsivonen.iki.fi/script-execution/ , the
current plan (but not promise) is to make document.written scripts load in
parallel in Firefox 4. (This retargeting to Firefox 4 is a new development
after I filed this OpenLayers bug. The motivation of the retargeting to
Firefox 4 is to make it possible for OpenLayers to move to cross-browser-
compatible code without losing parallel loads in Firefox.)
Your patch looks good to me.
--
Ticket URL: <http://trac.openlayers.org/ticket/2933#comment:5>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list