Index: tools/dom/src/html_native_DOMImplementation.dart |
diff --git a/tools/dom/src/html_native_DOMImplementation.dart b/tools/dom/src/html_native_DOMImplementation.dart |
index 75ba90f543731180fe0cd590f42b1901ed10b6d9..57f75da6caac3deed189fdb684099c7b76700b12 100644 |
--- a/tools/dom/src/html_native_DOMImplementation.dart |
+++ b/tools/dom/src/html_native_DOMImplementation.dart |
@@ -162,6 +162,8 @@ class _Utils { |
static Map createMap() => {}; |
+ static parseJson(String jsonSource) => const JsonDecoder().convert(jsonSource); |
+ |
static makeUnimplementedError(String fileName, int lineNo) { |
return new UnsupportedError('[info: $fileName:$lineNo]'); |
} |