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'"); |
} |
}); |