[Webkit-unassigned] [Bug 51760] New: Changeset #67245 was incompletely implemented
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 30 12:13:19 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51760
Summary: Changeset #67245 was incompletely implemented
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://test.getify.com/webkit-bug-only-markup-not-dyna
mic.html
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: getify at gmail.com
Webkit back in September landed changeset 67245, which effectively tells the browser not to fetch a script resource if the `type` attribute is invalid/unrecognized and the browser doesn't intend to execute it.
http://www.w3.org/TR/html5/scripting-1.html#running-a-script
Here's the wording in the spec, in steps 5 and 6:
[[
If the user agent does not support the scripting language given by the script block's type for this script element, then the user agent must abort these steps at this point.
]]
It would seem pretty likely that this change should apply to both parser-inserted (markup) script elements as well as script-inserted (dynamic) script elements. All other parts of the spec wording in this part of the algorithm are indeed applied to both types of script elements, so this should be, too.
However, if you inspect the provided test page in a recent Webkit nightly, you'll see that the changeset above only affected markup script elements (the "jquery.min.js" was not fetched). The dynamic script element for "dojo.xd.js" should not have been fetched, and yet it was.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list