[Streams API] ReadableStream generic reader constructor does not need to call Readabl...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2017 20:06:46 +0000 (20:06 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jan 2017 20:06:46 +0000 (20:06 +0000)
commit9a047346d7d7dcd5c28a54f0455e4ac026d2990d
tree58e769cb64cd9cdbeff9661546c490851e301a24
parent5f8a155c7985690169c853afe9a965f194ab9a7a
[Streams API] ReadableStream generic reader constructor does not need to call ReadableStream getReader
https://bugs.webkit.org/show_bug.cgi?id=167137

Patch by Youenn Fablet <youenn@apple.com> on 2017-01-18
Reviewed by Xabier Rodriguez-Calvar.

Source/WebCore:

Test: streams/shadowing-getReader.html

* bindings/js/JSReadableStreamPrivateConstructors.cpp:
(WebCore::constructJSReadableStreamDefaultReader): Using private constructor instead of getReader.

LayoutTests:

* streams/shadowing-getReader-expected.txt: Added.
* streams/shadowing-getReader.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/streams/shadowing-getReader-expected.txt [new file with mode: 0644]
LayoutTests/streams/shadowing-getReader.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSReadableStreamPrivateConstructors.cpp