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

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

Issue 248013002: Elaborate error handling on ScriptLoader::finishLoading() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing Created 6 years, 8 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
« no previous file with comments | « LayoutTests/fast/dom/HTMLScriptElement/resources/do-nothing.js ('k') | Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptLoader.h
diff --git a/Source/core/dom/ScriptLoader.h b/Source/core/dom/ScriptLoader.h
index ff8784ebd67484e2c23364bca22a7388ae832a37..a862e33b5b1a75bf0655ce3f245b7fb970043cb4 100644
--- a/Source/core/dom/ScriptLoader.h
+++ b/Source/core/dom/ScriptLoader.h
@@ -90,7 +90,8 @@ private:
enum FinishType {
FinishSuccessfully,
- FinishWithErrorOrCancel
+ FinishWithCancel,
+ FinishWithError
};
void finishLoading(Document* contextDocument, FinishType);
« no previous file with comments | « LayoutTests/fast/dom/HTMLScriptElement/resources/do-nothing.js ('k') | Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698