- From: Adam Rice <notifications@github.com>
- Date: Thu, 11 Oct 2018 08:01:21 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 11 October 2018 15:01:43 UTC
What happens if you put the `console.log()` lines inside the ReadableStream construction in readable-stream.js?
I get
```
piping/general.html
× Piping must lock both the ReadableStream and WritableStream
DOMException is not defined
ReferenceError: DOMException is not defined
...
```
Versions I'm using:
```
> npm ls --depth=0
├── better-assert@1.0.2
├── debug@3.2.5
├── eslint@3.19.0
├── minimatch@3.0.4
├── nyc@11.9.0
├── opener@1.5.1
└── wpt-runner@2.6.0
```
In my environment, readable-stream.js has a different global from general.html. I don't know how it would work otherwise, because the `require()` function doesn't exist in the dom world.
--
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/commit/2ed62aa279a6c9181cf8424155edce89b6afb897#commitcomment-30865706
Received on Thursday, 11 October 2018 15:01:43 UTC