With Bug 1898436, it seems ok to re-remove sync wait in compositor thread of main thread canvas on Nightly.
pref gfx.remote-texture.wait-owner-at-image-host = false on Nightly could be used to remove the sync wait.
Differential Revision: https://phabricator.services.mozilla.com/D211479
Although I'm not sure where requires the ticks because
`nsTextControlFrame::InitializeEagerlyIfNeeded()` uses `AddScriptRunner`.
However, according to the failure log, it's caused by that the default value
change occurred before `IMEContentObserver` starts to observe the anonymous
content changes. Then, the second test restores the empty default value, so,
the text changes caused by both added and removed by a text node under
`<textarea>` is canceled.
Depends on D211709
Differential Revision: https://phabricator.services.mozilla.com/D211710
Same rationale as vendoring of a recent version of `wheel`. We need it
in mozharness for `--no-use-pep517` so that we can use a recent `pip`,
so we'll update to a similar baseline to minimize issues.
Differential Revision: https://phabricator.services.mozilla.com/D211599
We need to use `wheel` in mozharness to use `--no-use-pep517` (so we can
use a modern `pip`). We don't explicitly need to upgrade `wheel`, but it
seems sensible to upgrade it to a similar baseline as both `pip` and
`setuptools` (which we also need are are upgrading with this stack).
Differential Revision: https://phabricator.services.mozilla.com/D211594
While nothing explicitly prompted updating this, letting `pip` and
`pip-tools` diverage too greatly in version release dates seems like
a bad idea, especially with the various deprecations in
`pip` and `python3.12`.
This also vendors the implicit dependencies `build`, `tomli`, and
`pyproject_hooks`.
Differential Revision: https://phabricator.services.mozilla.com/D210526
Since bug 1885671, we no longer need to run the initialization for
decoder module on the main thread, so we should allow running
`InitPDMs()` on non-main threads as well.
Differential Revision: https://phabricator.services.mozilla.com/D211142
These tests would fail if we automatically add a HTTPS-First exception. So this
patch either removes those exceptions again throughout the tests, or disables
the adding of automatic exceptions via a pref.
Differential Revision: https://phabricator.services.mozilla.com/D204757
- Introduce new pref `dom.security.https_first_add_exception_on_failiure`
- Add new function `nsHTTPSOnlyUtils::AddFirstExceptionForSession`, which will
set a temporary HTTPS-First exception
- When detecting a redirect loop or when downgrading, and if the pref is set,
call `AddFirstExceptionForSession`
Differential Revision: https://phabricator.services.mozilla.com/D204380
Introduce the two new value types "FIRST_LOAD_INSECURE_ALLOW" and
"FIRST_LOAD_INSECURE_ALLOW_SESSION" for permission "https-only-load-insecure".
While the existing values apply to both HTTPS-Only and HTTPS-First, these will
only apply to HTTPS-First. Additionally, they will not be displayed in the UI
(HTTPS-Only settings and identity pane).
Differential Revision: https://phabricator.services.mozilla.com/D205713
This patch carves out the code in the GMP encoder wrapper in WebRTC that
modifies encoded OpenH264 frames to be acceptable for WebRTC.
Differential Revision: https://phabricator.services.mozilla.com/D211742
This patch moves a method used to determine if one is on the GMP thread
from a static method for GMPVideoDecoder into GMPUtils. This allows for
sharing it between the decoder and encoder implementations. It also
ensures we can pack/unpack the latest GMPVideoCodec structure which has
parameters relevant for encoding.
Differential Revision: https://phabricator.services.mozilla.com/D211653
This patch adds a new class, MediaDataEncoderProxy, that is the
equivalent of MediaDataDecoderProxy for encoders. It allows using
encoders that must be accessed on a particular thread. It will be used
by a later patch in this series.
Differential Revision: https://phabricator.services.mozilla.com/D211651
This patch makes MediaDataEncoder declare its refcounting as virtual.
This will allow a future patch in this series to add subclasses that
have multiple superclasses using refcounting.
Differential Revision: https://phabricator.services.mozilla.com/D211650
This patch makes it so we are consistent in how we teardown the GMP
video decoder, in particular when we encounter an error callback from
the plugin. We may fail during a call to initialize the decoder for
example, and should not attempt to use any GMP APIs on our proxy after
it because its internal state is default initialized and it doesn't
check always for null pointers.
Differential Revision: https://phabricator.services.mozilla.com/D211679
ShareableCanvasRenderer::UpdateCompositableClient() does not update FwdTransactionTracker::mFwdTransactionId when canvas is not dirty. It caused small emoteTextureTxnId in RecordedTextureData::~RecordedTextureData(). It caused too early remote texture owner removal. And it caused Bug 1898650 comment 2.
Differential Revision: https://phabricator.services.mozilla.com/D211713