<?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>230443</bug_id>
          
          <creation_ts>2021-09-18 07:58:30 -0700</creation_ts>
          <short_desc>[MSE] SourceBufferWebMParser should ignore segment length</short_desc>
          <delta_ts>2023-09-20 03:08:44 -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>Media</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Jean-Yves Avenard [:jya]">jean-yves.avenard</reporter>
          <assigned_to name="Jean-Yves Avenard [:jya]">jean-yves.avenard</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1794769</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2021-09-18 07:58:30 -0700</bug_when>
    <thetext>STR:

- Load https://jyavenard.github.io/htmltests/tests/mse_webm/big.html
- this pages loads 5MB of webm at a time, until an exception occurs due to the source buffer throwing a QuotaExceededError

Results:
10801: SourceBuffer buffered ranges grew from TimeRanges: [0.007, 545.109) to TimeRanges: [0.007, 550.11)
10801: Loading buffer: [0, 888286)
10999: got error event
10999: ok(false) should not fire &apos;error&apos; event
10999: SimpleTest.finish

Expected:
QuotaExceededError should be caught and it should display the maximum size of a source buffer.

When this happens, the video element throws a fatal error.

SourceBuffer QuotaExceededError shouldn&apos;t be a fatal error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1794770</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-18 07:58:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/83271244&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795047</commentid>
    <comment_count>2</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2021-09-20 06:31:19 -0700</bug_when>
    <thetext>This issue occurs because the page keeps loading the content in a loop. The initial WebM Segment contains a set length.

libwebm errors when it sees content further than the initial segment length.

We should ignore that length as both Firefox and Chrome are doing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1978608</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-09-20 03:08:44 -0700</bug_when>
    <thetext>@jya - Seems to load fine in STP178, is it fixed?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>