Changeset 193832 in webkit


Ignore:
Timestamp:
Dec 9, 2015 7:34:28 AM (8 years ago)
Author:
calvaris@igalia.com
Message:

[Streams API] pipeThrough test failing
https://bugs.webkit.org/show_bug.cgi?id=152061

Reviewed by Youenn Fablet.

LayoutTests/imported/w3c:

  • web-platform-tests/streams-api/readable-streams/pipe-through-expected.txt: Expectations.

Source/WebCore:

Test: imported/w3c/web-platform-tests/streams-api/readable-streams/pipe-through.html

  • Modules/streams/ReadableStream.js:

(pipeThrough): Mimic destructuring for the streams parameter.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r193824 r193832  
     12015-12-09  Xabier Rodriguez Calvar  <calvaris@igalia.com>
     2
     3        [Streams API] pipeThrough test failing
     4        https://bugs.webkit.org/show_bug.cgi?id=152061
     5
     6        Reviewed by Youenn Fablet.
     7
     8        * web-platform-tests/streams-api/readable-streams/pipe-through-expected.txt: Expectations.
     9
    1102015-12-09  Xabier Rodriguez Calvar  <calvaris@igalia.com>
    211
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams-api/readable-streams/pipe-through-expected.txt

    r193824 r193832  
    33PASS ReadableStream.prototype.pipeThrough should throw when its first argument is not convertible to an object
    44PASS ReadableStream.prototype.pipeThrough should throw when "this" has no pipeTo method
    5 FAIL ReadableStream.prototype.pipeThrough should rethrow errors from accessing pipeTo, readable, or writable assert_unreached: pipeTo should not be called Reached unreachable code
     5PASS ReadableStream.prototype.pipeThrough should rethrow errors from accessing pipeTo, readable, or writable
    66PASS ReadableStream.prototype.pipeThrough should work with missing readable, writable, or options
    77FAIL Load pipe-through.js with SharedWorker assert_unreached: SharedWorker is unavailable Reached unreachable code
  • trunk/Source/WebCore/ChangeLog

    r193829 r193832  
     12015-12-09  Xabier Rodriguez Calvar  <calvaris@igalia.com>
     2
     3        [Streams API] pipeThrough test failing
     4        https://bugs.webkit.org/show_bug.cgi?id=152061
     5
     6        Reviewed by Youenn Fablet.
     7
     8        Test: imported/w3c/web-platform-tests/streams-api/readable-streams/pipe-through.html
     9
     10        * Modules/streams/ReadableStream.js:
     11        (pipeThrough): Mimic destructuring for the streams parameter.
     12
    1132015-12-09  Frederic Wang  <fred.wang@free.fr>
    214
  • trunk/Source/WebCore/Modules/streams/ReadableStream.js

    r192878 r193832  
    9595    "use strict";
    9696
    97     this.pipeTo(streams.writable, options);
    98     return streams.readable;
     97    const writable = streams.writable;
     98    const readable = streams.readable;
     99    this.pipeTo(writable, options);
     100    return readable;
    99101}
    100102
Note: See TracChangeset for help on using the changeset viewer.