| Index: sdk/lib/html/html_common/conversions.dart
|
| diff --git a/sdk/lib/html/html_common/conversions.dart b/sdk/lib/html/html_common/conversions.dart
|
| index b8d9183fd5b6bda5507ff53f152573dddc28edc6..2892b7d46ed1ff0514f6752a98df871b6de1c866 100644
|
| --- a/sdk/lib/html/html_common/conversions.dart
|
| +++ b/sdk/lib/html/html_common/conversions.dart
|
| @@ -139,9 +139,9 @@ _convertDartToNative_PrepareForStructuredClone(value) {
|
|
|
| // TODO(sra): Firefox: How to convert _TypedImageData on the other end?
|
| if (e is ImageData) return e;
|
| - if (e is ArrayBuffer) return e;
|
| + if (e is ByteBuffer) return e;
|
|
|
| - if (e is ArrayBufferView) return e;
|
| + if (e is TypedData) return e;
|
|
|
| if (e is Map) {
|
| var slot = findSlot(e);
|
| @@ -328,7 +328,7 @@ bool isImmutableJavaScriptArray(value) =>
|
| const String _serializedScriptValue =
|
| 'num|String|bool|'
|
| '=List|=Object|'
|
| - 'Blob|File|ArrayBuffer|ArrayBufferView'
|
| + 'Blob|File|ByteBuffer|TypedData'
|
| // TODO(sra): Add Date, RegExp.
|
| ;
|
| const annotation_Creates_SerializedScriptValue =
|
|
|