Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 64ba9cf9f8892b0964453a9fbe7e8272dc900714
      
https://github.com/WebKit/WebKit/commit/64ba9cf9f8892b0964453a9fbe7e8272dc900714
  Author: Devin Rousso <[email protected]>
  Date:   2026-06-05 (Fri, 05 Jun 2026)

  Changed paths:
    M 
LayoutTests/http/tests/websocket/tests/hybi/inspector/before-load-expected.txt
    M LayoutTests/http/tests/websocket/tests/hybi/inspector/before-load.html
    M Source/WebCore/Modules/websockets/WebSocketHandshake.cpp

  Log Message:
  -----------
  [curl] REGRESSION(276696@main): Web Inspector: WebSocket response status text 
is one character short
https://bugs.webkit.org/show_bug.cgi?id=316266

Reviewed by Don Olmstead.

276696@main should've used `lineLength` instead of `index` to match the same 
logic as before

`index` points to the `\n` so subtracting one from that will miss a character 
since `std::span::subspan` will not include the item at `offset + count`

* Source/WebCore/Modules/websockets/WebSocketHandshake.cpp:
(WebCore::WebSocketHandshake::readStatusLine):

* LayoutTests/http/tests/websocket/tests/hybi/inspector/before-load.html:
* 
LayoutTests/http/tests/websocket/tests/hybi/inspector/before-load-expected.txt:

Canonical link: https://commits.webkit.org/314637@main



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

Reply via email to