| 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 66af24b97d2b6b9ed7d32c6a5da8960ce7cb87a0..08a641278c5326170cdf0e37a655d965c17c7a2f 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -25698,6 +25698,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.
|
| @@ -25728,6 +25733,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.
|
| @@ -25743,6 +25755,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
|
|
|