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

Unified Diff: lib/html/templates/html/impl/impl_MutationObserver.darttemplate

Issue 10989013: Change IllegalArgumentException to ArgumentError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated co19 test expectations. Created 8 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: lib/html/templates/html/impl/impl_MutationObserver.darttemplate
diff --git a/lib/html/templates/html/impl/impl_MutationObserver.darttemplate b/lib/html/templates/html/impl/impl_MutationObserver.darttemplate
index 45a037bbdb9db949063dac770ff15586db3016cb..528b0fcc201ac0069114e3e5a57c759778578219 100644
--- a/lib/html/templates/html/impl/impl_MutationObserver.darttemplate
+++ b/lib/html/templates/html/impl/impl_MutationObserver.darttemplate
@@ -24,7 +24,7 @@ $!MEMBERS
} else if (k == 'attributeFilter') {
_add(parsedOptions, k, _fixupList(v));
} else {
- throw new IllegalArgumentException(
+ throw new ArgumentError(
"Illegal MutationObserver.observe option '$k'");
}
});

Powered by Google App Engine
This is Rietveld 408576698