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

Unified Diff: core/html/HTMLScriptElement.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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
« no previous file with comments | « core/html/HTMLQuoteElement.idl ('k') | core/html/HTMLSelectElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLScriptElement.idl
diff --git a/core/html/HTMLScriptElement.idl b/core/html/HTMLScriptElement.idl
index c96ec40273c62dfaa825096898f7d4a0b20ccf5d..064e63ae3e0309247b7ee9ec3721402ec465b4e2 100644
--- a/core/html/HTMLScriptElement.idl
+++ b/core/html/HTMLScriptElement.idl
@@ -17,17 +17,29 @@
* Boston, MA 02110-1301, USA.
*/
+// https://html.spec.whatwg.org/#the-script-element
+
interface HTMLScriptElement : HTMLElement {
- attribute DOMString text;
- [Reflect=for] attribute DOMString htmlFor;
- [Reflect] attribute DOMString event;
+ [Reflect, URL] attribute DOMString src;
+ [Reflect] attribute DOMString type;
[Reflect] attribute DOMString charset;
attribute boolean async;
[Reflect] attribute boolean defer;
- [Reflect, URL] attribute DOMString src;
- [Reflect] attribute DOMString type;
[Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
+ attribute DOMString text;
+
+ // obsolete members
+ // https://html.spec.whatwg.org/#HTMLScriptElement-partial
+ // TODO(philipj): The event and htmlFor attributes should return the empty
+ // string on getting, and do nothing on setting.
+ [Reflect] attribute DOMString event;
+ [Reflect=for] attribute DOMString htmlFor;
+
+ // Content Security Policy
+ // https://w3c.github.io/webappsec/specs/content-security-policy/#script-src-the-nonce-attribute
[Reflect, RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute DOMString nonce;
- [Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity;
+ // Subresource Integrity
+ // https://w3c.github.io/webappsec/specs/subresourceintegrity/#htmlscriptelement-1
+ [Reflect] attribute DOMString integrity;
};
« no previous file with comments | « core/html/HTMLQuoteElement.idl ('k') | core/html/HTMLSelectElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698