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

626283 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 83f155f075 Bug 1498816 - part 1: Make nsFrameSelection::CommonPageMove() emulate click in current selection limiter r=smaug
nsFrameSelection::CommonPageMove() is called only by
nsTextInputSelectionImpl::PageMove() and PresShell::PageMove().  So, this is
the only implementation of (Shift+) PageDown and (Shift+) PageUp.

This scrolls down/up the specific frame.  However, this allows to scroll
outside of selection limiter, for example, even when an editing host is
focused, its parent scrollable element may be scrolled.  This is same behavior
as Blink so that we should keep this behavior.

However, it also emulates to click same position after scroll and this behavior
is different from Blink.  At this time, it does not check selection limiter and
then, nsFrameSelection::HandleClick() may reset selection limiter the scrolled
frame is a parent frame of the limiter.

Therefore, this patch makes it check if the scrolled frame is a parent of the
limiter, and if so, use result of GetFrameToPageSelect() to emulate a click
instead.  The result won't be a parent of the limiter because it is used when
handling Shift + PageDown and Shift + PageUp which are always handled in the
limiter.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 06:16:15 +00:00
Brindusan Cristian eb07b312bf Backed out 3 changesets (bug 1486659) as requested by jhlin on irc for breaking video playback on Android and causing regression Bug 1510464. a=backout
Backed out changeset 9c2834ca8823 (bug 1486659)
Backed out changeset 5d897c0c7a25 (bug 1486659)
Backed out changeset b0fdcebfd20d (bug 1486659)
2018-11-28 19:09:13 +02:00
Gabriel Luong 232fe851f6 Bug 1507750 - Compare the flexbox state for any changes before updating on reflows. r=pbro 2018-11-28 11:25:19 -05:00
Nicolas Silva 9f96be2f26 bug 1510447 - Fix a blob image key leak. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D13262

--HG--
extra : source : a58f38fb47f3f436584a816ccbbc192ae9684d02
extra : intermediate-source : 6cca1b66a9dd1951abd51f6c3bf588a2ae46934c
2018-11-28 16:55:10 +01:00
Nicolas Silva c4557c9062 Bug 1510447 - Adjust reftest expectation. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D13412

--HG--
extra : source : e92d34bd8ebc56f3dfb1f4951e0d28e6a4c84ae2
2018-11-29 15:11:58 +01:00
Paolo Amadini 9a8768d798 Bug 1502856 - Fix intermittent failure surfaced by test-verify. r=me
Just waiting for l10n.ready isn't enough, so the test now verifies the button class instead of its text content.

--HG--
extra : rebase_source : e0a9f1cffe6bae98334f71ada7d09f2d204ad268
2018-11-29 15:12:24 +00:00
Nicolas B. Pierron ae4fa6387c Bug 1499323 - Prepare the check_macroassembler_style python script to accept clang-format rewritting. r=jandem 2018-11-29 15:53:55 +01:00
Daniel Varga c89eda391e Backed out changeset 50171af401fc (bug 1507702) for build bustages at /builds/worker/workspace/build/src/docshell/base/nsAboutRedirector.cpp:34:3 on a CLOSED TREE
--HG--
extra : amend_source : 3ee43847a33693e3a47ecc586561a21f41074f13
2018-11-29 16:50:35 +02:00
James Willcox fb1756d92c Bug 1507702 - Don't make about:crash* accessible to web content r=Ehsan,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12133
2018-11-29 08:37:14 -06:00
Luke Schwalfenberg 68b229f051 Bug 1502856 - Display locked preferences in a different style. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D12871

--HG--
extra : rebase_source : 006612b428dd7f74eea43e585d53b30132904999
extra : amend_source : 2bf169f7307630547bcb855f12e3f4ea72662d41
2018-11-29 14:19:29 +00:00
Paul Adenot cb75fadba6 Bug 1274392 - When echo cancellation is disabled, disable automatic gain control and noise suppression as well. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D12902

--HG--
extra : moz-landing-system : lando
2018-11-28 13:41:02 +00:00
Dão Gottwald 2d7d8cc2e5 Bug 1508081 - Make tab line color fallback to the selected tab text color instead of accentcolor. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D13232

--HG--
extra : moz-landing-system : lando
2018-11-28 12:29:49 +00:00
Michael Ratcliffe 8675703759 Bug 1509457 - Flex line background pattern shouldn't be draw outside of flex lines r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12749

--HG--
extra : moz-landing-system : lando
2018-11-28 12:27:20 +00:00
Masayuki Nakano 451e39f20d Bug 1498816 - part 0: Add automated tests of PageDown/PageUp key handling in an editing host r=smaug
Even if there is no scrollable element is in focused editing host, its parent
scrollable element should be scrolled.  However, focus shouldn't be moved and
selection ranges should be kept in the editing host.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 11:04:09 +00:00
Matthew Gaudet 2ec7f9e1f3 Bug 1510018: Fix error in callVM comment r=nbp DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D13106

--HG--
extra : moz-landing-system : lando
2018-11-28 10:28:57 +00:00
Julian Descottes f4898fa9c5 Bug 1510182 - Load edit menu strings for each new toolbox window;r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D13222

--HG--
extra : moz-landing-system : lando
2018-11-28 11:43:34 +00:00
Narcis Beleuzu f2028b4c38 Backed out changeset dfacecb798cc (bug 1510430) for dt failures on browser_dbg-sourcemaps-bogus.js. a=backout 2018-11-28 11:57:10 +02:00
Narcis Beleuzu 32a0676730 Merge autoland to mozilla-central. a=merge 2018-11-28 11:48:31 +02:00
Jan-Erik Rediger 5fd1cd8036 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-28 09:36:03 +00:00
Qinghao_Jack_Song 461c6bb6e4 Bug 1498448 - Migrate Certificate Manager Dialog to use fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D8499

--HG--
extra : moz-landing-system : lando
2018-11-28 10:30:06 +00:00
Narcis Beleuzu 6d70864397 Merge mozilla-central to autoland. CLOSED TREE 2018-11-28 12:00:56 +02:00
Tom Prince 4e1d0da45a Bug 1482395: [mozrelease] Fix product details links for beta and deveditions; r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D13225

--HG--
rename : python/mozrelease/test/data/Firefox-62.0b11.update.json => python/mozrelease/test/data/Firefox-64.0b13.update.json
extra : moz-landing-system : lando
2018-11-28 09:54:40 +00:00
ffxbld bd8fb7d9cf No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D12876

--HG--
extra : moz-landing-system : lando
2018-11-28 09:24:00 +00:00
Ehsan Akhgari ca162bee20 Bug 1508472 - Part 4: Fourth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 09:16:55 +00:00
Ehsan Akhgari 0ad55ab74f Bug 1510513 - Retain the formatting of MOZ_DEFINE_ENUM_* macros r=sylvestre
These macros tend to be handled quite poorly since the clang-format
tokenizer cannot figure out how to handle them.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 09:14:19 +00:00
Brian Hackett b44e3c69fe Bug 1510481 - Fix handling of messages sent to NSAutoreleasePools after diverging from the recording, r=lsmyth.
--HG--
extra : rebase_source : 07e3ff1e64b0726d6c1e8d121111741443fb2872
2018-11-27 14:17:07 -10:00
Dão Gottwald 65b52f7de5 Bug 1510418 - Use TelemetryStopwatch.running instead of custom _tabSwitchStopWatchRunning flag. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13126

--HG--
extra : moz-landing-system : lando
2018-11-27 21:53:13 +00:00
Ehsan Akhgari e5dcf45610 Bug 1510526 - Add a few autogenerated files to .clang-format-ignore r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D13194

--HG--
extra : moz-landing-system : lando
2018-11-28 07:40:30 +00:00
Andrew McCreight 81ca4b1113 Bug 1508818, part 1 - Add some missing things to the clang-format macro list. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13182

--HG--
extra : moz-landing-system : lando
2018-11-28 07:38:12 +00:00
Alex Chronopoulos a008331435 Bug 1509462 - Make DecoderDoctorLifeLogger constructor/destructor protected. r=gerald
DecoderDoctorLifeLogger is used as a base class in many classes but it does need to have a virtual destructor to avoid adding a vtable in the class. Thus the constructor and destructor become protected to avoid being used as base pointer to delete the real object.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 20:46:19 +00:00
Dão Gottwald 328bd4a524 Bug 1510462 - Remove redundant AddonManager definition. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D13157

--HG--
extra : moz-landing-system : lando
2018-11-28 04:56:39 +00:00
Cosmin Sabou 20c5475d6d Merge mozilla-central to autoland. 2018-11-28 06:11:15 +02:00
Cosmin Sabou e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Daisuke Akatsuka 0504c51e3b Bug 1505287: Notify closing event on background tab. r=ochameau,jdescottes
For now, even when close the background/lazy tabs, could not reflect to
`about:debugging` page. In this patch, notify to DevTools clients when close
any tabs.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 03:23:41 +00:00
Matthew Noorenberghe f34b971aa6 Bug 1510470 - Disable OS re-auth for credit cards by default. r=timdream
Differential Revision: https://phabricator.services.mozilla.com/D13169

--HG--
extra : moz-landing-system : lando
2018-11-28 01:08:35 +00:00
Kyle Machulis c241567f0f Bug 1505601 - Turn nsIDocShell XPIDL const lists into cenums; r=bzbarsky
Turn all const lists and related attributes into cenums, to provide a
vague sense of type safety.

Depends on D11715

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

--HG--
extra : moz-landing-system : lando
2018-11-28 03:30:56 +00:00
Kyle Machulis e821d52f9b Bug 1505601 - Move nsIDocShell INTERNAL_LOAD consts to nsDocShell; r=bzbarsky
Consts aren't used in JS anyways, so there's no reason for them to be
in the IDL.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 03:30:54 +00:00
Thomas Daede f608f5fc83 Bug 1501796 - Add nasm to debian7-build dockerfile. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D9747

--HG--
extra : moz-landing-system : lando
2018-11-28 03:23:08 +00:00
Thomas Daede d23a7312fc Bug 1510113 - Never inline SaveToEnv or SaveWordToEnv. r=karlt
This allows Valgrind to recognize the call stacks to this function,
avoiding Valgrind warnings in intentional leaks in these functions.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 03:10:55 +00:00
Timothy Guan-tin Chien 3c5974c14a Bug 1508000 - Dispatch UAWidgetUnbindFromTree event before calling nsGenericHTMLElement::UnbindFromTree() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D12205

--HG--
rename : toolkit/content/tests/widgets/test_ua_widget.html => toolkit/content/tests/widgets/test_ua_widget_sandbox.html
extra : moz-landing-system : lando
2018-11-28 02:29:38 +00:00
Hiroyuki Ikezoe d745109dfb Bug 1504065 - Drop text in the child element inside background-color animated element to avoid fuzziness on Windows 7 GPU. r=birtles
Depends on D13002

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

--HG--
extra : moz-landing-system : lando
2018-11-28 01:43:55 +00:00
Hiroyuki Ikezoe 218b4e7038 Bug 1504065 - Support background-color animations on the compositor for nsIDOMWindowUtils::GetOMTAValue. r=birtles
Depends on D13001

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

--HG--
extra : moz-landing-system : lando
2018-11-28 00:59:15 +00:00
Hiroyuki Ikezoe 22056382c0 Bug 1504065 - Run background-color animations on the compositor. r=birtles
Changes for nsIDOMWindowUtils.getOMTAValue is in the next commit with come test
cases.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 00:58:46 +00:00
Ehsan Akhgari 2febd96e7e Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 00:54:56 +00:00
Michael Cooper 8afcdbd07c Bug 1440778 - Implement show-heartbeat as internal Normandy action r=Gijs
The original, server-side implementation of this action was at
68d3e55a9d/client/actions/show-heartbeat/index.js

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

--HG--
extra : moz-landing-system : lando
2018-11-27 21:42:44 +00:00
Henrik Skupin 271aa30b73 Bug 1509256 - Clarify where to add preferences for geckodriver and Marionette. r=ato
It should be made clear that only those preferences should be added
to marionette.js which have an immediate effect. All others which
eg. require a restart, or have to be set before the application
starts the first time, must be added to the appropriate client's
profile generation code.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 20:12:04 +00:00
Razvan Caliman 76d7282cde Bug 1508338 - Add dark theme colors to Changes panel; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12770

--HG--
extra : moz-landing-system : lando
2018-11-28 21:58:22 +00:00
Andrew McCreight 7981e427c9 Bug 1510478 - Disable clang-formatting for XPTCall stub files. r=Ehsan
Many of the inline assembly macros in these files get reformatted
poorly by clang-format, so don't format them for now. In followup
work, in bug 1510781, hopefully we can write a larger patch to only
disable clang-format for the specific macros and then format the rest
of the files.

The problematic include STUB_ENTRY and STUB_MANGLED_ENTRY.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 21:26:43 +00:00
Andrew McCreight b8e492eeff Bug 1508818, part 5 - Disable Clang formatting in a few places in xpcom/. r=froydnj
nsCRTGlue.cpp has a few data tables that get broken up badly by
clang-format, so just disable the formatting. There are some more
tables in this file, but the arrangement doesn't seem to matter for
them.

The bloat log header is just a little bit of ASCII art, so just ignore
it in formatting so it is easier to read.

MOZ_COLLECT_REPORT uses very wide string constants that get rewrapped
in an ugly way by clang-format, so just disable the formatting for
them.

Depends on D13185

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

--HG--
extra : moz-landing-system : lando
2018-11-28 21:06:13 +00:00
Andrew McCreight ec00ed2fca Bug 1508818, part 4 - Rearrange various string literals so they fit in 80 columns. r=froydnj
clang-format doesn't seem to reflow text when a single string constant
is represented as multiple lines of string literals to fit within 80
columns. Instead, if a single string literal is too long, it breaks
off a piece and moves it to the next line, which leads to a bunch of
choppy short string bits. The resulting string literals are still a
bit choppy, mostly because I didn't want to break up the long names of
prefs.

Here's an example of what I mean:

|--- max width --- |
"some long string literal"
"is here but it goes on for multiple lines"

This gets turned into:

|--- max width --- |
"some long string "
"literal"
"is here but it "
"goes on for multiple lines"

My patch manually would turn this into:

|--- max width --- |
"some long string "
"literal is here "
"but it goes on "
"for multiple lines"

The strings in my patch don't always end up at column 80, because the
width is set to work with wherever clang format ends up actually
indenting them.

There are more instances of this problem when MOZ_COLLECT_REPORT is
used, but that can be dealt with in another bug. There are a ton of
them.

Depends on D13184

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

--HG--
extra : moz-landing-system : lando
2018-11-28 21:06:53 +00:00