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

647944 Коммитов

Автор SHA1 Сообщение Дата
Alexander Surkov af181e17f0 Bug 1519514 - make sure document.l10n is initialized before triggering conext menu over a tab in browser_ext_menus_activeTab.js test r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28366

--HG--
extra : moz-landing-system : lando
2019-04-22 20:18:02 +00:00
Oana Pop Rus bb64503da3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-23 01:15:48 +03:00
Gurzau Raul f05aef3e04 Backed out 9 changesets (bug 1542454, bug 1533562) for failing at /browser/browser_ext_webNavigation_onCreatedNavigationTarget_contextmenu.js on a CLOSED TREE.
Backed out changeset 88756a309968 (bug 1542454)
Backed out changeset 37bd2819d3a7 (bug 1542454)
Backed out changeset 19f0462bb47a (bug 1542454)
Backed out changeset b4440b1833ec (bug 1533562)
Backed out changeset 8970cdb3c04a (bug 1533562)
Backed out changeset 498cd34eea78 (bug 1533562)
Backed out changeset 3a3b4d52e10a (bug 1533562)
Backed out changeset 5fae2f233aa0 (bug 1533562)
Backed out changeset e3fc54ebcd15 (bug 1533562)
2019-04-23 01:09:12 +03:00
Oana Pop Rus cd403eabd2 Merge inbound to mozilla-central. a=merge 2019-04-23 00:48:20 +03:00
Oana Pop Rus 3c634d9c72 Merge autoland to mozilla-central. a=merge 2019-04-23 00:45:58 +03:00
Emilio Cobos Álvarez e4f84a0b9d Bug 1470880 - Simplify arrowpanel selectors in order to remove last usage of xbl resources. r=bgrins
The reason why this fixes it is a bit subtle, let me try to explain.

XBL has this mechanism where all attributes in the binding `<content>` element
get auto-propagated to the bound element (the `<panel>` in this case).

This doesn't seem to be a very used feature looking at:

https://searchfox.org/mozilla-central/search?q=%3Ccontent&case=false&regexp=false&path=xml

The panel binding uses it to add the `side` attribute:

https://searchfox.org/mozilla-central/rev/d80f0a570736dce76a2eb184fb65517462089e8a/toolkit/content/widgets/popup.xml#264

The key here is that this attribute addition is silent (`aNotify=false`):

https://searchfox.org/mozilla-central/rev/d80f0a570736dce76a2eb184fb65517462089e8a/dom/xbl/nsXBLBinding.cpp#341

This means that the presence of this attribute is not supposed to change the
rendering of the page. It'd also be unsafe to notify at the point at which we
create XBL bindings.

So the way this happens is:

  * We compute the initial style of the `<panel>` element (which doesn't have a
    `side` attribute, and thus doesn't match the rules, and has a computed
    opacity of 1).
  * The XBL service _silently_ sets the `side` attribute. This should cause a
    style change, but it doesn't since it's silent, so we remain with the
    opacity of 1.
  * We open the popup, and the XBL binding listens for the `popupshowing` event
    and adds the `animate` attribute. The style system notices, and eventually
    we compute the new style. Issue is, it has again an opacity of 1, so we
    don't fire the transition.

Same with transform and such of course.

So far so good, but then, why does it work if there's a `<resources>` element
with an empty stylesheet? Fun that you ask!

We explicitly re-resolve the style of the element if there are any stylesheets:

https://searchfox.org/mozilla-central/rev/d80f0a570736dce76a2eb184fb65517462089e8a/dom/xbl/nsXBLService.cpp#551

And thus grab the correct initial opacity of zero, and trigger the transition.

Given arrow panels always have a `side` attribute (and same for the bookmarks
thing), making their style not depend on the silent attribute additions from
`<content>` fixes the bug.

We could fix the bug with an alternative patch (re-resolving style if there's a
`<content>` element with attributes in the binding). This wouldn't be completely
sound anyway in presence of combinators, and given that it'd remain being
unsound anyway, we should probably just remove that feature.

Also, the simplification of the stylesheets seems worth it anyway.

I'll follow-up removing the `<resources>` implementation, and we should probably
investigate removing the `<content>` attribute propagation, since it's the
really unsound thing here.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 21:41:29 +00:00
Ed Lee 6b90ab2c92 Bug 1546190 - Add sharper images, collapsible devtools and bug fixes to Activity Stream r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D28398

--HG--
extra : moz-landing-system : lando
2019-04-22 20:43:46 +00:00
Alex Chronopoulos 5a8063b204 Bug 1546070 - Update dav1d from upstream to f8cac8c. r=TD-Linux
The imported version is just one commit over 0.2.2 and solves the crash for this bug.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 19:48:05 +00:00
Daosheng Mu 19d96836d5 Bug 1529105 - Replace tmpname in OpenVRSession when using action input. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D28136

--HG--
extra : moz-landing-system : lando
2019-04-22 20:41:38 +00:00
Andrew Erickson 377244bae8 Bug 1545860: fix tooltool url, r2 r=bc,gbrown
changes from https://phabricator.services.mozilla.com/D28260:
- fix flake error ( was reverted due to one)

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

--HG--
extra : moz-landing-system : lando
2019-04-22 20:06:37 +00:00
Avery Berninger a3b108d583 Bug 1545052 - Fix broken about:preferences link (Android), r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28169

--HG--
extra : moz-landing-system : lando
2019-04-22 20:37:17 +00:00
Grisha Kruglov b44585f969 Bug 1545232 - Add AuthStateProvider r=nalexander,sebastian
See comments in the patch for details.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 20:07:34 +00:00
Emilio Cobos Álvarez f2b53c1479 Bug 1545979 - Drop unused user-agent cascade datas when not holding the cache lock. r=bholley
We want to drop the cascade data memory as soon as possible, so bug 1544546
introduced an UpdateStylistIfNeeded call from ShellDetachedFromDocument.

Unfortunately, this call can reenter into the global user-agent cascade data if
some of the CSS values kept alive by the cascade data keep alive an SVG
document, see the stack on this bug for an example. Make sure to drop the
user-agent cascade datas when not holding the cache lock to avoid this
situation.

Before bug 1535788, we just destroyed the stylist, so we kept holding a
reference from the cache, and that reference will be dropped sometime later when
other document updated their user-agent stylesheets (if they happened not to
match the cache of course).

Seems to me this doesn't ended up happening in our automation, but it could
happen in the wild, in theory at least.

It's nice that Rust made this a safe deadlock caught by our tests rather than a
very subtle and infrequent memory corruption.

The relevant SVG documents are probably the <input type=number> rules:

https://searchfox.org/mozilla-central/rev/d80f0a570736dce76a2eb184fb65517462089e8a/layout/style/res/forms.css#1050

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

--HG--
extra : moz-landing-system : lando
2019-04-22 19:45:06 +00:00
Bogdan Tara 614fe1a130 Backed out changeset 5f0139ba2544 (bug 1545273) for browser_blockingCookies.js failures CLOSED TREE 2019-04-22 23:29:22 +03:00
Andrew Halberstadt 876624be23 Bug 1546100 - Turn off e10s for mochitest-a11y/chrome in task configuration (Backs out effa55bd84bb and 2f12958d4e8c), r=jmaher
Turns out these suites were hardcoded to be non-e10s in the mochitest harness.
So while it looked like they were working with e10s in treeherder, they were
actually still running with it disabled.

Turning e10s on causes both suites to permafail due to timeouts.

Depends on D28386

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

--HG--
extra : moz-landing-system : lando
2019-04-22 18:52:24 +00:00
Andrew Halberstadt a35fbb3478 Bug 1546100 - [tryselect] Fix tools/tryselect/test/test_fuzzy.py, r=jmaher
This was regressed by bug 1544816 but the test never ran on the push that regressed.
This patch also updates the 'files-changed' for the tryselect task.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 18:38:58 +00:00
Jeff Gilbert 544759b391 Bug 1545892 - Reduce includes in gfx2DGlue.h, nsLayoutUtils.h, nsPresContext.h. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D28266

--HG--
extra : moz-landing-system : lando
2019-04-22 19:58:52 +00:00
Miko Mynttinen 84624b4a42 Bug 1540785 - Part 2: Devirtualize nsDisplayItemBase::GetPerFrameKey() r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D27580

--HG--
extra : moz-landing-system : lando
2019-04-22 19:58:01 +00:00
Miko Mynttinen f579c8f5c5 Bug 1540785 - Part 1: Introduce nsDisplayItemBase r=mattwoodrow
***

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

--HG--
extra : moz-landing-system : lando
2019-04-22 19:57:59 +00:00
Daosheng Mu 9e73a18233 Bug 1545806 - Correct the initializer list in Windows gamepad axis value constructor. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D28242

--HG--
extra : moz-landing-system : lando
2019-04-22 18:37:11 +00:00
Emilio Cobos Álvarez 95d5d947ba Bug 874811 - Outer svg is a replaced box with CSS layout, and CSSOM should reflect that accordingly. r=dholbert,violet
Co-authored-by: violet <violet.bugreport@gmail.com>

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

--HG--
extra : moz-landing-system : lando
2019-04-22 17:01:10 +00:00
Kirk Steuber 078edecd4a Bug 1545793 - Don't put a BITS update in a failure state if the user doesn't have permission to access BITS r=rstrong
This patch should prevent a guest user from putting a non-guest user's (existing) BITS download in a failure state. If, however, the guest user is the first user to try BITS, it will fail and will still put BITS in an error state, falling back to nsIIncrementalDownload.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 17:06:59 +00:00
Jeff Gilbert 0042440c14 Bug 1520948 - Update test failures. 2019-04-22 09:42:11 -07:00
Jeff Gilbert 99e4e386b1 Bug 1520948 - Update ANGLE to chromium/3729..moz/firefox-68.
Differential Revision: https://phabricator.services.mozilla.com/D23772
2019-04-22 09:42:09 -07:00
Jeff Gilbert 721ad19403 Bug 1520948 - Updates to update-angle.py. r=lsalzman
* Support DEFFILE in update-angle.py.
* Add standalone --check
2019-04-22 09:42:07 -07:00
shindli a8a1bd5a49 Backed out changeset 98adabf295d0 (bug 1542415) for breaking Facebook, Google and Twitter for some people a=backout 2019-04-22 19:23:33 +03:00
Kirk Steuber 4bc2b30f74 Bug 1545793 - Propogate new BITS client error through the async XPCOM layer r=lina
Differential Revision: https://phabricator.services.mozilla.com/D28257

--HG--
extra : moz-landing-system : lando
2019-04-22 16:21:53 +00:00
Kirk Steuber e4c75e6001 Bug 1545793 - Add a specific error code for when we cannot connect to the background copy manager r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D28256

--HG--
extra : moz-landing-system : lando
2019-04-22 16:21:33 +00:00
Sylvestre Ledru a1dce6440a Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Andrew McCreight c518481537 Bug 1535403 - Take indirection into account for the CC optimizations for the outer window wrapper. r=peterv
Most wrapper cached C++ objects are held alive by their wrapper. The
cycle collector takes advantage of this in many classes and ignores
the C++ object if the wrapper is marked black.

However, this is not true for the outer window's wrapper. Instead, the
outer window's wrapper keeps the inner window alive. The inner window
usually keeps its outer window alive, but not after it has been
unlinked. For reasons I do not yet understand, the outer window's
wrapper can be kept alive after the inner window it is a proxy for is
unlinked.

This patch fixes the cycle collector optimization for the outer window
by only applying it if the outer window still has a weak reference to
the inner window, which it will until the inner no longer holds the
outer alive. This in turn fixes, or at least helps fix, window leaks
seen intermittently when the lifetime of outer windows and docshells
are tied together.

The code comment is based on a review comment by peterv.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 16:34:51 +00:00
Jason Laster 4d089aa543 Bug 1536116 - Highlights might not be shown when on the debug line. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D28086

--HG--
extra : moz-landing-system : lando
2019-04-22 15:52:13 +00:00
Markus Stange 77ddedaacb Bug 1542454 - Factor out some code. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D26402

--HG--
extra : moz-landing-system : lando
2019-04-22 19:41:58 +00:00
Markus Stange d0ba1d9725 Bug 1542454 - Remove support for drawing the window resizer. r=spohl
The last version of macOS that put resizers in window corners was 10.6.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 19:41:41 +00:00
Markus Stange 0f29789b59 Bug 1542454 - Remove unused function COLOR8TOCOLOR16. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D26400

--HG--
extra : moz-landing-system : lando
2019-04-22 19:41:21 +00:00
Markus Stange de6910917a Bug 1533562 - Do not move the TitlebarGradientView from a ToolbarWindow into a BorderlessWindow when hiding the window chrome. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D25516

--HG--
extra : moz-landing-system : lando
2019-04-22 19:27:09 +00:00
Markus Stange 537ff00f68 Bug 1533562 - Implement titlebar gradient drawing with a new TitlebarGradientView. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D22646

--HG--
extra : moz-landing-system : lando
2019-04-22 19:26:56 +00:00
Markus Stange 8f1414b86c Bug 1533562 - Always make the content view of ToolbarWindows cover the entire window. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D22645

--HG--
extra : moz-landing-system : lando
2019-04-22 19:26:38 +00:00
Markus Stange 92aa2412e5 Bug 1533562 - Remove override of -[NSThemeFrame _unifiedToolbarFrame]. r=spohl
This override has no effect in CoreAnimation-backed windows. The upcoming
patches will implement an alternative approach.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 19:26:29 +00:00
Markus Stange 61e81ce45e Bug 1533562 - Remove code that deals with non-rounded bottom corners on regular windows. r=spohl
Rounded bottom corners have been the default since 10.7.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 19:26:15 +00:00
Markus Stange 7540dfbeba Bug 1533562 - Remove synchronous repaint capability of setTitlebarNeedsDisplayInRect:sync: and also remove the rect parameter because we always pass the same value to it. r=spohl
The synchronous paint was only needed a long time ago when we were calling this
method during drawRect. We're not doing that any more, we usually call it from
viewWillDraw now. But even at the time, forcing a synchronous paint *within*
a paint was extremely sketchy, so best just to remove the code.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 19:26:00 +00:00
Aaron Klotz 5a16846aa3 Bug 1535704: Part 1 - Move IsWin32kLockedDown into mozglue; r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D27832

--HG--
extra : moz-landing-system : lando
2019-04-22 19:13:23 +00:00
Agi Sferro d9c6b51564 Bug 1529119 - Expose msaa-level, double_tap_zooming, autozoom. r=snorp
FxR uses these prefs and they might be helpful to other embedders so we can
just add them to GeckoRuntimeSettings.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 18:50:08 +00:00
Agi Sferro 9caa256abd Bug 1529119 - Remove duplicate entry in CHANGELOG. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D28238

--HG--
extra : moz-landing-system : lando
2019-04-22 18:50:15 +00:00
Nan Jiang 938f7d3e16 Bug 1543836 - Add writeMany to kvstore r=myk
This new API allows consumer to both put and delete in batch.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 18:36:38 +00:00
Andrea Marchesini 266a28f53a Bug 1545273 - User-Interaction required for trackers only for some urls, set in privacy.restrict3rdpartystorage.userInteractionRequiredForHosts, r=Ehsan
This patch fixes a bug about when the
privacy.restrict3rdpartystorage.userInteractionRequiredForHosts should be
considered.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 16:30:39 +00:00
Bogdan Tara 2a38c1eb3a Backed out changeset 67463f3dd222 (bug 1545860) for flake lint failure on android_device.py CLOSED TREE 2019-04-22 21:20:16 +03:00
Tim Nguyen b8ef936aa6 Bug 1545757 - Fix contrast of text on 'Edit Address' dialog in dark mode. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D28381

--HG--
extra : moz-landing-system : lando
2019-04-22 17:57:13 +00:00
Andrew Erickson 14a02f9fe1 Bug 1545860: fix tooltool url r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D28260

--HG--
extra : moz-landing-system : lando
2019-04-22 17:41:33 +00:00
Barret Rennie 531d88c629 Bug 1444447 - Correctly copy drawn surfaces to the full window render target in BasicCompositor r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D27969

--HG--
extra : moz-landing-system : lando
2019-04-22 17:13:34 +00:00
shindli 201ccc9b61 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-04-22 18:49:56 +03:00