-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
m_maxMessageSize
should be infinity()
instead of max()
in RTCSctpTransport.h
#28752
m_maxMessageSize
should be infinity()
instead of max()
in RTCSctpTransport.h
#28752
Conversation
EWS run on current version of this PR (hash d368c1a) |
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.
Do we know what it would take to fix all the tests in that file? It looks like they all pass in other browsers, and this only fixes one of them.
We are currently relying on libwebrtc callback, which is probably not enough from looking at the code as the callback is only called in case of sctp connection state change (and not other state changes like message size). That said, the change looks ok, let's go for it and I'll file another bug to fix other tests. |
β¦ctpTransport.h` https://bugs.webkit.org/show_bug.cgi?id=274025 rdar://problem/128306030 Reviewed by Youenn Fablet. This patch aligns WebKit with web specification [1]: [1] https://w3c.github.io/webrtc-pc/#dfn-update-the-data-max-message-size "If both remoteMaxMessageSize and canSendSize are 0, set [[MaxMessageSize]] to the positive Infinity value." * Source/WebCore/Modules/mediastream/RTCSctpTransport.h: (double m_maxMessageSize): * LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-maxMessageSize-expected.txt: Rebaselined Canonical link: https://commits.webkit.org/279039@main
d368c1a
to
868f202
Compare
Committed 279039@main (868f202): https://commits.webkit.org/279039@main Reviewed commits have been landed. Closing PR #28752 and removing active labels. |
868f202
d368c1a