Граф коммитов

660588 Коммитов

Автор SHA1 Сообщение Дата
Daniel Varga 883bfd385e Merge mozilla-inbound to mozilla-central. a=merge 2019-07-12 12:58:03 +03:00
Tim Nguyen 1aec6fb8e6 Bug 1565081 - Use CSS variables instead of hardcoded colors in 'Disconnect Sync' dialog. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D37795

--HG--
extra : moz-landing-system : lando
2019-07-12 09:04:47 +00:00
Alexis Beingessner 6126cdbed2 Bug 1547351 - Automatically set content process render root r=kats
This implements the idea of automatically setting a content proc's
render root based on the render root enclosing the iframe that
points to it. There was a bit of cleanup in here that was a bit
tricky to extract from the core patch revolving around how we
use the Api(...) helper. This was to avoid the situation where
we use the Api(...) helper before our render root is initialized,
when we don't actually have to. I.e., when we just want the root
WebRenderAPI in all cases.

An alternative to this approach could be to fully built out the
WebRender transactions and just queue those up to be sent. However,
transaction building has various side effects which are committed
before the transaction is actually sent, so we would have to build
out some scheme for deferring those as well. This seemed simpler.

Patch primarily written by :dthayer

Differential Revision: https://phabricator.services.mozilla.com/D37078

--HG--
extra : moz-landing-system : lando
2019-07-12 14:14:22 +00:00
Doug Thayer ea4cbb8501 Bug 1547351 - Factor out RecvEmptyTransaction's core transaction building r=sotaro
This splits out the inner bit of RecvEmptyTransaction to just iterate over
the documents once, rather than iterating over them individually. Originally
I ran into difficulties with this and then left it on the table, but I think
it was enabled by splitting out the epochs in pipeline info by renderroot.

Differential Revision: https://phabricator.services.mozilla.com/D35123

--HG--
extra : moz-landing-system : lando
2019-07-12 14:14:22 +00:00
Mihai Alexandru Michis e0b0dfa5eb Backed out 15 changesets (bug 1014393) for causing bustages in TestMuxer.cpp and gmock-internal-utils.h CLOSED TREE
Backed out changeset 0ddbdbfa87f6 (bug 1014393)
Backed out changeset 37399c83d3bf (bug 1014393)
Backed out changeset fe652475a785 (bug 1014393)
Backed out changeset 2812ca77d87d (bug 1014393)
Backed out changeset 6755ef7b361c (bug 1014393)
Backed out changeset 72e545bdcce3 (bug 1014393)
Backed out changeset 2f030ee55722 (bug 1014393)
Backed out changeset e9416b502170 (bug 1014393)
Backed out changeset 5a01d6d44634 (bug 1014393)
Backed out changeset 3457a5065dc4 (bug 1014393)
Backed out changeset 2a4999e0475b (bug 1014393)
Backed out changeset 0be3804dc04e (bug 1014393)
Backed out changeset 234994d8f136 (bug 1014393)
Backed out changeset d17f91ff2014 (bug 1014393)
Backed out changeset 25f58baa8159 (bug 1014393)

--HG--
rename : dom/media/encoder/EncodedFrame.h => dom/media/encoder/EncodedFrameContainer.h
2019-07-12 17:18:23 +03:00
Erica Wright 9fb0a30230 Bug 1564503 - Add missing pieces to the protection report graph. r=mtigley
Bug 1564503 - Add missing pieces to the graph on protections report.

Differential Revision: https://phabricator.services.mozilla.com/D37755

--HG--
extra : moz-landing-system : lando
2019-07-12 13:58:51 +00:00
Andreas Pehrson 221a8dfeca Bug 1014393 - Use undef-after-def pattern in MediaRecorder and related files. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D37700

--HG--
extra : moz-landing-system : lando
2019-07-12 13:42:00 +00:00
Andreas Pehrson a80b26a3f5 Bug 1014393 - Minor mochitest fixes. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D35311

--HG--
extra : moz-landing-system : lando
2019-07-12 13:41:45 +00:00
Andreas Pehrson 8d5c8d17a4 Bug 1014393 - Add Blob::CreateEmptyBlob. r=baku
I needed empty blobs in MediaRecorder and seeing that there was no
Blob::CreateEmptyBlob, nor an export of EmptyBlobImpl, I thought
Blob::CreateEmptyBlob would be the cleaner solution, so here it is.

Differential Revision: https://phabricator.services.mozilla.com/D35310

--HG--
extra : moz-landing-system : lando
2019-07-12 13:41:48 +00:00
Andreas Pehrson 25e0a96f86 Bug 1014393 - Unify MediaRecorder session shutdown paths and fix event timing when stopping per spec. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D17814

--HG--
extra : moz-landing-system : lando
2019-07-12 13:41:32 +00:00
Andreas Pehrson 4eb24d2d87 Bug 1014393 - Remove MediaRecorder::GetParentObject. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D35308

--HG--
extra : moz-landing-system : lando
2019-07-12 13:41:27 +00:00
Andreas Pehrson 4ce75e7e63 Bug 1014393 - Remove MediaRecorder::Session::PushBlobRunnable. r=bryce
This moves the impl of PushBlobRunnable from a runnable to MozPromise, which
let's us more easily modularize it's parts (gather the blob, fire dataavailable)
to make individual code paths more explicit.

Differential Revision: https://phabricator.services.mozilla.com/D17813

--HG--
extra : moz-landing-system : lando
2019-07-12 13:41:24 +00:00
Andreas Pehrson aa33941822 Bug 1014393 - Add gtests for the standalone muxer. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D35307

--HG--
extra : moz-landing-system : lando
2019-07-12 13:41:15 +00:00
Andreas Pehrson 2e37cdaa99 Bug 1014393 - Break out muxing and queueing of track data from MediaEncoder to new Muxer class. r=bryce
This first of all does some refactoring of how metadata is encoded in
MediaEncoder. This is now guided by the new Muxer class. If we're ready to pass
data to the muxer and it does not have metadata yet, we provide metadata before
giving it any media data. This metadata is passed to the muxer in a single call.
The metadata provided in this call must stay valid for the entire recording.
This removes MediaEncoder::GetEncodedMetadata().

This also removes the ctor argument from the WebMWriter since it can now rely on
the single SetMetadata() instead.
To comply with the ContainerWriter::SetMetadata() docs,
WebMWriter::SetMetadata() will now also sanity check metadata.

ContainerWriter instances are updated somewhat, to accommodate these changes.

Lastly, and most important, the new Muxer class manages muxing of the (up to)
two tracks into a single container, ensuring that timestamps increase
monotonically throughout a recording.

Differential Revision: https://phabricator.services.mozilla.com/D35306

--HG--
extra : moz-landing-system : lando
2019-07-12 13:41:15 +00:00
Bryce Van Dyk a539255bf2 Bug 1014393 - Move AudioGenerator to its own files so it can be used in more media gtests. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D35389

--HG--
extra : moz-landing-system : lando
2019-07-12 13:41:08 +00:00
Bryce Van Dyk 4cad8c0a53 Bug 1014393 - MediaEncoder better orders frames passed to the muxer. r=pehrsons
Update MediaEncoder to pass frames to the muxer in order of their time stamps.
This should prevent the currently possible scenario where audio and video
frames are written with non-monotonically increasing timestamps (in violation
of the webm spec).

Differential Revision: https://phabricator.services.mozilla.com/D35388

--HG--
extra : moz-landing-system : lando
2019-07-12 13:41:01 +00:00
Bryce Van Dyk b0e3afd09f Bug 1014393 - Use MediaQueue to store frames pending write to muxer in MediaEncoder. r=pehrsons
MediaQueue provides a better interface for interleaving frames when writing to
the muxer (this change will follow in another changeset). The queue interface
provides a nicer abstraction than manually managing a nsTArray.

MozReview-Commit-ID: 5V5XmYODFdA

Differential Revision: https://phabricator.services.mozilla.com/D35387

--HG--
extra : moz-landing-system : lando
2019-07-12 13:40:54 +00:00
Bryce Van Dyk f767feb399 Bug 1014393 - Update EncodedFrame class to more closely resemble MediaData class. r=pehrsons
This changes EncodedFrame to behave more like MediaData, so that EncodedFrame
can be used with the MediaQueue data structure. It also provides a somewhat
more consistent interface across media data types.

MozReview-Commit-ID: I2o6n30ErxB

Differential Revision: https://phabricator.services.mozilla.com/D35386

--HG--
extra : moz-landing-system : lando
2019-07-12 13:40:47 +00:00
Bryce Van Dyk 8dde6a0048 Bug 1014393 - Shift responsibility of adjusting packets with opus codec delay to MediaEncoder. r=pehrsons
Move the responsibility of adjusting opus frame timestamps to the MediaEncoder.
This was previously done by the EbmlComposer, but doing so in the MediaEncoder
means we can have greater control over handling of time codes and interleaving
of frames.

MozReview-Commit-ID: 2g9cy1IqOph

Differential Revision: https://phabricator.services.mozilla.com/D35385

--HG--
extra : moz-landing-system : lando
2019-07-12 13:40:40 +00:00
Bryce Van Dyk 79c5e43bd4 Bug 1014393 - Remove EncodedFrameContainer. r=pehrsons
Remove EncodedFrameContainer and clean up areas where it was used.
EncodedFrameContainer provided a wrapper around an
nsTArray<RefPtr<EncodedFrame>>, but it simplifies the code to simply expose
this array. Also clean up unused enums in EncodedFrame, and clean up some of
the outdated comments for our encoded frame handling.

MozReview-Commit-ID: Bh3VKesVoJE

Differential Revision: https://phabricator.services.mozilla.com/D35384

--HG--
rename : dom/media/encoder/EncodedFrameContainer.h => dom/media/encoder/EncodedFrame.h
extra : moz-landing-system : lando
2019-07-12 13:40:33 +00:00
Bryce Van Dyk c949841839 Bug 1014393 - Separate MediaEncoders encode and mux steps. r=pehrsons
Separating the encode and mux steps allows for better control over interleaving
audio and video data. If encode and mux are done in a single step it's possible
to mux large amounts of audio or video data which should have been interleaved
with the other data type to give correctly ordered time stamps in the target
container.

MozReview-Commit-ID: CBYemrkpyF5

Differential Revision: https://phabricator.services.mozilla.com/D35383

--HG--
extra : moz-landing-system : lando
2019-07-12 13:40:25 +00:00
Jeff Muizelaar b2c74a942a Bug 1565566. blob: Improve convert_from_bytes. r=Gankro
This minimizes regret by requiring T: Copy and switches
to read_unaligned() because the pointer can be unaligned.

Differential Revision: https://phabricator.services.mozilla.com/D37861

--HG--
extra : moz-landing-system : lando
2019-07-12 13:36:17 +00:00
Paul Adenot 00e65c25ca Bug 1324552 - Adjust WPT expectations.
Differential Revision: https://phabricator.services.mozilla.com/D37858

--HG--
extra : moz-landing-system : lando
2019-07-12 13:09:23 +00:00
Andreas Pehrson 83ae7ef921 Bug 1565317 - Handle missing mMediaSource in ReduceConstraint. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D37778

--HG--
extra : moz-landing-system : lando
2019-07-12 13:04:14 +00:00
Florin Strugariu af988798c3 Bug 1564040 Re-record mobile amazon.com tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D37258

--HG--
extra : moz-landing-system : lando
2019-07-12 08:56:49 +00:00
Andrea Marchesini 33eb80d210 Bug 1564821 - Response must call JS::ReadableStreamReleaseCCObject() if ::GetBody() fails, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37711

--HG--
extra : moz-landing-system : lando
2019-07-12 23:43:16 +00:00
Christoph Kerschbaumer 5a187ae11e Bug 1497197: Apply Meta CSP to about:debugging. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D37369

--HG--
extra : moz-landing-system : lando
2019-07-15 08:01:27 +00:00
Florens Verschelde a24be842cb Bug 1565917 - Tweak visual alignment of clear icon in Console and Network; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38016

--HG--
extra : moz-landing-system : lando
2019-07-15 07:38:22 +00:00
Dale Harvey a9eac197e7 Bug 1565779 - Add encoding to non UTF-8 engines. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D37986

--HG--
extra : moz-landing-system : lando
2019-07-15 07:26:11 +00:00
Kartikaya Gupta 460150b36f Bug 1563541 - Force a paint before reading the APZ test data. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37983

--HG--
extra : moz-landing-system : lando
2019-07-15 06:39:09 +00:00
Kartikaya Gupta 21482b7733 Bug 1562351 - Do the scrollbar drag in one shot to avoid intermittent failures. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37981

--HG--
extra : moz-landing-system : lando
2019-07-15 06:44:12 +00:00
Bobby Holley 1a1203d4f9 Bug 1562762 - Return a Promise from DoLaunch. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D37602

--HG--
extra : moz-landing-system : lando
2019-07-12 04:48:44 +00:00
Gurzau Raul 09c2a7cb24 Backed out 2 changesets (bug 1547351) for build bustages at WebRenderBridgeParent.cpp on a CLOSED TREE.
Backed out changeset b294575c279c (bug 1547351)
Backed out changeset 69260373f95c (bug 1547351)
2019-07-12 06:47:35 +03:00
Gurzau Raul c99bec025b Backed out changeset 13b62d64e105 (bug 1457628) for reftest failures at /forms/input/file/button-height.html on a CLOSED TREE.
--HG--
extra : rebase_source : 0322d1819c6bb5f1b86cb98c65889949d89f2b3d
extra : histedit_source : fa4c921ec16cb24154c9543ae6ff85502fa19aa7
2019-07-12 06:31:29 +03:00
Ryan VanderMeulen 8d5d37e98c Bug 1565440 - Update pdf.js to version 2.3.13. r=bdahl 2019-07-11 21:54:31 -04:00
Gurzau Raul a32cbbf294 Backed out changeset c8b2f53266b1 (bug 1563877) for library related bustages 2019-07-12 03:53:46 +03:00
Matthew Gregan d251dd57b2 Bug 1563877 - Update cubeb-pulse-rs to 9d1c1292. r=me
--HG--
extra : rebase_source : 73b6fe84fcaf1ca4aebc2e915d7052f03c94b40c
2019-07-12 12:15:35 +12:00
Mike Hommey 2e02a47093 Bug 1562952 - #ifdef-out NSS and certificate-related flags with NO_SIGN_VERIFY. r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D36991

--HG--
extra : moz-landing-system : lando
2019-07-11 21:08:47 +00:00
Mike Hommey 79919f31ad Bug 1357317 - Add an rpath to cctools such that it doesn't require LD_LIBRARY_PATH at run-time. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38140

--HG--
extra : moz-landing-system : lando
2019-07-16 20:54:42 +00:00
Mike Hommey a4493b9ba3 Bug 1566300 - Upgrade GCC 7 to 7.4.0 and add toolchain tasks for GCC 8 and 9. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38154

--HG--
rename : taskcluster/scripts/misc/build-gcc-7-linux.sh => taskcluster/scripts/misc/build-gcc-8-linux.sh
rename : taskcluster/scripts/misc/build-gcc-7-linux.sh => taskcluster/scripts/misc/build-gcc-9-linux.sh
extra : moz-landing-system : lando
2019-07-16 20:39:09 +00:00
Mike Hommey 561903d11e Bug 1566309 - Upgrade mac builds to rust 1.36. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D38156

--HG--
extra : moz-landing-system : lando
2019-07-17 00:05:11 +00:00
Junior Hsu cc0bdb6823 Bug 1561712 - test for downloads with COOP enabled r=nika
Differential Revision: https://phabricator.services.mozilla.com/D37145

--HG--
extra : moz-landing-system : lando
2019-07-16 23:32:58 +00:00
Emilio Cobos Álvarez d146066640 Bug 1561794 - Do not to crop display text of themed comboboxes due to padding. r=dbaron
This is a potential fix that I thought it was worth doing rather than
implementing Blink's platform-dependent silliness. This ensures that the display
frame always has enough space to display itself.

Note that it may still get clipped, if there's no room for both the display
frame and the button.

Differential Revision: https://phabricator.services.mozilla.com/D37922

--HG--
extra : moz-landing-system : lando
2019-07-16 23:11:42 +00:00
Bobby Holley 5b2d1df481 Bug 1566592 - Use a dedicated thread for launching on android. r=jld
At the moment, this shouldn't make any difference because we only ever
launch one child process on android.

Differential Revision: https://phabricator.services.mozilla.com/D38244

--HG--
extra : moz-landing-system : lando
2019-07-16 22:52:48 +00:00
Jamie Nicol 7bd2ec1585 Bug 1564185 - Rasterize glyphs as large as possible to avoid blurriness at high zoom levels. r=lsalzman
When rendering text in webrender we rasterize glyphs either in local
space at a chosen raster scale, or in device space taking in to
account to text's transform.

We are not able to rasterize glyphs larger than a certain size,
however. So if the device-space font size exceeds this limit, then
currently we force the glyph to be rasterized in local space, at the
untransformed font size. This must then be scaled by the shader when
rendering text, and at high zoom levels this will result in blurry
text.

This change makes it so that rather than rasterizing at the
untransformed font size we rasterize at the font size limit. This will
mean the glyphs are rasterized at a larger size and will therefore
require less scaling, meaning they will appear less blurry.

Differential Revision: https://phabricator.services.mozilla.com/D37644

--HG--
extra : moz-landing-system : lando
2019-07-16 14:09:30 +00:00
Moritz Birghan f723e0ab1e Bug 1300165 - Improves performance of combineLists in getHSTSPreloadList.js r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D38171

--HG--
extra : moz-landing-system : lando
2019-07-16 21:53:10 +00:00
Kagami Sascha Rosylight d75e9f219f Bug 1360475: Use union for DOMMatrix constructor r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D35211

--HG--
extra : moz-landing-system : lando
2019-07-16 21:12:38 +00:00
Hamzah 7d7ca018fd Bug 1559956 - UX: Bookmark bar context menu item "Open in New Tab" is not consistent with anchor link context menu. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37197

--HG--
extra : moz-landing-system : lando
2019-07-15 18:38:01 +00:00
Arun Kumar Mohan bc7be9f728 Bug 1530282 - Replace promiseWaitForEvent with BrowserTestUtils.waitForEvent r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D37663

--HG--
extra : moz-landing-system : lando
2019-07-16 18:04:01 +00:00
Jeane Carlos 2120b123a7 Bug 1551653 - Remove prefs_content_discovery_description string from locale file r=fluent-reviewers,pdahiya,flod
Cleaning up prefs_content_discovery_description that we migrated over to fluent just in case we still wanted it.

Differential Revision: https://phabricator.services.mozilla.com/D37948

--HG--
extra : moz-landing-system : lando
2019-07-15 18:27:12 +00:00