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

661319 Коммитов

Автор SHA1 Сообщение Дата
Ciure Andrei c2592a1c3b Backed out changeset 6bad91b2f198 (bug 1521893) for causing browser_touchbar_tests.js to permafail CLOSED TREE 2019-07-23 05:11:00 +03:00
Emilio Cobos Álvarez 42fd1a62a1 Bug 1568083 - Fix servo build and rustfmt / tidy recent changes. 2019-07-23 02:18:36 +02:00
Emilio Cobos Álvarez 558d3a5cc2 Bug 1568083 - Fix a warning in Servo builds by moving a macro to where it's used. 2019-07-23 02:18:35 +02:00
Patrick Walton b65fc89d31 Bug 1568083 - WebRender units are no longer reexported. r=emilio
This cherry-picks changes from Servo PR #23516.
2019-07-23 02:18:35 +02:00
Emilio Cobos Álvarez 8f98d46196 Bug 1568083 - Servo doesn't still support backdrop-filter.
This is a previous build fix that I forgot to sync to Gecko.
2019-07-23 02:18:34 +02:00
Bastien Orivel f8a37fc9d4 Bug 1568083 - Update rayon in the style system. r=emilio
As a bonus this also removes one version of crossbeam-utils

This cherry-picks Servo PR #23630.


--HG--
rename : third_party/rust/crossbeam-deque-0.2.0/LICENSE-APACHE => third_party/rust/crossbeam-queue/LICENSE-APACHE
2019-07-23 02:18:33 +02:00
Ciure Andrei 065e9a00d1 Backed out changeset 8514a3095fca (bug 1456052) for causing padding-scrollbar-placement.html to perma fail CLOSED TREE 2019-07-23 02:50:38 +03:00
Andrew Swan 194eb24d5d Bug 1563331 Fix obsolete use of <tabs> r=bdahl
After bug 1555060, <tabs> elements should not use dom accessors to get
to the <tab> elements inside a <tabs>.  This test was using lastChild,
this patch brings it up to date.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 22:01:40 +00:00
thomasmo 1858572459 Bug 1565296 - Implement Command Line Handler for FxR on desktop r=mossop,Gijs
This change adds functionality for the new command line argument, --fxr. This
will be used to create a new, separate browser window for Firefox Reality on
desktop.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 22:50:09 +00:00
alwu 55e171e76b Bug 1563949 - part5 : return nullptr when time overflow. r=jya
If the result of expected dts/pts after added `fuzz` is overflow, we should return nullptr as if we reach to the end of the file.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 02:16:44 +00:00
alwu 441473d744 Bug 1563949 - part4 : prevent direct usage of 'AppendElement()' to append sample. r=jya
We should always append sample by using `AppendSample()` to assert whether a sample is valid, so making `mSamples` private can prevent a direct usage of the nsTarry's `AppendElement()`.
Also provide a method to return non-const mSamples which is only used for the move semantics.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 21:11:21 +00:00
alwu 44cfc7989a Bug 1563949 - part3 : handle invalid sample in demuxer. r=jya
Return demux error when we get a invalid sample. For mp4 demuxer, we use `MOZ_DIAGNOSTIC_ASSERT` instead because we are pretty sure that it won't happen.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 20:48:15 +00:00
alwu 424b48c982 Bug 1563949 - part2 : add 'AppendSample' to assert that a sample should always be valid r=jya
We don't want to have a sample with invalid time, duration, end time or end timecode, so add a diagnostic assertion to check. And will handle invalid sample for demuxers in next patch.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 20:16:26 +00:00
alwu 7cea87585a Bug 1563949 - part1 : add function 'GetEndTimeCode'. r=jya
We already have function `GetEndTime()`, so it's good to have a similar function `GetEndTimeCode()` so that we won't have to calculate end time code by ourselves.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 11:03:28 +00:00
L. David Baron 96bd181ea7 Bug 1300293 - Pass the line box from nsBidiPresUtils::ResolveParagraph through SplitInlineAncestors to nsIFrame::InsertFrames. r=jfkthame
This is what fixes the performance problem in bug 1300293.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 17:50:05 +00:00
L. David Baron 1ac8b69a03 Bug 1300293 - Pass the line box from nsBidiPresUtils::ResolveParagraph through EnsureBidiContinuation to nsIFrame::InsertFrames. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D38798

--HG--
extra : moz-landing-system : lando
2019-07-22 17:50:05 +00:00
L. David Baron 64f57e5d7f Bug 1300293 - Make nsBidiPresUtils track line boxes separately for the progress of TraverseFrames and ResolveParagraph. r=jfkthame
TraverseFrames gathers a bunch of frames into an array, and then at
forced breaks or the end of the block flushes its array by running
ResolveParagraph.  ResolveParagraph can sometimes cause lines to break,
so lines recorded during TraverseFrames may no longer be accurate during
ResolveParagraph.

It may look like the lines are only needed during ResolveParagraph and
we could handle the one issue in TraverseFrames that deals with
preformatted newlines by restructuring the code a tad.  However, in the
next patch, there will be an additional caller that needs the current
line during TraverseFrames to pass to CreateContinuation, which makes
such a structure less plausible.

This will also make it easier to produce a current line for the call to
SplitInlineAncestors within ResolveParagraph, which will be done in the
patch after the next.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 18:55:56 +00:00
L. David Baron d81370ebeb Bug 1300293 - Track the block and line list that each frame in BidiParagraphData::mLogicalFrames came from. r=jfkthame
This information is used in the next patch, which will use that information to
maintain a line iterator while iterating over mLogicalFrames (and will remove
the stored mLinePerFrame).

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

--HG--
extra : moz-landing-system : lando
2019-07-22 17:50:04 +00:00
Shane Caraveo c3d51446f5 Bug 1515172 support funnel attributes in attribution code r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37668

--HG--
extra : moz-landing-system : lando
2019-07-22 22:06:46 +00:00
Nika Layzell 2a0d22e428 Bug 1523638 - Part 10: Implement WindowGlobalParent::GetRootFrameLoader in terms of Top()->GetEmbedderElement(), r=farre
Differential Revision: https://phabricator.services.mozilla.com/D38552

--HG--
extra : moz-landing-system : lando
2019-07-19 19:53:53 +00:00
Nika Layzell 83236ff0f4 Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37656

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:22 +00:00
Nika Layzell 67eb523bb4 Bug 1523638 - Part 8: Remove unused arguments from nsDocShell::Embed(), r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D37655

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:20 +00:00
Nika Layzell d3369b5645 Bug 1523638 - Part 7: Transmit permissions for newly created WindowGlobalParent actors, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D37654

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:18 +00:00
Nika Layzell d57e4902c0 Bug 1523638 - Part 6: Create an initial WindowGlobal actor for popup browser construction, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37653

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:16 +00:00
Nika Layzell 96156f34c3 Bug 1523638 - Part 5: Create a WindowGlobal actor during normal PBrowser construction, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37652

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:14 +00:00
Nika Layzell 5dc554280a Bug 1523638 - Part 4: Move NextWindowId logic into nsContentUtils, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37651

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:12 +00:00
Nika Layzell b1f124f20a Bug 1523638 - Part 3: Construct WindowGlobal actors using ManagedEndpoint, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37650

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:10 +00:00
Nika Layzell 68e5c025a2 Bug 1523638 - Part 2: Store and expose URI and Principal on WindowGlobalChild, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37649

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:03 +00:00
Nika Layzell 29cceccb51 Bug 1523638 - Part 1: Remove mIPCClosed from PWindowGlobal, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37648

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:01 +00:00
Emilio Cobos Álvarez 2db7de5c3d Bug 1456052 - Change overflow-clip-box of textarea to be consistent with text inputs and match other browsers. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D38794

--HG--
extra : moz-landing-system : lando
2019-07-22 21:17:18 +00:00
Michael Kaply 1b39a98569 Bug 1558866 - Use a list of chrome URLs to block. r=jaws,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D34933

--HG--
extra : moz-landing-system : lando
2019-07-22 21:54:56 +00:00
Imanol Fernandez 5b497528eb Bug 1561667 - Ensure that SurfaceTexture is attached before calling ReleaseTexImage. r=jgilbert,rbarker
Ensure that SurfaceTexture is attached before calling ReleaseTexImage.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 21:16:11 +00:00
Razvan Maries 54fa5ec03f Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-07-23 00:51:11 +03:00
Razvan Maries 86980b4bb2 Merge mozilla-inbound to mozilla-central a=merge 2019-07-23 00:37:54 +03:00
Nika Layzell e691fe7a86 Bug 1565489 - Part 1: Avoid null dereference in IsProcessRoot, r=farre
The crash appears to be being caused by the GetEmbedderWindowGlobal call
returning a null value. This patch simply avoids the crash in this case, and
returns a reasonable default value of false, as it should never be true for a
BrowsingContext with a parent without Fission enabled.

This patch should be small enough to safely uplift if necessary.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 08:43:14 +00:00
Mihai Alexandru Michis a4db5efa81 Backed out changeset 4dd499946b35 (bug 1557694) for causing failures in browser_parsable_css.js CLOSED TREE 2019-07-22 17:51:14 +03:00
sotaro 70e1a770b5 Bug 1567816 - Remove WebRenderTextureHostWrapper r=nical
Differential Revision: https://phabricator.services.mozilla.com/D38837

--HG--
extra : moz-landing-system : lando
2019-07-22 08:03:59 +00:00
Paul Adenot 6d321304a4 Bug 1565575 - Allow access to AudioComponentRegistrar when doing audio remoting on OSX to be able to use system decoders. r=haik
When audio remoting is enabled, we can remove most of the sandbox exceptions,
except one, that allows using system calls to do decoding of audio and video
using system decoders (h264 and aac). Not doing that results in most mp4 files
to be unplayable, erroring out when doing calls like this:

https://searchfox.org/mozilla-central/rev/da855d65d1fbdd714190cab2c46130f7422f3699/dom/media/platforms/apple/AppleATDecoder.cpp:336
https://searchfox.org/mozilla-central/rev/da855d65d1fbdd714190cab2c46130f7422f3699/dom/media/platforms/apple/AppleATDecoder.cpp:545

We'll be able to remove it again when we'll use the RDD for everything, but in
the meantime, this exception is needed.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 08:22:40 +00:00
Marian Raiciof 914b7530c9 Bug 1560339 - Extra incoherent logging when running android mochitest r=gbrown
Do not decode data returned by get_file() in adb.py

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

--HG--
extra : moz-landing-system : lando
2019-07-22 14:19:03 +00:00
Mike Hommey ef8e3d8dd2 Bug 1564216 - Fix warnings in nsCocoaUtils.mm with 10.14 SDK. r=mstange
While there, transform the MOZ_ASSERTs into static_asserts, so that
discrepancies are caught at build time rather than runtime.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 22:42:59 +00:00
Mike Hommey 6a8d20b0cc Bug 1564216 - Require clang 5 for OSX builds. r=froydnj
There is less incentive to keep things building with older versions of
clang for OSX builds, and we're going to require an objective-C feature
that was added in clang 5.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 21:31:39 +00:00
Carolina 4029445ae2 Bug 1566797 - Handles more than one cert received in the URL (about:certificate).r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D38388

--HG--
extra : moz-landing-system : lando
2019-07-22 18:09:36 +00:00
J.C. Jones b2cd117111 Bug 1562773 - Add a preference to enable Delegated Credentials in NSS r=keeler
This patch adds a new pref, "security.tls.enable_delegated_credentials",
default false, which controls the NSS option SSL_ENABLE_DELEGATED_CREDENTIALS.

Tests are in D37918.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 20:53:48 +00:00
Nika Layzell 2f4cd365ad Bug 1566806 - Check discarded status before forwarding WindowProxy messages between processes, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D38545

--HG--
extra : moz-landing-system : lando
2019-07-22 01:54:36 +00:00
Tim Nguyen da68c7c366 Bug 1567938 - Fix improper uses of #737373 in preferences. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D38883

--HG--
extra : moz-landing-system : lando
2019-07-22 19:34:22 +00:00
Tim Nguyen 67e52fbe32 Bug 1547382 - Use HTML input instead of XUL textbox in toolkit/content/widgets/tree.js. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D29076

--HG--
extra : moz-landing-system : lando
2019-07-22 20:43:24 +00:00
Boris Zbarsky 0f70d08ec8 Bug 1566595. Stop using [array] in nsIBinaryOutputStream. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D38387

--HG--
extra : moz-landing-system : lando
2019-07-22 20:27:39 +00:00
Glenn Watson 0129dacbea Bug 1566901 - Make picture caching more robust to float issues. r=kvark,nical
This patch fixes a couple of picture caching issues that could
cause more invalidations than required. Specifically:

* Ensure the viewport rect is included in child surfaces, so
  that redundant clips are filtered out correctly.
* Use epsilon comparisons where appropriate for tile descriptor
  comparisons, to avoid invalidations due to float inaccuracies.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 20:35:37 +00:00
Nathan Froyd 2257f3e1ae Bug 1545381 - be more defensive in nsAppShellSingleton; r=erahm
We're seeing crashes in bug 1545381 in appshell shutdown, which appear
to point to appshell initialization somehow falling over non-obviously.
Appshell initialization should basically never fail, so let's complain
loudly if that ever happens.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 20:52:35 +00:00
Ciure Andrei 24c0d0e47d Backed out 2 changesets (bug 1506219) for causing test_presentation_datachannel_sessiontransport.html to perma fail CLOSED TREE
Backed out changeset 7e39db6e12a5 (bug 1506219)
Backed out changeset ab31fbc14a00 (bug 1506219)
2019-07-22 23:54:45 +03:00