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

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

Issue 1010433007: Fire error event when script integrity check fails. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated comment Created 5 years, 9 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.h
diff --git a/Source/core/dom/ScriptLoader.h b/Source/core/dom/ScriptLoader.h
index 7c2ce1b03107675ca6d4abc01b4f1f041438ad5d..c03a7e9b800fced58ce8ad2fdb550388b7efb5c7 100644
--- a/Source/core/dom/ScriptLoader.h
+++ b/Source/core/dom/ScriptLoader.h
@@ -53,7 +53,8 @@ public:
String scriptCharset() const { return m_characterEncoding; }
String scriptContent() const;
- void executeScript(const ScriptSourceCode&, double* compilationFinishTime = 0);
+ // Returns false if and only if execution was blocked.
+ bool executeScript(const ScriptSourceCode&, double* compilationFinishTime = 0);
virtual void execute();
// XML parser calls these

Powered by Google App Engine
This is Rietveld 408576698