<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>235200</bug_id>
          
          <creation_ts>2022-01-13 13:46:18 -0800</creation_ts>
          <short_desc>[Readable Streams API] Reject pending reads when releasing reader</short_desc>
          <delta_ts>2023-06-19 23:44:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mattias Buelens">mattias.buelens</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mattias.buelens</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1830693</commentid>
    <comment_count>0</comment_count>
    <who name="Mattias Buelens">mattias.buelens</who>
    <bug_when>2022-01-13 13:46:18 -0800</bug_when>
    <thetext>Previously, calling ReadableStreamDefaultReader.releaseLock() or ReadableStreamBYOBReader.releaseLock() while there are pending read() requests would throw a TypeError.
The specification has been changed to allow this case, and to reject such pending read() requests instead.

Standard change: https://github.com/whatwg/streams/pull/1168
Tests: https://github.com/web-platform-tests/wpt/pull/32072</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1830695</commentid>
    <comment_count>1</comment_count>
    <who name="Mattias Buelens">mattias.buelens</who>
    <bug_when>2022-01-13 13:46:57 -0800</bug_when>
    <thetext>We just merged this change into the spec, but we accidentally forgot that this also affects default readers. Since default readers are already implemented in multiple engines, our process mandates that we should have first asked whether WebKit is interested in this spec change. Our apologies.

If you have any objections, please let us know in https://github.com/whatwg/streams/pull/1168</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1832560</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-01-20 13:47:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/87847830&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1962411</commentid>
    <comment_count>3</comment_count>
    <who name="Mattias Buelens">mattias.buelens</who>
    <bug_when>2023-06-19 04:19:02 -0700</bug_when>
    <thetext>This was fixed in https://bugs.webkit.org/show_bug.cgi?id=254511

Feel free to close this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>