| Summary: | REGRESSION (STP): WebSocket.bufferedAmount does not get updated in some cases | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Roberto D'Auria <roberto> | ||||||||||
| Component: | WebCore Misc. | Assignee: | Alex Christensen <achristensen> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | achristensen, ews-watchlist, toyoshim, webkit-bug-importer, youennf, yutak | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | Safari Technology Preview | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Roberto D'Auria
2022-05-11 10:12:18 PDT
Created attachment 459327 [details]
Patch
Thanks for the report, Roberto. Unfortunately, this means I need to restore the status quo on Big Sur, but fortunately newer OSes have been fixed. Thank you for looking into this! Have you had a chance to verify the background vs foreground behavior on MacOS Monterey, too? It behaves the same as on Big Sur, but only when the tab running the send loop does not have focus. Created attachment 459433 [details]
Patch
Roberto, I can't reproduce the background vs foreground issue on Monterey on my m1 MacBook Air with 16GB of ram. Maybe I'm misunderstanding something, but I'm going to https://speed.measurementlab.net/#/ then starting the speed test and switching to another tab or minimizing Safari, and I see no difference. It's definitely a different issue than the one this bug is fixing, though. Created attachment 459439 [details]
Patch
The procedure is the correct one, but we're having some trouble replicating it ourselves right now. I'll open a separate issue if it happens again and I can figure out how to replicate it more consistently. It's also possible that it can happen on Safari stable too, but rarely enough that we never noticed. Thanks! Found 16 new test failures: imported/w3c/web-platform-tests/websockets/Send-65K-data.any.html, imported/w3c/web-platform-tests/websockets/Send-binary-65K-arraybuffer.any.html, imported/w3c/web-platform-tests/websockets/Send-binary-65K-arraybuffer.any.worker.html, imported/w3c/web-platform-tests/websockets/Send-binary-arraybuffer.any.html, imported/w3c/web-platform-tests/websockets/Send-binary-arraybuffer.any.worker.html, imported/w3c/web-platform-tests/websockets/Send-data.any.html, imported/w3c/web-platform-tests/websockets/Send-data.any.worker.html, imported/w3c/web-platform-tests/websockets/Send-paired-surrogates.any.html, imported/w3c/web-platform-tests/websockets/Send-paired-surrogates.any.worker.html, imported/w3c/web-platform-tests/websockets/Send-unicode-data.any.worker.html ... Created attachment 459512 [details]
Patch
Committed r294413 (250705@main): <https://commits.webkit.org/250705@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 459512 [details]. |