DescriptionDon't preload scripts with invalid type/language attributes
This patch keeps track of a script tag's type and language attributes,
and gates preloading if they are invalid. This aligns the preload scanner's
policy with the ScriptLoader's policy.
BUG=623109
Committed: https://crrev.com/23f4df7587f338837a709afb192900102584fc0a
Cr-Commit-Position: refs/heads/master@{#403182}
Patch Set 1 #
Total comments: 6
Patch Set 2 : add unit tests and fix threading issue #Patch Set 3 : case insensitive matching #Patch Set 4 : other nits etc. #
Total comments: 2
Patch Set 5 : isLegacySupportedJavascriptLanguage requires lowercase input #
Messages
Total messages: 17 (6 generated)
|