Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: Source/core/dom/ScriptLoader.cpp

Issue 596043003: Basic console error messages for subresource integrity. (Closed) Base URL:
Patch Set: Fixed broken test expected values Created 6 years, 3 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/dom/ScriptLoader.cpp
diff --git a/Source/core/dom/ScriptLoader.cpp b/Source/core/dom/ScriptLoader.cpp
index 803c2fb139a9f61437c1d90d77ea4d8dee99105e..4879d4d051c23907a66a98f9b5b06ad076605b40 100644
--- a/Source/core/dom/ScriptLoader.cpp
+++ b/Source/core/dom/ScriptLoader.cpp
@@ -324,7 +324,6 @@ void ScriptLoader::executeScript(const ScriptSourceCode& sourceCode, double* com
- // FIXME: On failure, SRI should probably provide an error message for the console.
if (!SubresourceIntegrity::CheckSubresourceIntegrity(*m_element, sourceCode.source(), sourceCode.resource()->url()))

Powered by Google App Engine
This is Rietveld 408576698