commit | 08697f894248cda25e67bd5c82565ffbc33f21fa | [log] [tgz] |
---|---|---|
author | hiroshige <hiroshige@chromium.org> | Wed Apr 19 00:40:27 2017 |
committer | Commit bot <commit-bot@chromium.org> | Wed Apr 19 00:40:27 2017 |
tree | 160a6a36dc0947f4856540fa8711815247b4fe03 | |
parent | ab84818703b820d9596a9637a91f73e64096f5b8 [diff] |
Introduce ScriptLoader::script_type_ This CL introduces the logic for determining the script type to ScriptLoader. script_type_ will be used by subsequent CLs. This CL also makes Step 6 of ScriptLoader::PrepareScript() (IsValidScriptTypeAndLanguage()) to correspond directly to the spec. This CL doesn't change the behavior. BUG=594639, 686281 Review-Url: https://codereview.chromium.org/2821803002 Cr-Commit-Position: refs/heads/master@{#465443}