Have Fetch bodies use File blobs for local files instead of regular blobs.
Differential Revision: https://phabricator.services.mozilla.com/D3183
--HG--
extra : moz-landing-system : lando
* Avoid the string implementation's capacity checks, since we know they
succeed.
* Avoid the string implementation's aliasing checks, since we know there's no
aliasing.
* Avoid writing the zero terminator more than once or out of sequence.
* Use u"" literals when appending literals to a UTF-16 string.
* Write runs of non-escaped code units instead of writing code unit by code
unit in order to benefit from SIMD (either via memcpy or
ConvertLatin1toUTF16).
This results in a 13% execution time reduction on desktop Haswell i7 when
getting the innerHTML of the body of the Selectors spec. (The WebKit
optimization target from https://bugs.webkit.org/show_bug.cgi?id=81214 .)
MozReview-Commit-ID: LAg3gkGJnpQ
Differential Revision: https://phabricator.services.mozilla.com/D5239
--HG--
extra : moz-landing-system : lando
We define the standalone types for using derive macro easily and overriding
the behaviors of this traits. This could avoid defining the general
behavior of booleans.
Depends on D4788
Differential Revision: https://phabricator.services.mozilla.com/D4813
--HG--
extra : moz-landing-system : lando
Add tests for ComputeSquaredDistance on |offset-path:path()|.
Depends on D4791
Differential Revision: https://phabricator.services.mozilla.com/D4788
--HG--
extra : moz-landing-system : lando
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus. This
is verified with psm_DeserializeCert gtest.
Differential Revision: https://phabricator.services.mozilla.com/D3704
--HG--
extra : moz-landing-system : lando
The mechanism was added in bug 1168705 for fullscreen, and is only used
for this since then. The spec now has a specific step for this in the
event loop, so specialize this mechanism to match the spec closer.
This patch also changes the caller type of the fullscreenchange event
from non-system to system (via using DispatchTrustedEvent rather than
EventTarget::DispatchEvent(Event&)).
Differential Revision: https://phabricator.services.mozilla.com/D5235
--HG--
extra : source : 179f5fbd9db08518804b613f5e3fefa659c1e0a2
In following patches, we are changing how fullscreen events dispatches,
and this patch removes the only dependency of the original mechanism
outside content-exposed fullscreen events.
Listeners of NewOrigin event nowadays just send a message to the chrome,
so it doesn't really matter a lot when is it dispatched.
This event was made that way as part of bug 1168705. I cannot recall
the exact reason for doing so, but maybe that time we still care about
non-e10s, and syncing this event with flush can help merging the browser
chrome UI change into the same flush on non-e10s.
Differential Revision: https://phabricator.services.mozilla.com/D5234
--HG--
extra : source : 9ee1f744c213db0d89d48e6764ade0e0a13af103
It is possible for audio and videos moofs to be interleaved in the stream. If we were to stop on an invalid moof or a moof whose track ID doesn't match, the track would end up not playing.
Differential Revision: https://phabricator.services.mozilla.com/D5157
--HG--
extra : moz-landing-system : lando
Adding local-candidate and remote-candidate tests to the test_peerConnection_stats
Differential Revision: https://phabricator.services.mozilla.com/D5123
--HG--
extra : moz-landing-system : lando
Increasing the threshold for 'sane' for the pliCount stat to account for mochi tests running on a burdened machine
Differential Revision: https://phabricator.services.mozilla.com/D5116
--HG--
extra : moz-landing-system : lando
Add a new interface nsIOSPermissionRequest for querying the
staus of access permissions for audio/video media capture and
requesting access to audio/video capture devices. Provides an
implementation for macOS 10.14 and a default implementation
(nsOSPermissionRequestBase) for earlier macOS versions and other
platforms. The default implementation always returns status
indicating access is allowed.
Differential Revision: https://phabricator.services.mozilla.com/D4601
--HG--
extra : moz-landing-system : lando
Turned out to be fairly trivial. Not much to explain here - as far
as I can tell this looks clean on try now (no web extension failures
like there were before).
Differential Revision: https://phabricator.services.mozilla.com/D5280
--HG--
extra : moz-landing-system : lando
This is a follow up to Bug 1482667. The list of callers was gathered by instrumenting
the webidl calls to these methods and dumping JS stack when they are called in browser.xul.
Differential Revision: https://phabricator.services.mozilla.com/D5185
--HG--
extra : moz-landing-system : lando
In FFmpeg 4.0 and later, draining the parser will cause later decoding error as the decoder expects to only be fed a null packet.
It was also unnecessary for earlier version of FFmpeg
Differential Revision: https://phabricator.services.mozilla.com/D5056
--HG--
extra : moz-landing-system : lando