<?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>25788</bug_id>
          
          <creation_ts>2014-05-18 14:33:34 +0000</creation_ts>
          <short_desc>Spec should explicitly specify whether the return types can be nullable or not.</short_desc>
          <delta_ts>2014-09-23 06:53:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Kiran">kiran.guduru</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>dom</cc>
    
    <cc>public-media-capture</cc>
    
    <cc>stefan.lk.hakansson</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106285</commentid>
    <comment_count>0</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-05-18 14:33:34 +0000</bug_when>
    <thetext>The return types of certain function may be null in certain scenarios.
This has been specified for getTrackById 
&quot;Return type: MediaStreamTrack, nullable&quot;, 
but missed to specify for other functions. This should be specified for all the possible cases

clone - should return null in case of any error occurred while processing.
and may be for other functions like
getCapabilities, getConstraints, getSettings etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111438</commentid>
    <comment_count>1</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2014-09-12 15:04:36 +0000</bug_when>
    <thetext>There are no error conditions defined for clone, getCapabilities, getConstraints, getSettings, and I&apos;m not clear what kind of error might occur. 

Thus I don&apos;t think their return values should be nullable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111996</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-09-23 06:53:15 +0000</bug_when>
    <thetext>There has been no evidence of the need for more cases where the return type can be null. Closing as &quot;WONTFIX&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>