Closed Bug 1482915 Opened 7 years ago Closed 3 years ago

[wpt-sync] Sync PR 5519 - ReadableStream: pipeThrough() is not fooled by a fake Promise

Categories

(Testing :: web-platform-tests, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream error])

Sync web-platform-tests PR 5519 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/5519 Details from upstream follow. Adam Rice <ricea@chromium.org> wrote: > ReadableStream: pipeThrough() is not fooled by a fake Promise > > If an implementation used "instanceof" to detect a Promise in the implementation > of pipeThrough(), it would be fooled by Object.create(Promise). Add a test for > this. > > >
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.