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

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

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 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 | « Source/core/core.gypi ('k') | Source/core/dom/ScriptLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMException.cpp
diff --git a/Source/core/dom/DOMException.cpp b/Source/core/dom/DOMException.cpp
index a669c049c184f89e9801b026f52eb520f7e8351a..e9826dc25604945ccc497265b8e3df7c5ad93ee7 100644
--- a/Source/core/dom/DOMException.cpp
+++ b/Source/core/dom/DOMException.cpp
@@ -79,6 +79,11 @@ static const struct CoreException {
// Web Crypto
{ "OperationError", "The operation failed for an operation-specific reason", 0 },
+
+ // Type
+ // FIXMEDART: remove TypeError from this list and dispatch type errors as
+ // native Dart TypeError exceptions instead.
+ { "TypeError", "The operation failed for some reason related to types", 0 }
};
static const CoreException* getErrorEntry(ExceptionCode ec)
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/ScriptLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698