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

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

Issue 718633002: Deflake http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix our use of w3 test harness to call done() Created 6 years 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
« no previous file with comments | « LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLLinkElement.cpp
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
index 23533d96600b404417eae1926789bc48424e1755..efdc6f7ed670ef378ff48dfc08125216d2bcdd2c 100644
--- a/Source/core/html/HTMLLinkElement.cpp
+++ b/Source/core/html/HTMLLinkElement.cpp
@@ -511,6 +511,7 @@ void LinkStyle::setCSSStyleSheet(const String& href, const KURL& baseURL, const
if (!SubresourceIntegrity::CheckSubresourceIntegrity(*m_owner, cachedStyleSheet->sheetText(), KURL(KURL(), href))) {
m_loading = false;
removePendingSheet();
+ notifyLoadedSheetAndAllCriticalSubresources(true);
return;
}
« no previous file with comments | « LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698