- From: Mattias Buelens <notifications@github.com>
- Date: Thu, 02 Jul 2020 04:15:53 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/streams/pull/1050@github.com>
This is a quick experiment to see what would be needed to have cross-links on internal slots. For now, I've only done `ReadableStream`, but I'm pretty confident we can extend this to other classes. I also have not yet taken the line length into account, so some lines may still need wrapping. The change is mostly mechanical: e.g. find all usages of `\[[disturbed]]` and replace them with `[=ReadableStream/[[disturbed]]=]`. For usages of `[[state]]` and `[[storedError]]`, care must be taken to check whether the usage references the slot on `ReadableStream` or on `WritableStream`. I'm not sure if this is the most compact way to do it? A link like `[=ReadableStream/[[readableStreamController]]=]` is quite long, but I don't know if there's a way to write only `[=[[readableStreamController]]=]` and have Bikeshed figure out that it needs to use the `ReadableStream` namespace. 🤷 See #1048. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/streams/pull/1050 -- Commit Summary -- * Add missing link * Add links for ReadableStream internal slots -- File Changes -- M index.bs (201) -- Patch Links -- https://github.com/whatwg/streams/pull/1050.patch https://github.com/whatwg/streams/pull/1050.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/1050
Received on Thursday, 2 July 2020 11:16:09 UTC