From f6648d32e4fb9d17ce02f6475f200433fa538554 Mon Sep 17 00:00:00 2001 From: Alexander Schittler Date: Fri, 3 Jun 2016 14:27:03 +0200 Subject: [PATCH] Add `integrity` property to SRI-enabled DOM elements --- lib/lib.dom.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/lib.dom.d.ts b/lib/lib.dom.d.ts index 673bd34ee3c63..44ab665acdbdb 100644 --- a/lib/lib.dom.d.ts +++ b/lib/lib.dom.d.ts @@ -5883,6 +5883,10 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * Sets or retrieves the language code of the object. */ hreflang: string; + /** + * Sets or retrieves the Subresource Integrity metadata. + */ + integrity: string; /** * Sets or retrieves the media type. */ @@ -6753,6 +6757,10 @@ interface HTMLScriptElement extends HTMLElement { * Sets or retrieves the object that is bound to the event script. */ htmlFor: string; + /** + * Sets or retrieves the Subresource Integrity metadata. + */ + integrity: string; /** * Retrieves the URL to an external file that contains the source code or data. */