⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185821 in webkit


Ignore:
Timestamp:
Jun 22, 2015, 1:57:58 AM (11 years ago)
Author:
youenn.fablet@crf.canon.fr
Message:

[Streams API] Correct releaseLock test in readable-stream-templated.html
https://bugs.webkit.org/show_bug.cgi?id=146101

Reviewed by Darin Adler.

  • streams/reference-implementation/readable-stream-templated-expected.txt: Rebased changed test.
  • streams/reference-implementation/readable-stream-templated.html: Removed testharness wrapper around function.
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r185820 r185821  
     12015-06-22  Xabier Rodriguez Calvar  <calvaris@igalia.com> and Youenn Fablet <youenn.fablet@crf.canon.fr>
     2
     3        [Streams API] Correct releaseLock test in readable-stream-templated.html
     4        https://bugs.webkit.org/show_bug.cgi?id=146101
     5
     6        Reviewed by Darin Adler.
     7
     8        * streams/reference-implementation/readable-stream-templated-expected.txt: Rebased changed test.
     9        * streams/reference-implementation/readable-stream-templated.html: Removed testharness wrapper around function.
     10
    1112015-06-22  Adam Bergkvist  <adam.bergkvist@ericsson.com>
    212
  • trunk/LayoutTests/streams/reference-implementation/readable-stream-templated-expected.txt

    r185697 r185821  
    99PASS read() should return distinct promises each time
    1010PASS getReader() again on the stream should fail
    11 FAIL releasing the lock with pending read requests should throw but the read requests should stay pending Type error
     11PASS releasing the lock with pending read requests should throw but the read requests should stay pending
    1212PASS releasing the lock should cause further read() calls to resolve as if the stream is closed
    1313PASS releasing the lock should cause closed to fulfill
  • trunk/LayoutTests/streams/reference-implementation/readable-stream-templated.html

    r185586 r185821  
    240240        );
    241241
    242         assert_throws(new TypeError(), test3.step_func(function() { reader.releaseLock(); }, 'releaseLock should throw a TypeError'));
     242        assert_throws(new TypeError(), function() { reader.releaseLock(); }, 'releaseLock should throw a TypeError');
    243243
    244244        setTimeout(test3.step_func(function() { test3.done(); }), 1000);
Note: See TracChangeset for help on using the changeset viewer.