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

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

Issue 2824583002: Implement <script nomodule> (Closed)
Patch Set: Fix a couple of tests I missed 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 4834fe74a4c4f7c0bb9fe8c55748e486b7d62398..589b0264265fef24da9d71670586a3fd1d61a7a2 100644
--- a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
@@ -151,6 +151,10 @@ String HTMLScriptElement::LanguageAttributeValue() const {
return getAttribute(languageAttr).GetString();
}
+bool HTMLScriptElement::NomoduleAttributeValue() const {
+ return FastHasAttribute(nomoduleAttr);
+}
+
String HTMLScriptElement::ForAttributeValue() const {
return getAttribute(forAttr).GetString();
}

Powered by Google App Engine
This is Rietveld 408576698