[Webkit-unassigned] [Bug 184731] New: Cannot create data channel with id >1023

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 18 06:35:25 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=184731

            Bug ID: 184731
           Summary: Cannot create data channel with id >1023
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: db at threema.ch
                CC: youennf at gmail.com

This works:

    pc.createDataChannel('hello', { id: 1023 });

But this fails with a NotSupportedError:

    pc.createDataChannel('hello', { id: 1024 });

According to the spec (https://www.w3.org/TR/webrtc/#dom-rtcdatachannelinit), the RTCDataChannelInit.id value is an unsigned short, so an id of 1024 should be valid.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180418/070292dc/attachment.html>


More information about the webkit-unassigned mailing list