W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2014

[Bug 25788] New: Spec should explicitly specify whether the return types can be nullable or not.

From: <bugzilla@jessica.w3.org>
Date: Sun, 18 May 2014 14:33:34 +0000
To: public-media-capture@w3.org
Message-ID: <bug-25788-5753@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25788

            Bug ID: 25788
           Summary: Spec should explicitly specify whether the return
                    types can be nullable or not.
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Capture and Streams
          Assignee: public-media-capture@w3.org
          Reporter: kiran.guduru@samsung.com
                CC: public-media-capture@w3.org

The return types of certain function may be null in certain scenarios.
This has been specified for getTrackById 
"Return type: MediaStreamTrack, nullable", 
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
Received on Sunday, 18 May 2014 14:33:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:27 UTC