| OLD | NEW |
| 1 part of "html_common.dart"; | 1 part of "dart:html_common"; |
| 2 | 2 |
| 3 convertDartToNative_PrepareForStructuredClone(value) => | 3 convertDartToNative_PrepareForStructuredClone(value) => |
| 4 new _StructuredCloneDartium() | 4 new _StructuredCloneDartium() |
| 5 .convertDartToNative_PrepareForStructuredClone(value); | 5 .convertDartToNative_PrepareForStructuredClone(value); |
| 6 | 6 |
| 7 convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}) => | 7 convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}) => |
| 8 new _AcceptStructuredCloneDartium() | 8 new _AcceptStructuredCloneDartium() |
| 9 .convertNativeToDart_AcceptStructuredClone(object, mustCopy: mustCopy); | 9 .convertNativeToDart_AcceptStructuredClone(object, mustCopy: mustCopy); |
| 10 | 10 |
| 11 class _StructuredCloneDartium extends _StructuredClone { | 11 class _StructuredCloneDartium extends _StructuredClone { |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 if (js.JsNative.hasProperty(e, "postMessage")) { | 285 if (js.JsNative.hasProperty(e, "postMessage")) { |
| 286 // assume this is a Window. To match Dart2JS, separate conversion code | 286 // assume this is a Window. To match Dart2JS, separate conversion code |
| 287 // in dart:html will switch the wrapper to a cross frame window as | 287 // in dart:html will switch the wrapper to a cross frame window as |
| 288 // required. | 288 // required. |
| 289 // TODO(jacobr): we could consider removing this code completely. | 289 // TODO(jacobr): we could consider removing this code completely. |
| 290 return Window.instanceRuntimeType; | 290 return Window.instanceRuntimeType; |
| 291 } | 291 } |
| 292 } | 292 } |
| 293 return js.JSObject.instanceRuntimeType; | 293 return js.JSObject.instanceRuntimeType; |
| 294 } | 294 } |
| OLD | NEW |