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

Unified Diff: lib/html/dartium/html_dartium.dart

Issue 11231074: Change signature of noSuchMethod to take an InvocationMirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix dart2js, update tests, expectations. Created 8 years, 2 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:
Download patch
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index c9d103afd8d4018f1c93f6ab3835811891083121..2cf0f2ab28edbfe557d757fe463668be5fd0ad35 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -13421,9 +13421,11 @@ class _ElementImpl extends _NodeImpl implements Element {
// Hooks to support custom WebComponents.
var xtag;
- noSuchMethod(String name, List args) {
+ noSuchMethod(InvocationMirror invocation) {
if (dynamicUnknownElementDispatcher == null) {
- throw new NoSuchMethodError(this, name, args);
+ throw new NoSuchMethodError(this, invocation.methodName,
+ invocation.positionalArguments,
+ invocation.namedArguments);
} else {
return dynamicUnknownElementDispatcher(this, name, args);
}

Powered by Google App Engine
This is Rietveld 408576698