729798 Commits

Author SHA1 Message Date
Rob Lemley
d4b14ce3b4 Bug 1665414 - Move tb-debian-mingw docker-image definition to Thunderbird repo. r=taskgraph-reviewers,aki
This docker image was created for Thunderbird and is unavailable for Firefox
builds.

Depends on D92703

Differential Revision: https://phabricator.services.mozilla.com/D92704
2020-10-08 18:27:43 +00:00
Rob Lemley
fec1f2b476 Bug 1665414 - Make docker image_paths extendable by projects. r=taskgraph-reviewers,aki
Replace the memoized dictionary that image_path uses as storage with a Mapping
object. It's equipped with a register function to allow Thunderbird to add it's own
docker image jobs and context path.

Depends on D92702

Differential Revision: https://phabricator.services.mozilla.com/D92703
2020-10-08 18:27:45 +00:00
Rob Lemley
419c456c10 Bug 1665414 - Use image_path to locate context path in docker_image transform. r=taskgraph-reviewers,aki
This change is to facilitate defining docker-images in comm/taskcluster/docker. At the
moment this is not possible due to how 'context_path' is set.

taskgraph.docker.util is already imported by the transform code, so it can make use of
the existing image_path function. image_path return an absolute_path, while some of the
consumers of context_path expect a path that's relative to topsrcdir.

Differential Revision: https://phabricator.services.mozilla.com/D92702
2020-10-08 18:28:08 +00:00
Kris Maglione
eeec43da78 Bug 1669096: Add missing kungFuDeathGrip. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D92490
2020-10-06 18:05:32 +00:00
Mats Palmgren
cee53e9c91 Bug 1665152 - [css-grid-3] Moved the track-sizing chapter to where it should be performed (after initial Grid placement, before Masonry layout). Some other minor editorial fixes. r=dholbert
NPOTB DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D92977
2020-10-08 17:45:30 +00:00
Cosmin Sabou
3a823f63a2 Bug 1669493 - Update expectation for font-size-120.xht. CLOSED TREE
DONTBUILD
2020-10-09 02:32:24 +03:00
Kershaw Chang
883455945d Bug 1668851 - Try to write data to socket directly without waiting r=necko-reviewers,dragana,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D92442
2020-10-08 13:26:03 +00:00
Ricky Stewart
ca78eeaa6f Bug 1670047 - Don't point to sccache-dist documentation in build output r=firefox-build-system-reviewers,mhentges
Bug 1666244 added this. `sccache-dist` is not the recommended build configuration for arbitrary build scenarios, is not actively supported, and is only relevant for a subset of those building Firefox. Instead, point to more relevant general documentation.

Differential Revision: https://phabricator.services.mozilla.com/D92973
2020-10-08 17:12:16 +00:00
Christoph Kerschbaumer
faf05f7d19 Bug 1552168: Remove pref security.data_uri.unique_opaque_origin. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92087
2020-10-08 16:55:25 +00:00
Henrik Skupin
bdfe3a3367 Bug 1662803 - [marionette] Add support for handling alerts and dialogs via JSWindowActor. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D92883
2020-10-08 16:15:00 +00:00
Lee Salzman
4ecc32e18a Bug 1670032 - factor out unscaled SWGL composites so they show up in profiler. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D92965
2020-10-08 16:45:18 +00:00
Nicolas B. Pierron
2dfc510e6e Bug 1661256 part 12 - Convert calls to JS_MASM_VERBOSE functions called with callWithABI. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D91792
2020-10-05 18:46:31 +00:00
Nicolas B. Pierron
3dbb5e9910 Bug 1661256 part 11 - Convert js::jit::InitBaselineFrameForOsr callWithABI calls. r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D91791
2020-10-05 18:46:58 +00:00
Nicolas B. Pierron
277567192a Bug 1661256 part 10 - Convert Bailout.h functions called with callWithABI. r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D91790
2020-10-05 18:46:39 +00:00
Nicolas B. Pierron
cca4f9c14d Bug 1661256 part 9 - Convert js::ArrayShiftMoveElements callWithABI call. r=caroline
Differential Revision: https://phabricator.services.mozilla.com/D91789
2020-10-05 18:46:41 +00:00
Nicolas B. Pierron
32e7d1fba8 Bug 1661256 part 8 - Convert js::RegExp*OptimizableRaw callWithABI calls. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D91788
2020-10-05 18:46:08 +00:00
Nicolas B. Pierron
f490a4cf3b Bug 1661256 part 7 - Convert jsmath.h functions called with callWithABI. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D91787
2020-10-05 18:46:10 +00:00
Nicolas B. Pierron
2d8d5ca3b0 Bug 1661256 part 6 - Convert js::NumberMod callWithABI calls. r=caroline
Differential Revision: https://phabricator.services.mozilla.com/D91786
2020-10-05 18:46:12 +00:00
Nicolas B. Pierron
e2a2ff5129 Bug 1661256 part 5 - Convert ArgumentsObject::finishForIonPure callWithABI calls. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D91785
2020-10-05 18:46:15 +00:00
Nicolas B. Pierron
eaa17d5175 Bug 1661256 part 4 - Add irregexp callWithABI function calls. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D91784
2020-10-05 18:46:44 +00:00
Nicolas B. Pierron
2a97442ffa Bug 1661256 part 3 - Convert JS::ToInt32 callWithABI calls. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D91783
2020-10-05 18:46:17 +00:00
Nicolas B. Pierron
709289833f Bug 1661256 part 2 - Convert js::wasm::* callWithABI calls. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D91782
2020-10-05 18:46:19 +00:00
Nicolas B. Pierron
1c5caffbb4 Bug 1661256 part 1 - Add a templatized callWithABI function. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D91781
2020-10-05 18:46:22 +00:00
Andreas Pehrson
e050f5fb8c Bug 1667728 - Simplify capping logic in OpusTrackEncoder. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D91958
2020-10-07 21:59:32 +00:00
Andreas Pehrson
018bbad6a7 Bug 1667728 - Make FrameEncode gtest pass EOS for completion. r=bryce
Without this patch, the FrameEncode gtest encoder won't encode the last bit of
data, making the total duration 20ms too short.

When passing EOS we encode the lookahead worth of silence, so this patch also
accounts for that.

Differential Revision: https://phabricator.services.mozilla.com/D91957
2020-10-07 21:59:22 +00:00
Andreas Pehrson
d2bc5556a6 Bug 1667728 - Always round up framesToFetch when using a resampler. r=bryce
Without this patch, there could be an input rate leading to the use of a
resampler *and* framesLeft being 0 (not rounding up). Then we end up with too
little data to feed the resampler, and we fail an assert.

Differential Revision: https://phabricator.services.mozilla.com/D91956
2020-10-08 15:35:33 +00:00
Andreas Pehrson
7c84dcf8dc Bug 1667728 - Add lookahead silence after resampling. r=bryce
Without this patch, the lookahead silence would be added to the source segment,
which is sampled at the input rate.

The lookahead is in the output rate.

Converting the lookahead to the input rate, and letting our regular encoding
logic convert it back to the output rate can lead to a rounding error for some
input rates. A rounding error here would lead to the last packet being too
short.

Differential Revision: https://phabricator.services.mozilla.com/D91725
2020-10-08 15:43:17 +00:00
Andreas Pehrson
6473127af5 Bug 1667728 - Keep track of the output time by counting frames rather than accumulating packets durations in microseconds. r=bryce
There should be no accumulating rounding error here since packet durations are
exactly 200ms which does not lead to a rounding error when converting to
microseconds.

But this is for sanity, since the behavior prior to this patch is exactly how
you get an accumulating rounding error.

Differential Revision: https://phabricator.services.mozilla.com/D91955
2020-10-08 15:40:58 +00:00
Andreas Pehrson
f0d67db160 Bug 1667728 - Test that encoding with opus at various input rates produces the expected number of frames. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D91954
2020-10-07 21:58:55 +00:00
Andreas Pehrson
59bacb5f29 Bug 1667728 - Decide the need for a resampler, and the output rate, at construction. r=bryce
Certain logic, like AudioOutputFramesPerPacket(), is hinged off whether a
resampler exists. The resampler is destroyed when encoding is completed, making
such logic flawed from that point. To avoid this potential footgun we can decide
the output rate at construction time, since the input rate is known then.

Differential Revision: https://phabricator.services.mozilla.com/D91953
2020-10-07 21:58:57 +00:00
Andreas Pehrson
810d0f98b6 Bug 1667728 - Define sample rate for GetPacketDuration(). r=bryce
AudioTrackEncoder uses GetPacketDuration() for signaling upwards that data is
available to be encoded. Data to be encoded is sampled at the input rate while
GetPacketDuration() is the duration in the output rate.

Meanwhile, OpusTrackEncoder uses GetPacketDuration() internally for deciding how
much data to encode. This is after resampling so correctly in the output rate.

To support both these cases, this patch adds NumOutputFramesPerPacket(), modeled
on GetOutputSampleRate(), denoting the packet duration in the output rate.
GetPacketDuration() is renamed to NumInputFramesPerPacket() and changed to be
the packet duration in the input rate.

Differential Revision: https://phabricator.services.mozilla.com/D91952
2020-10-08 15:24:34 +00:00
Andreas Pehrson
ec3a23c754 Bug 1667728 - Use only one notion of sample rate for AudioTrackEncoder. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D91951
2020-10-07 22:19:37 +00:00
Andreas Pehrson
335693edce Bug 1667728 - Use TimeUnit where applicable in MediaRecorder's EncodedFrame. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D91728
2020-09-30 16:18:18 +00:00
Andreas Pehrson
dce93bb60b Bug 1667728 - Add duration base asserts to EncodedFrame for sanity. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D91727
2020-09-30 16:17:58 +00:00
Andreas Pehrson
a37ba69f3d Bug 1667728 - Ensure the Muxer doesn't have metadata set more than once. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D91726
2020-09-30 16:17:51 +00:00
Andreas Pehrson
0c7e9d79f3 Bug 1667728 - Make MediaRecorder's EncodedFrame immutable. r=bryce
Without this patch there was a gap between the default-ctor and when real values
got set. If setting a member was forgotten, it would have needed an audit to be
found. With this patch the compiler will make sure all values have been
explicitly handed to the ctor.

mFrameData (nsTArray) becomes Refcountable to allow VP8TrackEncoder to extend
the duration of an EncodedFrame by copying the last frame's ref and constructing
a new EncodedFrame with a longer duration than the last one's.

Differential Revision: https://phabricator.services.mozilla.com/D91724
2020-09-30 16:17:43 +00:00
Andreas Pehrson
5dcb49142e Bug 1667728 - Shift responsibility of adjusting packets with opus codec delay to opus encoder. r=bryce
This was originally handled by EbmlComposer. Since bug 1014393 this was handled
by MediaEncoder. By doing it in OpusTrackEncoder we can avoid reading hardcoded
fields in the opus metadata to get the codec delay value.

Differential Revision: https://phabricator.services.mozilla.com/D91723
2020-09-30 16:17:36 +00:00
Henrik Skupin
9017a0904f Bug 1669920 - [marionette] Don't set the framescript's browsing context id when in chrome scope. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D92885
2020-10-08 14:47:04 +00:00
Cosmin Sabou
4c74d16c6b Backed out changeset 553b8374fcc2 (bug 1668265) for devtools failures on browser_keybindings_01.js. CLOSED TREE 2020-10-09 00:44:02 +03:00
Cosmin Sabou
83ade0d5f5 Bug 1669493 - Update expectations for schemeful-websockets and text-transform-bicameral-001. 2020-10-09 01:20:58 +03:00
Ricky Stewart
c3231facb5 Bug 1669807 - Don't directly execute virtualenv.py in condprof scripts r=glandium
Bug 1654457 removed the executable bit from `virtualenv.py` so it can't be directly executed any more.

Differential Revision: https://phabricator.services.mozilla.com/D92821
2020-10-08 15:18:20 +00:00
Ricky Stewart
0edcb2e938 Bug 1669701 - Catch MissingVCSTool when attempting to register Sentry r=firefox-build-system-reviewers,mhentges
Without this, running ANY `mach` command can fail if you don't have a VCS installed, which isn't the right behavior.

Differential Revision: https://phabricator.services.mozilla.com/D92834
2020-10-08 15:06:19 +00:00
ffxbld
60a6414375 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D92940
2020-10-08 14:54:02 +00:00
Mirko Brodesser
6ef121943b Bug 1639972: don't insert a node in InsertNodeIntoProperAncestorWithTransaction when there's no proper ancestor. r=masayuki
The previous behavior was added in bug 858918. However, it was wrong
when trying to insert a `<tr>` into a `<div contenteditable>`.

After this change, the test in bug 858918 still passes, so that specific
functionality doesn't break. However, the code is complex and one can't
exclude that other functionality breaks. The previous fix already
mentioned the same concern
https://bugzilla.mozilla.org/show_bug.cgi?id=858918#c25.

With this change,
https://searchfox.org/mozilla-central/rev/35245411b9e8a911fe3f5adb0632c3394f8b4ccb/editor/libeditor/HTMLEditorDataTransfer.cpp#938
doesn't insert the `<tr>`, but climbs up the `<tr>`'s ancestors, so that
a `<table>` is inserted. When `designMode = "on"`, this was already
previously the case.

The new code seems more correct, including pasting tables to
`contenteditable` elements working now. Therefore, it seems worth
submitting this patch, despite being unable to exclude regressions by
pure reasoning.

Differential Revision: https://phabricator.services.mozilla.com/D92590
2020-10-08 14:44:44 +00:00
Jon Coppeard
7e8b185cb1 Bug 1668825 - Move trace options into a separate options class passed when the tracer is created r=sfink
I gave TraceOptions some implicit consturctors to make it easier to set a
single option by passing an enum value.

Differential Revision: https://phabricator.services.mozilla.com/D92596
2020-10-08 14:39:00 +00:00
Jon Coppeard
9167bb0718 Bug 1668825 - Remove JSTracer's checkEdges option which doesn't seem to be necessary any more r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D92595
2020-10-08 14:38:42 +00:00
Chris Jackson
b01a449537 Bug 1668725 - Fix intermittent failures within the toolkit/components/pictureinpicture/tests/browser_videoSelection.js test. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92835
2020-10-08 13:19:55 +00:00
Bogdan Tara
9f692f20cd Merge mozilla-central to autoland CLOSED TREE 2020-10-09 00:07:14 +03:00
Bogdan Tara
f07a7512b9 Backed out changeset 0191bd914f91 (bug 1669664) for test_login_item.html failures a=backout 2020-10-09 00:01:18 +03:00
Cosmin Sabou
f5f8f7a48e Bug 1669493 - Further expectation updates. CLOSED TREE
DONTBUILD
2020-10-08 23:55:56 +03:00