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

65947 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden 97249415f0 Bug 1663365 - Move CTypes APIs out of jsapi.h and into js/public/experimental/CTypes.h. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D95672
2020-11-07 00:04:33 +00:00
Jeff Walden b0435c3949 Bug 1663365 - Various stylistic cleanups to ctypes-related functionality in jsfriendapi.h, in advance of a move into a separate header. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D95670
2020-11-07 00:04:18 +00:00
Mike Hommey 15ca45ea8c Bug 1675384 - Add a script that allows to unify two mac builds into one universal build. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D96172
2020-11-06 21:45:48 +00:00
Nick Alexander 874576b950 Bug 1675332 - Pre: Make `VALUE: null` remove env vars in Subprocess.jsm. r=kmag
This small tweak makes it ergonomic to remove variables from the
inherited environment.  Using `null` to signal "removal", distinct
from `undefined` for "ignored", seems to be an accepted idiom in these
types of JS interfaces.

Differential Revision: https://phabricator.services.mozilla.com/D95896
2020-11-06 05:01:57 +00:00
Marco Bonardo 89063a1979 Bug 1582860 - Convert bogus fatal assertions about missing Places ids into warnings. r=Standard8
These assertions were intended to protect us from trying to build a result
node from a non existing database id. In practice it is totally possible that
between the time an entry is added and the time it is notified, something else
executes a removal of the same entry.
The assertions are thus converted into warnings, so that we can still notice
them when running manual tests, but they won't cause test failures, since it's
a condition that can happen during test runs, but not a bug.

Differential Revision: https://phabricator.services.mozilla.com/D96224
2020-11-06 19:09:31 +00:00
Itiel 004a56683b Bug 1675535 - Minor visual improvements to about:processes r=florian
1. Remove old irrelevant comments
2. Tidy up the CSS a bit
3. Fix hover/active states for table headers and the close button
4. Fix dark mode for the close button

Differential Revision: https://phabricator.services.mozilla.com/D96060
2020-11-06 20:28:24 +00:00
Noemi Erli ff01ed0cc5 Backed out changeset b130bd668e90 (bug 1674779) for causing build bustages CLOSED TREE 2020-11-06 22:11:13 +02:00
Andrew Creskey bbda4e9869 Bug 1674779 - Improve documentation of GV_PAGE_LOAD_MS (describe back navigation and bimodality) r=Dexter
Add notes to metrics.yaml and Histograms.json to describe a source of bimodality in this probe.

Differential Revision: https://phabricator.services.mozilla.com/D95534
2020-11-06 18:13:39 +00:00
Emma Malysz 12b483048a Bug 1673634: custom margins must factor in page orientation when calculating maximum values r=mstriemer
When the orientation changes, we must recalculate the maximum height and width.
For portrait orientation, marginTop and marginBottom should be compared to the
paper width, and for landscape orientation, they should be compared to the paper
height (vice versa for marginLeft and marginRight).

If the custom margin values are valid after an orientation switch, they will
persist. If they are no longer valid, they will be reset to the default values,
and the margin dropdown will still have custom selected.

Differential Revision: https://phabricator.services.mozilla.com/D96099
2020-11-06 18:49:19 +00:00
Emma Malysz a279a44108 Bug 1675483, only hide sheet count when the preview is loading to avoid flicker r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D96088
2020-11-06 18:46:49 +00:00
Chris H-C 5d2e0b64dc Bug 1673662 - Implement FOG C++ and JS APIs for String metrics r=brizental,janerik
Differential Revision: https://phabricator.services.mozilla.com/D95785
2020-11-06 16:39:39 +00:00
Mark Striemer d8aea5e897 Bug 1662331 - Part 2: Rename numPages to sheetCount r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D95812
2020-11-06 17:30:46 +00:00
Mark Striemer 12bc99eb13 Bug 1662331 - Part 1: Use the sheetCount from printPreview directly r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D95332
2020-11-06 17:30:43 +00:00
Emilio Cobos Álvarez a295cfacfd Bug 1675801 - Use a less hacky way of hiding scrollbars on date/timepicker.xhtml. r=desktop-theme-reviewers,dao
This doesn't change behavior, but is much nicer, isn't it? :-)

Differential Revision: https://phabricator.services.mozilla.com/D96205
2020-11-06 18:05:15 +00:00
Chris H-C a79272a14e Bug 1673664 - Implement C++ and JS FOG APIs for UUID r=janerik,brizental
Differential Revision: https://phabricator.services.mozilla.com/D95590
2020-11-06 14:38:50 +00:00
Neil Deakin c5eff66205 Bug 1649843, remove now unused legacy actor code, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D95206
2020-11-06 15:46:11 +00:00
Itiel 7fb34265a7 Bug 1675599 - Make "OK" button in the Select Helper Application dialog the default button r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D96097
2020-11-06 09:14:57 +00:00
Erik Nordin d9f598b6bf Bug 1666734 - Add two-sided printing checkbox to print UI r=sfoster,fluent-reviewers,flod,AlaskanEmily
This patch adds a new checkbox to the print UI for two-sided printing.
The checkbox is only visible if the currently selected printer supports
two-sided printing.

Notable Changes:
  - Add new section and checkbox for two-sided printing.
  - Add new getter to settings proxy for supportsDuplex.
  - Add new setter/getter to settings proxy for printDuplex.
  - Add new test for no duplex with PDF printer.
  - Add new test for toggle duplex in portrait orientation.
  - Add new test for toggle duplex in landscape orientation.
  - Add new test for toggle orientation with duplex checked.
  - Correctly set duple mode in GTK print settings.

Depends on D94026

Differential Revision: https://phabricator.services.mozilla.com/D93621
2020-11-06 06:33:27 +00:00
Razvan Maries 78b884f32d Backed out changeset 905f54a1dfed (bug 1666734) for perma failures on test_get_printer_paper_sizes.html. CLOSED TREE 2020-11-06 08:01:06 +02:00
Harry Twyford 087a9c5df4 Bug 1674874 - Record telemetry for results picked in search mode. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95796
2020-11-06 00:13:00 +00:00
Erik Nordin f3863e87b5 Bug 1666734 - Add two-sided printing checkbox to print UI r=sfoster,fluent-reviewers,flod,AlaskanEmily
This patch adds a new checkbox to the print UI for two-sided printing.
The checkbox is only visible if the currently selected printer supports
two-sided printing.

Notable Changes:
  - Add new section and checkbox for two-sided printing.
  - Add new getter to settings proxy for supportsDuplex.
  - Add new setter/getter to settings proxy for printDuplex.
  - Add new test for no duplex with PDF printer.
  - Add new test for toggle duplex in portrait orientation.
  - Add new test for toggle duplex in landscape orientation.
  - Add new test for toggle orientation with duplex checked.
  - Correctly set duple mode in GTK print settings.

Depends on D94026

Differential Revision: https://phabricator.services.mozilla.com/D93621
2020-11-06 01:14:15 +00:00
Mike Hommey 767eea09f0 Bug 1675477 - Remove MozillaDeveloper*Path from Info.plist. r=firefox-build-system-reviewers,haik,mhentges
They cause differences between the x86-64 and arm64 halves of a
universal build, and are not necessary in release builds.

As a side effect, we now end up normalizing Info.plist contents.

Differential Revision: https://phabricator.services.mozilla.com/D96015
2020-11-05 20:24:26 +00:00
Mike Hommey 53fee2f4c4 Bug 1675437 - Use preprocessor to create Info.plist files. r=firefox-build-system-reviewers,mhentges
While we're in the vicinity, change the manual preprocessing of
Info.plist.in to uses of the preprocessor.

Differential Revision: https://phabricator.services.mozilla.com/D96014
2020-11-05 15:03:47 +00:00
Mike Hommey ead183252e Bug 1675437 - Avoid using iconv to create InfoPlist.strings. r=firefox-build-system-reviewers,mhentges
Since python creates little-endian utf-16 consistently whether
cross-compiling from Linux or compiling natively on macOS, we could
write a small script that essentially replaces iconv. On the other hand,
we're also doing some manual preprocessing on the InfoPlist.strings.in
files, and we might as well use the preprocessor for that.

So, we augment the preprocessor to allow an explicit output encoding
other than utf-8, and use the preprocessor instead of `sed | iconv`.

Differential Revision: https://phabricator.services.mozilla.com/D96013
2020-11-05 15:07:30 +00:00
Mike Hommey 60c444155f Bug 1675437 - Add application name to the crash reporter bundle display name. r=Gijs
Back in bug 382762, it was originally set to contain the application
name, and the Makefile parts have remained, but the application name was
removed in later iterations because back then, the crash reporter would
be shipped with XulRunner and that would be a problem for XulRunner
apps.

XulRunner is long dead, so we can go back to the original idea.

The real motive behind this is that InfoPlist.strings.in needs to be
converted to UTF-16 at build time, and that while we currently do that
with iconv, we want to change that, and a convenient way to do so is to
use the preprocessor, but then the preprocessor doesn't like that this
specific InfoPlist.strings.in doesn't have any preprocessing directives,
so this adds one.

Differential Revision: https://phabricator.services.mozilla.com/D96012
2020-11-05 11:08:22 +00:00
Narcis Beleuzu 46929ae82f Backed out 2 changesets (bug 1673664, bug 1673662) for Documentation failure on glean.py
Backed out changeset 430caac2467d (bug 1673662)
Backed out changeset 0bae1f5facda (bug 1673664)
2020-11-06 01:35:59 +02:00
Niklas Baumgardner 751a932372 Bug 1545752 - The Picture-in-Picture window opens on correct monitor. r=mconley
Depends on D90813

Differential Revision: https://phabricator.services.mozilla.com/D95215
2020-11-05 18:23:04 +00:00
Chris H-C 379680dc54 Bug 1673662 - Implement FOG C++ and JS APIs for String metrics r=brizental,janerik
Differential Revision: https://phabricator.services.mozilla.com/D95785
2020-11-05 14:30:21 +00:00
Narcis Beleuzu f4d84dca33 Backed out changeset 1c37a165ba43 (bug 1674874) for bc failure on browser_UsageTelemetry_urlbar_searchmode.js CLOSED TREE 2020-11-06 00:38:24 +02:00
Chris H-C c96dbaf582 Bug 1673664 - Implement C++ and JS FOG APIs for UUID r=janerik,brizental
Differential Revision: https://phabricator.services.mozilla.com/D95590
2020-11-05 14:19:21 +00:00
Emilio Cobos Alvarez f48f3d8fe3 Bug 1675323 - Apply scrollbar-width to the content select scrollbox. r=mconley
(Instead of applying it directly to the menulist).

Since it's not inherited, we need to get the right value over to the scrollbox.
For that, export it from the arrowscrollbox, with the same name as the places
menupopup uses for the same purpose.

Differential Revision: https://phabricator.services.mozilla.com/D95887
2020-11-05 21:11:54 +00:00
Andrew Halberstadt 331bc892dd Bug 1675319 - [manifestparser] Properly support multiline skip-if statements, r=jmaher,extension-reviewers,zombie
This supports one manifestparser expression per line in the 'skip-if',
'fail-if' and 'run-if' keys. As a side effect the:

    skip-if = foo ||
        bar

syntax is no longer supported. Instead it can be:

    skip-if =
        foo  # bug 123
        bar  # bug 456

Differential Revision: https://phabricator.services.mozilla.com/D95927
2020-11-05 19:55:08 +00:00
Harry Twyford caecbc9874 Bug 1674874 - Record telemetry for results picked in search mode. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95796
2020-11-05 20:26:00 +00:00
David Teller a5e3c68e40 Bug 1674533 - about:processes should use 'm' everywhere for minutes;r=florian
Differential Revision: https://phabricator.services.mozilla.com/D95432
2020-11-05 19:39:06 +00:00
Niklas Baumgardner ce9cac5aae Bug 1578985 - Saving the last location and size of Picture in Picture window and opening there the next time. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D90813
2020-11-05 17:24:57 +00:00
Luca Greco 7fc68ab4c9 Bug 1672570 - Extend addonsManager and extensions.data.migrateResult probes. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D95751
2020-11-03 16:01:07 +00:00
Cosmin Sabou fdc6e423f8 Backed out changeset 383271ec7243 (bug 1673642) for glean related failures. 2020-11-05 17:35:45 +02:00
Magnus Melin 71cd3eeef6 Bug 1673795 - don't fail test_SyncPingIntegration.js test for Thunderbird. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D96019
2020-11-05 14:37:10 +00:00
brizental ea5e4be6da Bug 1673642 - Implement C++ and JS APIs for the Boolean Metric Type. r=chutten
BONUS: Improve the docs for adding new metric type in C++ and JS,
added two missing steps to the C++ part and changed the layout
a bit to make it easier to follow.

Differential Revision: https://phabricator.services.mozilla.com/D95314
2020-11-05 12:01:58 +00:00
Tim Huang df1f9b0c35 Bug 1577076 - Request a longer timeout for browser_blockingIndexedDb.js r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D96001
2020-11-05 11:04:20 +00:00
smolnar 5957a1ba9c Backed out changeset a82a3d7cec03 (bug 1675190) for causing linux toolchains bustage. CLOSED TREE 2020-11-05 13:26:46 +02:00
Mark Banner 9ad9fa5a59 Bug 1654392 - Ensure the order of the search engine configuration is consistent, and add some more distribution tests. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D95022
2020-11-04 23:17:29 +00:00
alwu 0c0c2f3994 Bug 1674845 - part4 : add 'browser' subfolder for autoplay browser tests. r=bryce
subsuite media for browser tests.

Differential Revision: https://phabricator.services.mozilla.com/D95881
2020-11-05 06:15:07 +00:00
Dorel Luca d1d71a8e1a Backed out 4 changesets (bug 1674845) for Browser-chrome failures in toolkit/content/tests/browser/browser_findbar.js. CLOSED TREE
Backed out changeset 8f20a34998c6 (bug 1674845)
Backed out changeset 98b99d2dd52f (bug 1674845)
Backed out changeset 804d23738709 (bug 1674845)
Backed out changeset 64ca82a10039 (bug 1674845)
2020-11-05 06:47:47 +02:00
Mark Hammond bcb7a913bb Bug 1675190 - Vendor new application-services into mozilla-central. r=extension-reviewers,janerik,eoger,dmose,rpl
Differential Revision: https://phabricator.services.mozilla.com/D95829
2020-11-05 03:50:21 +00:00
alwu af08036437 Bug 1674845 - part4 : add 'browser' subfolder for autoplay browser tests. r=bryce
subsuite media for browser tests.

Differential Revision: https://phabricator.services.mozilla.com/D95881
2020-11-05 02:44:39 +00:00
Mark Hammond 96e2c6e149 Bug 1673795 - Integrate sync ping shutdown handling with TelemetryController and record if a sync shutdown ping was sent. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D94929
2020-11-05 02:44:05 +00:00
Dorel Luca af86d70b32 Backed out changeset b8f6130e6997 (bug 1673664) for Build bustages. CLOSED TREE 2020-11-05 01:24:33 +02:00
Shane Caraveo d31bd61d79 Bug 1672314 handle invalid addon startup data properly during startup r=rpl
We scan for addon changes twice, once early in startup (usually with no scanning) and once after ui startup.  We hold on to the startup data, and during both scans we restore that data into the addon location instances.  The problem here is if we install a builtin in-between these scans.  The new data from the install would get overwitten by the old data.  In some cases this caused addons to disappear (e.g. old data has incorrect path).  Other issues covered here is that we would never remove addon data for builtins removed from the system, and we would additionally mark builtins as sideloads, which caused other side effects (particularly with search addons) where we would not load the addon, but fortunately the search service later re-installes them.

Differential Revision: https://phabricator.services.mozilla.com/D95422
2020-11-04 16:43:14 +00:00
Emma Malysz 282008aabb Bug 1669708: do not disable cancel button when printing or waiting for page to finish rendering r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D95584
2020-11-04 23:11:29 +00:00