Re: [streams] Requirement on promises equality (#266)

If we ensure `.ready` object identity and specify that breaks when the internal state changes, a user can observe an internal state change even when locked. That is not desirable.

```
var stream = ...;
assert stream is locked to someone;

var p = stream.ready;
...
var q = stream.ready;
if (p !== q) {
  // I cannot see the internal state, but I'm sure something happens!
}

```


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/266#issuecomment-72787204

Received on Wednesday, 4 February 2015 04:04:52 UTC