<?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>22431</bug_id>
          
          <creation_ts>2013-06-24 02:15:57 +0000</creation_ts>
          <short_desc>HTMLVideoElement.videoPlaybackQuality should be a live object rather than returning a new object</short_desc>
          <delta_ts>2013-07-02 20:18:38 +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="Matthew Gregan [:kinetik]">kinetik</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>acolwell</cc>
    
    <cc>bzbarsky</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>89738</commentid>
    <comment_count>0</comment_count>
    <who name="Matthew Gregan [:kinetik]">kinetik</who>
    <bug_when>2013-06-24 02:15:57 +0000</bug_when>
    <thetext>This would maintain the invariant that element.videoPlaybackQuality === element.videoPlaybackQuality.

Or if a new object is absolutely required each time, videoPlaybackQuality should be changed from an attribute to a method.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89815</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-06-25 14:49:32 +0000</bug_when>
    <thetext>This attribute is mimicking HTMLMediaElement.buffered, seekable, and played attributes where a new object is returned on every fetch. This is to make sure that all the values in the object stay consistent with eachother since values are intended to be compared with one another.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89869</commentid>
    <comment_count>2</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2013-06-26 05:36:52 +0000</bug_when>
    <thetext>Why are we mimicking terrible APIs?

If you want to return a new object each time, use a method, not an attribute.  Abusing attributes like this is really bad from the point of view of JS API consumers...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90134</commentid>
    <comment_count>3</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-07-02 20:18:38 +0000</bug_when>
    <thetext>Change committed.
https://dvcs.w3.org/hg/html-media/rev/b98190a4472c

changed videoPlaybackQuality attribute to getVideoPlaybackQuality() method.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>