зеркало из https://github.com/mozilla/gecko-dev.git
7753be203b
The old code assumes that it's OK to use nsAString::BeginWriting() to write past the string's logical length if the string has enough capacity. This is bogus, because the string doesn't know of data written past its logical length. The BulkWrite API has been created precisely for this purpose and allows orderly capacity-aware low-level writes to the string. MozReview-Commit-ID: BYQHl8Z9Fbd Differential Revision: https://phabricator.services.mozilla.com/D3886 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
XMLHttpRequest.cpp | ||
XMLHttpRequest.h | ||
XMLHttpRequestEventTarget.cpp | ||
XMLHttpRequestEventTarget.h | ||
XMLHttpRequestMainThread.cpp | ||
XMLHttpRequestMainThread.h | ||
XMLHttpRequestString.cpp | ||
XMLHttpRequestString.h | ||
XMLHttpRequestUpload.cpp | ||
XMLHttpRequestUpload.h | ||
XMLHttpRequestWorker.cpp | ||
XMLHttpRequestWorker.h | ||
moz.build |