[webkit-changes] [WebKit/WebKit] 868f20: `m_maxMessageSize` should be `infinity()` instead ...

Commit Queue noreply at github.com
Tue May 21 00:02:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 868f20242ed99710a9ff9d17d12cbb124619920f
      https://github.com/WebKit/WebKit/commit/868f20242ed99710a9ff9d17d12cbb124619920f
  Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-maxMessageSize-expected.txt
    M Source/WebCore/Modules/mediastream/RTCSctpTransport.h

  Log Message:
  -----------
  `m_maxMessageSize` should be `infinity()` instead of `max()` in `RTCSctpTransport.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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list