Bug 276596 - Sync `dataChannelIdentifier` as per web specification to be `unsigned short`
Summary: Sync `dataChannelIdentifier` as per web specification to be `unsigned short`
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-07-14 16:03 PDT by Ahmad Saleem
Modified: 2024-07-21 16:04 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2024-07-14 16:03:38 PDT
Hi Team,

While going through Web Specifications, I noticed that we fail following:

Web Specification - https://w3c.github.io/webrtc-stats/#dom-rtcdatachannelstats

WebKit Source - https://searchfox.org/wubkat/rev/4a199452e4f0918a290880f0698d151dee0b3009/Source/WebCore/Modules/mediastream/RTCStatsReport.idl#272

As per web-spec, it should be 'unsigned short' rather than 'long'.

Just wanted to raise to fix it.

NOTE - it was added recently in January 2024 (https://commits.webkit.org/273643@main), so it would be good to fix it now.

Thanks!
Comment 1 Radar WebKit Bug Importer 2024-07-21 16:04:13 PDT
<rdar://problem/132204311>