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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLScriptElement.idl

Issue 2628733005: Experiment with hiding <script>'s 'nonce' content attribute. (Closed)
Patch Set: Ugh. Created 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 19 matching lines...) Expand all
30 30
31 // obsolete members 31 // obsolete members
32 // https://html.spec.whatwg.org/#HTMLScriptElement-partial 32 // https://html.spec.whatwg.org/#HTMLScriptElement-partial
33 // TODO(foolip): The event and htmlFor attributes should return the empty 33 // TODO(foolip): The event and htmlFor attributes should return the empty
34 // string on getting, and do nothing on setting. 34 // string on getting, and do nothing on setting.
35 [CEReactions, Reflect] attribute DOMString event; 35 [CEReactions, Reflect] attribute DOMString event;
36 [CEReactions, Reflect=for] attribute DOMString htmlFor; 36 [CEReactions, Reflect=for] attribute DOMString htmlFor;
37 37
38 // Content Security Policy 38 // Content Security Policy
39 // https://w3c.github.io/webappsec/specs/content-security-policy/#script-src -the-nonce-attribute 39 // https://w3c.github.io/webappsec/specs/content-security-policy/#script-src -the-nonce-attribute
40 [CEReactions, Reflect, RuntimeEnabled=ExperimentalContentSecurityPolicyFeatu res] attribute DOMString nonce; 40 [CEReactions, RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attr ibute DOMString nonce;
41 41
42 // Subresource Integrity 42 // Subresource Integrity
43 // https://w3c.github.io/webappsec-subresource-integrity/#HTMLScriptElement 43 // https://w3c.github.io/webappsec-subresource-integrity/#HTMLScriptElement
44 [Reflect] attribute DOMString integrity; 44 [Reflect] attribute DOMString integrity;
45 }; 45 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698