-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync RTCDataChannelInit
as per Web Specification
#31701
base: main
Are you sure you want to change the base?
Sync RTCDataChannelInit
as per Web Specification
#31701
Conversation
EWS run on previous version of this PR (hash e31dbdd) |
https://bugs.webkit.org/show_bug.cgi?id=277604 Reviewed by NOBODY (OOPS!). This patch aligns 'RTCDataChannelInit' with Web Specification [1]: [1] https://w3c.github.io/webrtc-pc/#dom-rtcdatachannelinit It adds '[EnforceRange]' to 'maxPacketLifeTime' and 'maxRetransmits'. Additionally, I just did fly-by fix of adding link of web specification for easier reference. * Source/WebCore/Modules/mediastream/RTCPeerConnection.idl:
e31dbdd
to
b3ac3da
Compare
EWS run on current version of this PR (hash b3ac3da) |
[ | ||
Conditional=WEB_RTC, | ||
EnabledBySetting=PeerConnectionEnabled | ||
] dictionary RTCDataChannelInit { | ||
boolean ordered = true; | ||
unsigned short maxPacketLifeTime; | ||
unsigned short maxRetransmits; | ||
[EnforceRange] unsigned short maxPacketLifeTime; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is web observable and requires adding a layout test.
unsigned short maxPacketLifeTime; | ||
unsigned short maxRetransmits; | ||
[EnforceRange] unsigned short maxPacketLifeTime; | ||
[EnforceRange] unsigned short maxRetransmits; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
b3ac3da