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

688650 Коммитов

Автор SHA1 Сообщение Дата
Dimi Lee da3402759d Bug 1601660 - Part 2: Remove getContentBlockingLog from nsIDocShell.idl r=Ehsan
This patch removes the unnecessary getContentBlockingLog function from
nsIDocShell.idl.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 20:00:51 +00:00
Tim Huang 91e877c5cd Bug 1601660 - Part 1: Make GeckoView to get the content blocking log in the parent process. r=geckoview-reviewers,Ehsan,snorp
This patch is doing two things.
1. Make GeckoView directly gets the ContentBlockingLog in the parent
process when it gets the bundle event 'ContentBlocking:RequestLog'. It
will get the top-level browsingContext and get the log from the
WindowGlobal of this browsingContext.
2. Remove the GeckoViewContentBlockingChild. The child module of
ContentBlocking is no longer needed since it serves nothing after we move
the functionality of getting log to the parent process.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 20:00:16 +00:00
Tarek Ziadé d3d110bba7 Bug 1608136 - Fixed ContentfulSpeedIndex extraction r=sparky
The convert output is now parsed in a more robust manner.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 19:56:52 +00:00
Victor Porof 20791b5d6a Bug 1610179 - Remove and recreate the database doesn't actually do anything in RKV safe-mode, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D60377

--HG--
extra : moz-landing-system : lando
2020-01-21 18:52:09 +00:00
Tetsuharu OHZEKI 59fae540a5 Bug 1597452 - Remove unused mozilla::MediaManager::StopMediaStreams. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D60483

--HG--
extra : moz-landing-system : lando
2020-01-22 00:18:37 +00:00
J.C. Jones e878e5b81b Bug 1609997 - Upgrade to authenticator 0.2.9 (OpenBSD support, packet collision fix) r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D60302

--HG--
extra : moz-landing-system : lando
2020-01-22 05:00:52 +00:00
alwu 30eceba5cd Bug 1610158 - ensure we have called controller's shutdown before it gets destroyed. r=chunmin
Ensure we have called controller's shutdown before it gets destroyed and not to change its internal status after shutdown.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 01:47:59 +00:00
Glenn Watson 90a55d388c Bug 1608741 - Part 2 - Disable dithering on gradient primitives. r=sotaro,nical
There are a number of issues with the current gradient dithering
implementation, that cause many test failures and also fuzziness
rendering when enabling DirectComposition virtual surfaces. In
particular, the dither result is dependent on the offset of the
update rect within a render target.

For now, this patch disables gradient dithering by default. This
gives us:

 - A heap of new test PASS results (or reduced fuzziness).
 - Fixes a number of non-deterministic fuzziness bugs with DC.
 - Improves performance of gradient rendering by a reasonable amount.

We can fix gradient dithering as a follow up, and re-enable if/when
we find content that would benefit from it significantly (we may
be able to improve gradients in other ways than dithering too).

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

--HG--
extra : moz-landing-system : lando
2020-01-22 01:24:14 +00:00
Daisuke Akatsuka ad136b947c Bug 1603370: Add a test for target switching on RDM. r=ochameau,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D58904

--HG--
extra : moz-landing-system : lando
2020-01-22 02:23:56 +00:00
Daisuke Akatsuka d2f1734ab8 Bug 1603370: Reflect target switching. r=ochameau,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D58903

--HG--
extra : moz-landing-system : lando
2020-01-22 02:23:43 +00:00
Daisuke Akatsuka b1a851beae Bug 1603370: Define currentTarget getter. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D58902

--HG--
extra : moz-landing-system : lando
2020-01-22 02:23:36 +00:00
Glenn Watson 4c7cd7138b Bug 1610626 - Fix wrench reftest mode incorrectly printing unexpected in some cases. r=Bert
The semantics of the inaccuracy reftest mode are that the overall
test succeeds as long as one of the multiple test images mismatches
the reference image.

However, the previous implementation would print an unexpected result
if any of the comparisons were equal (even though the overall test
result would be reported correctly).

This patch changes wrench so that it only reports an unexpected
failure for the overall test, not each individual reference.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 02:22:42 +00:00
Agi Sferro 5473cc01bb Bug 1579440 - Set browser.tabs.remote.autostart to true for geckoview. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60332

--HG--
extra : moz-landing-system : lando
2020-01-21 23:46:32 +00:00
Agi Sferro e4f3f85ccf Bug 1610571 - Don't register amContentHandler xpi for GeckoView. r=mixedpuppy
This also removes amWebAPI since we don't use it already.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 22:32:24 +00:00
Emilio Cobos Álvarez 5ae32b1e36 Bug 1608931 - followup: fix subtle unintended behavior change.
This can fire in some tests that take over the refresh driver via script.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 01:13:15 +00:00
Emilio Cobos Álvarez cf6728cdd2 Bug 1610059 - Rename Document::SetStyleSheetApplicableState. r=nordzilla
It doesn't set anything, it is just a notification callback.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 01:14:42 +00:00
Boris Zbarsky cd1bb80f98 Bug 1610610 part 3. Fix the exception thrown when a SourceBuffer's mode is set to "segments". r=jya
I tried to write a test for this, but it looks like
mCurrentAttributes.mGenerateTimestamps is only true when the type is "audio/aac"
or "audio/mpeg", and we don't support either of those in MediaSource.  So this
code can't actually be reached, as far as I can tell.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 00:25:20 +00:00
Boris Zbarsky b910e44e2d Bug 1610610 part 2. Remove unreachable code from MediaSource::EndOfStream. r=jya
There are no values of aError that are not handled by the switch.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 00:24:45 +00:00
Boris Zbarsky ac3e49d4b8 Bug 1610610 part 1. Throw the right exception from MediaSource::SetDuration. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D60595

--HG--
extra : moz-landing-system : lando
2020-01-22 00:47:38 +00:00
Noemi Erli bf9e6875aa Backed out changeset 6fbcddb6636e (bug 1609997) for causinf build bustages CLOSED TREE 2020-01-22 02:38:36 +02:00
Noemi Erli 20e4c02f56 Backed out changeset a4ab563e998c (bug 1610158) for causing failures in MediaController.cpp 2020-01-22 02:37:31 +02:00
J.C. Jones 79a697b3bf Bug 1609997 - Upgrade to authenticator 0.2.8 (OpenBSD support, packet collision fix) r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D60302

--HG--
extra : moz-landing-system : lando
2020-01-21 23:55:19 +00:00
Ricky Stewart 27d06e3d50 Bug 1608880 - mozbuild/test/configure/test_compile_checks.py and mozbuild/test/configure/test_moz_configure.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D59757

--HG--
extra : moz-landing-system : lando
2020-01-21 23:51:28 +00:00
Byron Campen [:bwc] bfc7457250 Bug 1605128: Make websocket_process_bridge less picky about the version of six it wants. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D60552

--HG--
extra : moz-landing-system : lando
2020-01-21 19:45:33 +00:00
Andrea Marchesini b3a0aed6c2 Bug 1507055 - AntiTrackingCommon::RedirectHeuristic must check the number of redirect entries, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D60505

--HG--
extra : moz-landing-system : lando
2020-01-21 23:32:12 +00:00
Andrea Marchesini d2e146600e Bug 1507055 - Implement Anti-tracking heuristic for redirects, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D56191

--HG--
extra : moz-landing-system : lando
2020-01-21 18:18:32 +00:00
alwu a5b3ab80fc Bug 1610158 - ensure we have called controller's shutdown before it gets destroyed. r=chunmin
Ensure we have called controller's shutdown before it gets destroyed and not to change its internal status after shutdown.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 23:21:34 +00:00
Emilio Cobos Álvarez 2261c719d0 Bug 1608931 - Ensure we tick the refresh driver at least once after calling IntersectionObserver.observe. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D60015

--HG--
extra : moz-landing-system : lando
2020-01-21 23:21:32 +00:00
Chris Manchester 7001285651 Bug 1610578 - Add cross sysroot for macOS sccache build. r=froydnj
Depends on D60536

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

--HG--
extra : moz-landing-system : lando
2020-01-21 23:01:10 +00:00
Chris Manchester 3617743fb8 Bug 1610578 - Update sccache in-tree to the current master branch. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60536

--HG--
extra : moz-landing-system : lando
2020-01-21 21:55:31 +00:00
Mihai Alexandru Michis aa50eec8ac Bug 1609581 - Update expectancies for backplate-bg-image-009.html and backplate-bg-image-006.html a=fix
CLOSED TREE

--HG--
extra : amend_source : ff7bb5d6b858b24081f459186499c71f03c4f359
2020-01-22 01:24:21 +02:00
Ting-Yu Lin 735bebb048 Bug 1155772 Part 16 - Remove mPhysicalMainAxis and mPhysicalAxis from FlexboxAxisTracker, and all the other helper enums and functions. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D59058

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:41 +00:00
Ting-Yu Lin 77e51c499d Bug 1155772 Part 15 - Remove mPhysicalAxis from PositionTracker. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D59057

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:44 +00:00
Ting-Yu Lin 38b10887ce Bug 1155772 Part 14 - Remove physical axis usage from GetBaselineOffsetFromOuterCrossEdge(). r=mats
Differential Revision: https://phabricator.services.mozilla.com/D59056

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:46 +00:00
Ting-Yu Lin b41728179c Bug 1155772 Part 13 - Add start side and end side accessors in FlexboxAxisTracker, and use them to replace AxisOrientationType usages. r=mats
The original physical axis AxisOrientationType contains direction
information, which can be replaced by physical start side
straightforwardly.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 22:31:19 +00:00
Ting-Yu Lin 8c52b26f66 Bug 1155772 Part 12 - Use LogicalMargin for EnterMargin / ExitMargin in PositionTracker. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D59054

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:50 +00:00
Ting-Yu Lin fc86c43ba5 Bug 1155772 Part 11 - Convert FlexItem::GetNumAutoMarginsInAxis() to use logical axis. r=mats
Also, remove unused FlexboxAxisTracker argument from
ResolveStretchedCrossSize().

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

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:52 +00:00
Ting-Yu Lin ea9f8c1bc1 Bug 1155772 Part 10 - Remove unused AxisOrientationType argument. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D59052

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:19 +00:00
Ting-Yu Lin 8b11ffdb9e Bug 1155772 Part 9 - Convert FlexItem::mMargin to LogicalMargin. r=mats
Note that I return LogicalMargin by value for GetMargin(). It is
considered a suboptimal practice to return a constant reference to a
member variable. We won't gain performance by returning a reference
because the compiler can optimize the return value. If it were assigned
to a new variable, the copy/move constructor is called anyway.

As noted in FIXME(TYLin), the AxisOrientationType argument in
GetMarginBorderPaddingSizeInMainAxis() and many other methods can be
removed. However, to make the patch size manageable, I'll remove them in
a later part.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 23:00:35 +00:00
Ting-Yu Lin 45f561fa83 Bug 1155772 Part 8 - Rename GetMargin() to GetPhysicalMargin() in FlexItem (idempotent patch). r=mats
Also, use GetPhysicalMargin() instead of mMargin in
FlexItem::GetBaselineOffsetFromOuterCrossEdge() to ease the transition
when converting FlexItem::mMargin to LogicalMargin in the later parts.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:24 +00:00
Ting-Yu Lin a94c944d4f Bug 1155772 Part 7 - Convert FlexItem::mBorderPadding from nsMargin to LogicalMargin. r=mats
Also delete unused GetBorderPadding().

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

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:26 +00:00
Ting-Yu Lin 03f6d42e78 Bug 1155772 Part 6 - Cache flex container's writing-mode and main axis in FlexItem. r=mats
These new added member variables and mWM are going to be used in the
following parts that convert border/padding/margin to use logical
layout, so they are added to the place prior to mBorderPadding and
mMargin.

For "strut" constructor, we can use the default values for mMainAxis,
mCrossAxis, and mIsInlineAxisMainAxis initialized in the class
declaration.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:28 +00:00
Ting-Yu Lin 306ac5d0f7 Bug 1155772 Part 5 - Cache flex container's logical axis and writing-mode in PositionTracker. r=mats
They are going to be used in the later parts.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:30 +00:00
Ting-Yu Lin 9b0ebbdd0c Bug 1155772 Part 4 - Add "Physical" to the axis accessor and variable names in PositionTracker (idempotent patch). r=mats
This includes renaming aAxis to aPhysicalAxis in PositionTracker's
constructor.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:32 +00:00
Ting-Yu Lin a510b82e7f Bug 1155772 Part 3 - Add logical main/cross axis accessors and variables to FlexboxAxisTracker. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D59045

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:35 +00:00
Ting-Yu Lin 6436301640 Bug 1155772 Part 2 - Add "Physical" to main/cross axis accessor and variable names in FlexboxAxisTracker (idempotent patch). r=mats
I'm going to add logical accessors and variables in the next patch, so
it's better the rename the old ones first.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:37 +00:00
Ting-Yu Lin 5193ed7d0c Bug 1155772 Part 1 - Move delete methods to public section for various flex classes. r=dholbert
Fix "warning: deleted member function should be public", which can be
reproduced by
`./mach static-analysis check layout/generic/nsFlexContainerFrame.cpp`

If a private delete method is called, the compiler shows two error
messages: the method is deleted, and a private methods is called. By
declaring the method as public, only the former message is shown, which
should be more readable.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 20:30:39 +00:00
Noemi Erli e7be9bb7e7 Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : rebase_source : 878f2989460ee66ca1dd079ce8c66f49d2db701d
2020-01-22 00:35:53 +02:00
Noemi Erli 6d247d8611 Backed out 2 changesets (bug 1610527) for causinf Linux debug and opt bustages in test_resampler.cpp a=backout
Backed out changeset 850bc97c56ab (bug 1610527)
Backed out changeset 71299532eee6 (bug 1610527)
2020-01-22 00:31:11 +02:00
Eric Rahm ac2d94a930 Bug 1610386 - Remove nsAutoPtr usage from docshell/. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D60454

--HG--
extra : moz-landing-system : lando
2020-01-21 22:29:00 +00:00