gecko-dev/dom/network/tests
Ping Chen df52a8d25b Bug 1717185 - Fix mBufferedAmount and return value of send in TCPSocket. r=valentin
Previously, mBufferedAmount is only updated when copy complete. If I keep calling `send`, `NotifyCopyComplete` is only called after the last `send`.

This patch changes to update mBufferedAmount in every `send` call, so that it returns `false` correctly if buffer is full.

Differential Revision: https://phabricator.services.mozilla.com/D118258
2021-07-01 00:20:14 +00:00
..
.eslintrc.js
chrome.ini
file_postMessage_opener.html
file_udpsocket_iframe.html
mochitest.ini
tcpsocket_test.jsm
test_network_basics.html
test_network_basics_worker.html
test_tcpsocket_client_and_server_basics.html
test_tcpsocket_client_and_server_basics.js Bug 1717185 - Fix mBufferedAmount and return value of send in TCPSocket. r=valentin 2021-07-01 00:20:14 +00:00
test_tcpsocket_jsm.html
test_tcpsocket_legacy.html
test_tcpsocket_not_exposed_to_content.html
test_udpsocket.html
worker_network_basics.js