зеркало из https://github.com/mozilla/gecko-dev.git
df52a8d25b
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 |
||
---|---|---|
.. | ||
.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 | ||
test_tcpsocket_jsm.html | ||
test_tcpsocket_legacy.html | ||
test_tcpsocket_not_exposed_to_content.html | ||
test_udpsocket.html | ||
worker_network_basics.js |