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

Unified Diff: Source/core/html/HTMLLinkElement.idl

Issue 208423011: SRI: Add the 'integrity' attribute, and a SubresourceIntegrity runtime flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. Created 6 years, 9 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: Source/core/html/HTMLLinkElement.idl
diff --git a/Source/core/html/HTMLLinkElement.idl b/Source/core/html/HTMLLinkElement.idl
index 92e5d19ee06192c2c80bc1f31ae423c871f1e2d9..c59e4d558c9b31a5a4770145aa89ac3f7e8990a9 100644
--- a/Source/core/html/HTMLLinkElement.idl
+++ b/Source/core/html/HTMLLinkElement.idl
@@ -36,4 +36,6 @@ interface HTMLLinkElement : HTMLElement {
readonly attribute StyleSheet sheet;
[RuntimeEnabled=HTMLImports] readonly attribute Document import;
+
+ [Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity;
};

Powered by Google App Engine
This is Rietveld 408576698