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

Unified Diff: LayoutTests/http/tests/security/subresourceIntegrity/integrity-attribute.html

Issue 1151773007: Remove integrity attribute from elements not in SRI spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update test results Created 5 years, 7 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: LayoutTests/http/tests/security/subresourceIntegrity/integrity-attribute.html
diff --git a/LayoutTests/http/tests/security/subresourceIntegrity/integrity-attribute.html b/LayoutTests/http/tests/security/subresourceIntegrity/integrity-attribute.html
index 4f7851512737dd5bdc26b93a33766b3400a11ebd..219e76fdd84e98ede771fca9a1fb80cd5a68c92c 100644
--- a/LayoutTests/http/tests/security/subresourceIntegrity/integrity-attribute.html
+++ b/LayoutTests/http/tests/security/subresourceIntegrity/integrity-attribute.html
@@ -26,20 +26,20 @@
}
var shouldHaveIntegrity = [
+ 'link',
+ 'script',
+ ];
+
+ var shouldNotHaveIntegrity = [
'a',
'audio',
'embed',
'iframe',
'img',
- 'link',
'object',
- 'script',
'source',
'track',
'video',
- ];
-
- var shouldNotHaveIntegrity = [
'body',
'div',
'html',

Powered by Google App Engine
This is Rietveld 408576698