Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: third_party/WebKit/Source/core/dom/ScriptLoader.cpp

Issue 2135753002: Update supported javascript mimetypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: asanka@ review Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/ScriptLoader.cpp
diff --git a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
index a8337a8df390e92e0f5c4ad23955a52e56086473..994e0cba18cfb73a1d8c36b7ac9d4109ce7f3d63 100644
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
@@ -146,6 +146,8 @@ static bool isLegacySupportedJavaScriptLanguage(const String& language)
languages.add("livescript");
languages.add("ecmascript");
languages.add("jscript");
+ languages.add("x-ecmascript");
+ languages.add("x-javascript");
Yoav Weiss 2016/07/11 09:43:20 Is that defined in a spec somewhere? Looking at ht
Charlie Harrison 2016/07/11 14:43:32 You're right. These changes are not in scope for t
}
return languages.contains(language);
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-script-element/script-languages-02-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698