| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 70641ad5c8303390291d33f02ccf2878826de60f..02ad6203bf070e064da1dbcc5ad2511fa6406028 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -1810,8 +1810,14 @@ class Counter native "*Counter" {
|
|
|
| @DocsEditable
|
| @DomName('Crypto')
|
| +@SupportedBrowser(SupportedBrowser.CHROME)
|
| +@SupportedBrowser(SupportedBrowser.SAFARI)
|
| +@Experimental
|
| class Crypto native "*Crypto" {
|
|
|
| + /// Checks if this type is supported on the current platform.
|
| + static bool get supported => JS('bool', '!!(window.crypto && window.crypto.getRandomValues)');
|
| +
|
| @DomName('Crypto.getRandomValues')
|
| @DocsEditable
|
| ArrayBufferView getRandomValues(ArrayBufferView array) native;
|
|
|