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

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

Issue 1798253002: Stop scheduling in-order script execution upon hitting failed script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix msvc compilation Created 4 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: third_party/WebKit/Source/core/dom/ScriptLoader.h
diff --git a/third_party/WebKit/Source/core/dom/ScriptLoader.h b/third_party/WebKit/Source/core/dom/ScriptLoader.h
index b98e90fd56cf2c474c130e30efb86a7c8aa64347..99d47c3a112fe95911e5ffa487289412100a094f 100644
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.h
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.h
@@ -81,6 +81,7 @@ public:
void handleAsyncAttribute();
virtual bool isReady() const { return m_pendingScript && m_pendingScript->isReady(); }
+ bool errorOccurred() const { return m_pendingScript && m_pendingScript->errorOccurred(); }
// Clears the connection to the PendingScript (and Element and Resource).
void detach();
« no previous file with comments | « third_party/WebKit/Source/core/dom/PendingScript.cpp ('k') | third_party/WebKit/Source/core/dom/ScriptRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698