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

Unified Diff: third_party/WebKit/Source/core/html/HTMLScriptElement.cpp

Issue 2824583002: Implement <script nomodule> (Closed)
Patch Set: Move script_type declaration Created 3 years, 8 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/html/HTMLScriptElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
index ce375905b14837812e631f2c242f726a44294857..3d794624e070c14d064e8f4bcc813319de6bca35 100644
--- a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
@@ -152,6 +152,10 @@ String HTMLScriptElement::LanguageAttributeValue() const {
return getAttribute(languageAttr).GetString();
}
+bool HTMLScriptElement::NomoduleAttributeValue() const {
+ return FastHasAttribute(nomoduleAttr);
+}
+
String HTMLScriptElement::ForAttributeValue() const {
return getAttribute(forAttr).GetString();
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLScriptElement.h ('k') | third_party/WebKit/Source/core/html/HTMLScriptElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698