Index: tools/dom/src/native_DOMImplementation.dart |
diff --git a/tools/dom/src/native_DOMImplementation.dart b/tools/dom/src/native_DOMImplementation.dart |
index 9f74d3e1c7471e613522f960fd8c54004f0d37d2..860106d186d99fc6e2ff1677090f2ef0401b683f 100644 |
--- a/tools/dom/src/native_DOMImplementation.dart |
+++ b/tools/dom/src/native_DOMImplementation.dart |
@@ -124,6 +124,8 @@ class _Utils { |
} |
} |
+ static maybeUnwrapJso(obj) => unwrap_jso(obj); |
+ |
static List convertToList(List list) { |
// FIXME: [possible optimization]: do not copy the array if Dart_IsArray is fine w/ it. |
final length = list.length; |
@@ -769,7 +771,7 @@ class _Utils { |
return [ |
"inspect", |
(o) { |
- host.inspect(o, null); |
+ host.callMethod("inspect", [o]); |
return o; |
}, |
"dir", |