[whatwg/streams] Editorial: rename internal slots for brevity (#1061)

Prior to #1035, certain internal slots were used for brand checking, which meant they needed to have unique names. That is no longer a requirement, and so we can use simpler names now.

This PR is done as a series of commits to make review or rebasing easier, but the intention is to squash it into one commit before merging.

This will help un-block https://github.com/whatwg/streams/pull/1050.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/1061

-- Commit Summary --

  * [[readableStreamController]] -> [[controller]
  * [[ownerReadableStream]] -> stream
  * [[controlledReadableStream]] -> [[stream]]
  * [[writableStreamController]] -> [[controller]]
  * [[ownerWritableStream]] -> [[stream]]
  * [[controlledWritableStream]] -> [[stream]]
  * [[transformStreamController]] -> [[controller]]
  * Reduce redundant variable declarations

-- File Changes --

    M index.bs (325)
    M reference-implementation/lib/ReadableByteStreamController-impl.js (6)
    M reference-implementation/lib/ReadableStream-impl.js (4)
    M reference-implementation/lib/ReadableStreamBYOBReader-impl.js (6)
    M reference-implementation/lib/ReadableStreamDefaultController-impl.js (2)
    M reference-implementation/lib/ReadableStreamDefaultReader-impl.js (6)
    M reference-implementation/lib/TransformStream-impl.js (2)
    M reference-implementation/lib/TransformStreamDefaultController-impl.js (2)
    M reference-implementation/lib/WritableStreamDefaultController-impl.js (2)
    M reference-implementation/lib/WritableStreamDefaultWriter-impl.js (10)
    M reference-implementation/lib/abstract-ops/readable-streams.js (92)
    M reference-implementation/lib/abstract-ops/transform-streams.js (32)
    M reference-implementation/lib/abstract-ops/writable-streams.js (50)

-- Patch Links --

https://github.com/whatwg/streams/pull/1061.patch
https://github.com/whatwg/streams/pull/1061.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1061

Received on Tuesday, 28 July 2020 18:13:04 UTC