gecko-dev/js
Nicolas B. Pierron 74af1d594a Bug 1839396 part 17 - Make QuoteString and JSONQuoteString infallible. r=mgaudet
The previous patch reimplemented QuoteString to use a `StringSegmentRange`,
which should avoid mutating the inner parts of `JSRope`, while remaining fast on
`JSAtom`-s.

As the StringSegmentRange does not need to allocate with `ensureLinear`, then
all the failures are reported by the `put` functions using the `GenericPrinter`
mechanism, and the `release` functions of `Sprinter` would report the failure if
any.

Thus, there is no need for retuning a boolean value anymore from `QuoteString`
and `JSONQuoteString`, while this is still necessary to check the returned value
variant of `QuoteString` which returns `UniqueChars` by using the `release`
function of `Sprinter`.

Differential Revision: https://phabricator.services.mozilla.com/D183759
2023-10-04 15:18:20 +00:00
..
examples Bug 1817347 - Prevent jorendb from spewing out enormous strings r=jonco 2023-03-23 21:07:06 +00:00
loader Bug 1841859 - Part 2: Parse the referrer policy from http header and update the referrer policy. r=jonco,smaug 2023-09-20 17:32:15 +00:00
public Bug 1839396 part 17 - Make QuoteString and JSONQuoteString infallible. r=mgaudet 2023-10-04 15:18:20 +00:00
src Bug 1839396 part 17 - Make QuoteString and JSONQuoteString infallible. r=mgaudet 2023-10-04 15:18:20 +00:00
xpconnect Bug 1774888 - Remove XPCOMUtils.defineLazyModuleGetter. r=arai 2023-10-02 09:48:01 +00:00
app.mozbuild
ffi.configure Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato 2023-09-06 16:14:30 +00:00
moz.build
moz.configure Bug 1855288 - Allow tail calls be compiled for beta and release. r=rhunt 2023-09-27 13:55:25 +00:00
sub.configure