Chromium Code Reviews

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

Issue 2801243002: More tweaks to <script nonce> hiding. (Closed)
Patch Set: Moved tests. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 18 matching lines...)
29 [CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectE mpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin; 29 [CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectE mpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
30 [CEReactions] attribute DOMString text; 30 [CEReactions] attribute DOMString text;
31 31
32 // obsolete members 32 // obsolete members
33 // https://html.spec.whatwg.org/#HTMLScriptElement-partial 33 // https://html.spec.whatwg.org/#HTMLScriptElement-partial
34 // TODO(foolip): The event and htmlFor attributes should return the empty 34 // TODO(foolip): The event and htmlFor attributes should return the empty
35 // string on getting, and do nothing on setting. 35 // string on getting, and do nothing on setting.
36 [CEReactions, Reflect] attribute DOMString event; 36 [CEReactions, Reflect] attribute DOMString event;
37 [CEReactions, Reflect=for] attribute DOMString htmlFor; 37 [CEReactions, Reflect=for] attribute DOMString htmlFor;
38 38
39 // Content Security Policy
40 // https://w3c.github.io/webappsec/specs/content-security-policy/#script-src -the-nonce-attribute
41 [CEReactions, RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attr ibute DOMString nonce;
42
43 // Subresource Integrity 39 // Subresource Integrity
44 // https://w3c.github.io/webappsec-subresource-integrity/#HTMLScriptElement 40 // https://w3c.github.io/webappsec-subresource-integrity/#HTMLScriptElement
45 [Reflect] attribute DOMString integrity; 41 [Reflect] attribute DOMString integrity;
46 }; 42 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLScriptElement.cpp ('k') | third_party/WebKit/Source/core/html/LinkResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine