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

Unified Diff: Source/core/html/HTMLAnchorElement.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/HTMLAnchorElement.idl
diff --git a/Source/core/html/HTMLAnchorElement.idl b/Source/core/html/HTMLAnchorElement.idl
index 57519bd2bdfbae52fc39b54d87c5ce485ec5d4c7..9b87fd6fbf1c56138a36f30e3fed9d2bfbfa6f02 100644
--- a/Source/core/html/HTMLAnchorElement.idl
+++ b/Source/core/html/HTMLAnchorElement.idl
@@ -32,6 +32,8 @@ interface HTMLAnchorElement : HTMLElement {
[Reflect] attribute DOMString type;
readonly attribute DOMString text;
+
+ [Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity;
};
HTMLAnchorElement implements URLUtils;

Powered by Google App Engine
This is Rietveld 408576698