This is complaining that there's already a GC in progress, so make sure we
finish it before starting the new one. This fixes the failure on try.
Differential Revision: https://phabricator.services.mozilla.com/D100916
Bug 1683824 updated to the 0.2.14 tag, but that's patched in order to
publish to crates.io such that tiny-http is not patched anymore.
Unfortunately, that breaks sccache-dist, which is a known issue and will
eventually fixed when addressing
https://github.com/mozilla/sccache/issues/912.
So here we update to a corresponding version on master (the first that
bumps the version to the next number).
Differential Revision: https://phabricator.services.mozilla.com/D100863
For custom element reaction invocation in the parser, we need a way to distinguish the tree appending operation is from fragments or not,
since we don't want to execute reactions until innerHTML finishes running.
(See spec changes https://github.com/whatwg/html/issues/4025)
We don't need to do anything for opAppendText and opAppendCommand since the text and command won't have any chance to
be a custom element.
Differential Revision: https://phabricator.services.mozilla.com/D10226
This reverts a change made for IonBuilder loop restarts (to preserve loop header
phis when restarting a loop).
Then removeBlockIncludingPhis can be removed because removeBlock now always removes
phis too.
Depends on D100790
Differential Revision: https://phabricator.services.mozilla.com/D100791
The WMFDecoderModule now uses a crash guard around the loading of the VP9/VP8 MFT. We don't want to always assume that we have a VPx decoder in the GPU process in particular, as it will only be true if a HW decoder is available.
Differential Revision: https://phabricator.services.mozilla.com/D100309
Not the most elegant, but reworking the PDMFactory to be fully re-initialized would be a significant change, as only the WMFDecoderModule requires it we take some shortcuts.
Differential Revision: https://phabricator.services.mozilla.com/D100308
gfxVars::CanUseHardwareVideoDecoding is often set after the first use of the PDMFactory; in this case this would disable HW VP9 decoding for the entire session of the browser.
This value will always end up being true on macOS, so ignore its value in the static Init method.
Differential Revision: https://phabricator.services.mozilla.com/D100307
Upon starting the RDD and GPU process; we check their decoding capabilities and send it to the parent process. It will then broadcast this information to all content children so that RemodeDecoderModule::Supports can return if a codec is supported or not.
Differential Revision: https://phabricator.services.mozilla.com/D100306
When calling PDM::SupportsMimeType not enough information is provided for the PDM to categorically state that a codec isn't supported.
Only creating the decoder successfully matters and the PDMFactory only uses the value returned by Support as a hint to further query the PDM.
Without this change WMFDecoderModule::SupportsMimeType in the GPU process would always return false as it doesn't know yet the KnownCompositor.
Differential Revision: https://phabricator.services.mozilla.com/D100305
We can launch the RDD process early now that it is a fully asynchronous process and doesn't block anything.
This will allow to retrieve the decoding capabilities of the RDD process right away.
Calling this method will actually be handled in bug 1684991 once blockers are sorted (tests and sandbox)
Differential Revision: https://phabricator.services.mozilla.com/D100304
Depends on D97733
Exporting the current DAMP runner as a singleton from damp.js simplifies the dependency management between damp.js and head.js
Differential Revision: https://phabricator.services.mozilla.com/D100670
Now, Fennec theme files (mobile/android/themes/core) are unused and
GV's files are in mobile/android/themes/geckoview.
So we can remove Fennec theme files.
Differential Revision: https://phabricator.services.mozilla.com/D100755
We are going to revise this method in the next part, so this patch
simply moves this method into FlexItem without doing any improvement.
Differential Revision: https://phabricator.services.mozilla.com/D100370
FlexItem::mIntrinsicRatio caches the AspectRatio from
nsIFrame::GetAspectRatio(), which can either be the natural aspect-ratio
of the element or the aspect-ratio set from style system. Rename it and
its accessors for accuracy.
The comments are revised to match the term "preferred aspect ratio" used
throughout the flexbox spec.
Differential Revision: https://phabricator.services.mozilla.com/D100369
DONTBUILD because this is a comment-only change and hence doesn't affect
behavior at all.
I ran across this typo in nsPageFrame.cpp, and figured I might as well grep for
it and fix it more comprehensively. And while I'm at it, I also fixed some
neighboring instances of a duplicated word around a linebreak, in
nsXMLContentSerializer.h.
Differential Revision: https://phabricator.services.mozilla.com/D100852
ID3D11Query could be recycled. It was already done at RenderCompositorANGLE.
CompositorD3D11 is used in RenderCompositorD3D11SWGL.
Differential Revision: https://phabricator.services.mozilla.com/D100380