gecko-dev/uriloader
Nick Alexander 02dda268a6 Bug 1742879 - Let Cu.createCommandLine accept arguments and state. r=nika
There's a lot of history in this area that mostly explains why this
has not been supported in the past, leading to several awkward
workarounds in tests.  But it doesn't appear that there's any reason
to prevent tests from creating actual command lines, so that's what we
allow here.

I've elected to flesh out `Cu.createCommandLine` rather than expose
`.init(..._)` directly since `Cu.createCommandLine` is already used in
the relevant tests and is only used in tests.  And I've made the
arguments required, rather than optional, so that consumers think
about the arguments, in particular `state`.

Differential Revision: https://phabricator.services.mozilla.com/D132089
2021-12-02 19:06:44 +00:00
..
base Bug 1530209 - Removed context argument from various methods. r=necko-reviewers,valentin 2021-11-24 11:25:41 +00:00
docs
exthandler Bug 1742879 - Let Cu.createCommandLine accept arguments and state. r=nika 2021-12-02 19:06:44 +00:00
prefetch Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
preload Bug 1731564: Use motivated SpinEventLoopUntil inside uriloader/*. r=smaug 2021-10-07 08:06:15 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00