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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20758</bug_id>
          
          <creation_ts>2013-01-24 16:17:10 +0000</creation_ts>
          <short_desc>remove() should be an asynchronous operation</short_desc>
          <delta_ts>2013-01-31 00:47:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Bateman [MSFT]">adrianba</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>acolwell</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>82088</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2013-01-24 16:17:10 +0000</bug_when>
    <thetext>There may be a large amount of work to do to process a remove() operation and we should not block the UI thread while this happens.

Proposed Change: expand the &quot;append&quot; related events and attribute for the remove operation

- Section 4: rename &quot;appending&quot; attribute to &quot;updating&quot; through the whole section
- Section 4: rename &quot;appendstart&quot; to &quot;updatestart&quot; through the section
- Section 4: rename &quot;appendend&quot; to &quot;updateend&quot; through the section 
- Section 4.1: in the updating definition, add &quot;remove()&quot; operation to the list
- Section 4.2: in the definition of the remove() operation insert the following between steps 4 and 5
   o Set the updating attribute to true.
   o Queue a task to fire a simple event named updatestart at this SourceBuffer object.
- Then after step 5.4, add the following
  o Set the updating attribute to false.
  o Queue a task to fire a simple event named updateend at this SourceBuffer object.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82386</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-01-31 00:47:57 +0000</bug_when>
    <thetext>Changes committed
https://dvcs.w3.org/hg/html-media/rev/b35722b0cd8f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>