| Index: tools/dom/src/dart2js_Platform.dart
|
| diff --git a/tools/dom/src/dart2js_Platform.dart b/tools/dom/src/dart2js_Platform.dart
|
| index 90570f004991ddb2e87080fe4ac66e4b525b72be..5988011c0cd3c1c048605dcb22c0a3c7360ff25e 100644
|
| --- a/tools/dom/src/dart2js_Platform.dart
|
| +++ b/tools/dom/src/dart2js_Platform.dart
|
| @@ -5,5 +5,17 @@
|
| part of html;
|
|
|
| class Platform {
|
| + /**
|
| + * Returns true if dart:typed_data types are supported on this
|
| + * browser. If false, using these types will generate a runtime
|
| + * error.
|
| + */
|
| static final supportsTypedData = JS('bool', '!!(window.ArrayBuffer)');
|
| +
|
| + /**
|
| + * Returns true if SIMD types in dart:typed_data types are supported
|
| + * on this browser. If false, using these types will generate a runtime
|
| + * error.
|
| + */
|
| + static final supportsSimd = false;
|
| }
|
|
|