[Bug 19857] New: onnegotationneeded syntax error

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19857

          Priority: P2
            Bug ID: 19857
                CC: public-webrtc@w3.org
          Assignee: public-webrtc@w3.org
           Summary: onnegotationneeded syntax error
          Severity: normal
    Classification: Unclassified
                OS: Windows NT
          Reporter: eric.sun@huawei.com
          Hardware: PC
            Status: NEW
           Version: unspecified
         Component: WebRTC API
           Product: WebRTC Working Group

as pointed out by Iskren Chernev [iskren@imo.im] in email thread

onnegotationneeded should be onnegotiationneeded, there should be an "i" after
first t.

/////////////////First Change begin//////////////////////////////////////
[Constructor (RTCConfiguration configuration, optional MediaConstraints
constraints)]
interface RTCPeerConnection : EventTarget  {
    void           createOffer (RTCSessionDescriptionCallback successCallback,
optional RTCPeerConnectionErrorCallback failureCallback, optional
MediaConstraints constraints);
    void           createAnswer (RTCSessionDescriptionCallback successCallback,
optional RTCPeerConnectionErrorCallback? failureCallback = null, optional
MediaConstraints constraints = null);
    void           setLocalDescription (RTCSessionDescription description,
optional RTCVoidCallback successCallback, optional
RTCPeerConnectionErrorCallback failureCallback);
    readonly attribute RTCSessionDescription localDescription;
    void           setRemoteDescription (RTCSessionDescription description,
optional RTCVoidCallback successCallback, optional
RTCPeerConnectionErrorCallback failureCallback);
    readonly attribute RTCSessionDescription remoteDescription;
    readonly attribute RTCPeerState          readyState;
    void           updateIce (optional RTCConfiguration? configuration = null,
optional MediaConstraints? constraints = null);
    void           addIceCandidate (RTCIceCandidate candidate);
    readonly attribute RTCGatheringState     iceGatheringState;
    readonly attribute RTCIceState           iceState;
    readonly attribute MediaStreamArray      localStreams;
    readonly attribute MediaStreamArray      remoteStreams;
    RTCDataChannel createDataChannel ([TreatNullAs=EmptyString] DOMString
label, optional RTCDataChannelInit dataChannelDict);
             attribute EventHandler          ondatachannel;
    void           addStream (MediaStream stream, optional MediaConstraints
constraints);
    void           removeStream (MediaStream stream);
    void           setIdentityProvider (DOMString provider, optional DOMString
protocol, optional DOMString username);
    void           getIdentityAssertion ();
    readonly attribute RTCIdentityAssertion? peerIdentity;
    void           getStats (MediaStreamTrack? selector, RTCStatsCallback
successCallback, optional RTCPeerConnectionErrorCallback failureCallback);
    void           close ();
             attribute EventHandler         
////onnegotationneeded->onnegotiationneeded/////;
             attribute EventHandler          onicecandidate;
             attribute EventHandler          onopen;
             attribute EventHandler          onstatechange;
             attribute EventHandler          onaddstream;
             attribute EventHandler          onremovestream;
             attribute EventHandler          ongatheringchange;
             attribute EventHandler          onicechange;
             attribute EventHandler          onidentityresult;
};
//////////////////First Change
End//////////////////////////////////////////////

//////////////////Second Change
begin///////////////////////////////////////////
///onnegotationneeded->onnegotiationneeded /////of type EventHandler
This event handler, of event handler event type negotiationneeded , must be
supported by all objects implementing the RTCPeerConnection interface.
//////////////////Second Change End///////////////////////////////////////////

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Monday, 5 November 2012 01:18:07 UTC