From 84105175018d9611519a26adea74bdd0c150a524 Mon Sep 17 00:00:00 2001
From: Simon Pieters
Date: Thu, 3 Nov 2016 14:54:48 +0100
Subject: [PATCH] Disallow the integrity attribute for inline scripts
Fallout from #1984.
---
source | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/source b/source
index d37f9a6ef79..6a98c8c670a 100644
--- a/source
+++ b/source
@@ -57556,11 +57556,12 @@ interface HTMLScriptElement : HTMLElement {
the script specified by an element will be executed. The value is text.
The integrity
attribute represents the
- integrity metadata for requests which
- this element is responsible for. The value is text. The integrity
attribute must not be specified when
- embedding a module script.
+ data-x="attr-script-integrity">integrity attribute represents the integrity metadata for requests which this
+ element is responsible for. The value is text. The integrity
attribute must not be specified when embedding a
+ module script or when the src
attribute is not
+ specified. [
]Changing the src
,