| 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 768ef7116d8682d10875f6e7ab95cbec208b86eb..af6ce391c79a38d59b4b3433d8a1b5e3b269ddcc 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -25737,6 +25737,11 @@ class _JsSendPortSync implements SendPortSync {
|
| return _deserialize(result);
|
| }
|
|
|
| + bool operator==(var other) {
|
| + return (other is _JsSendPortSync) && (_id == other._id);
|
| + }
|
| +
|
| + int get hashCode => _id;
|
| }
|
|
|
| // TODO(vsm): Differentiate between Dart2Js and Dartium isolates.
|
| @@ -25767,6 +25772,13 @@ class _RemoteSendPortSync implements SendPortSync {
|
| window.on[source].remove(listener);
|
| return result;
|
| }
|
| +
|
| + bool operator==(var other) {
|
| + return (other is _RemoteSendPortSync) && (_isolateId == other._isolateId)
|
| + && (_portId == other._portId);
|
| + }
|
| +
|
| + int get hashCode => _isolateId >> 16 + _portId;
|
| }
|
|
|
| // The receiver is in the same Dart isolate, compiled to JS.
|
| @@ -25782,6 +25794,13 @@ class _LocalSendPortSync implements SendPortSync {
|
| var result = _receivePort._callback(copy);
|
| return _deserialize(_serialize(result));
|
| }
|
| +
|
| + bool operator==(var other) {
|
| + return (other is _LocalSendPortSync)
|
| + && (_receivePort == other._receivePort);
|
| + }
|
| +
|
| + int get hashCode => _receivePort.hashCode;
|
| }
|
|
|
| // TODO(vsm): Move this to dart:isolate. This will take some
|
|
|