Commit Graph

723233 Commits

Author SHA1 Message Date
John Lin
b7c5501eda Bug 1657321 - ffvpx: undo build error workarounds. r=jya
Revert bug 1412240. It was a workaround for a LLVM bug and only
relevant when icecc is involved. Since sccache-dist is preferred
now, it's no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D87891
2020-08-22 02:41:58 +00:00
Erik Nordin
66a1e74908 Bug 1660589 - Localize paper names only on macOS and not Linux r=jwatt
Paper names should be localized on macOS, but on linux we want to use
the PWG standardized media name.

Differential Revision: https://phabricator.services.mozilla.com/D87936
2020-08-22 01:43:33 +00:00
Narcis Beleuzu
4751b29785 Backed out changeset ed74d4e4b273 (bug 1657680) for dt failure on browser_markup_overflow_badge.js 2020-08-22 04:42:50 +03:00
Emma Malysz
bb338506f7 Bug 1658833: disable color option if the selected printer does not support printing in color r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D87653
2020-08-22 01:33:36 +00:00
Sam Foster
06d9d92eed Bug 1658833 - Make the current printer and its properties available to the UI. r=emalysz
* Put a by-name dictionary of the available printers on the PrintSettingsViewProxy
* Resolve async properties of the current printer when updating settings
* refreshSettings and updateSettings become async
* Fix a bug where restoring some settings when switching printers throws

Differential Revision: https://phabricator.services.mozilla.com/D87807
2020-08-22 01:33:32 +00:00
manas
88e461c163 Bug 1657680 - Make the scrollable badge clickable and add click handler. r=gl,jdescottes,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D86245
2020-08-21 22:27:18 +00:00
Emma Malysz
511f442a94 Bug 1659859, make sure printing from context menu uses correct pref value r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D87778
2020-08-21 23:33:17 +00:00
Narcis Beleuzu
c259d84931 Backed out 4 changesets (bug 1658856, bug 1592031) for bustages on ScreenshotGrabber.h . CLOSED TREE
Backed out changeset 6d54a1050bbd (bug 1658856)
Backed out changeset 19145f742503 (bug 1592031)
Backed out changeset 5db68a6a5bc2 (bug 1592031)
Backed out changeset 925e3b179b9b (bug 1592031)
2020-08-22 02:06:39 +03:00
Markus Stange
418d5452f5 Bug 1658856 - Fix overdraw and unused tile pixel computation in the profiler markers. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86888
2020-08-21 22:47:38 +00:00
Markus Stange
66928a1e5b Bug 1592031 - Use NativeLayerSnapshotter to capture profiler screenshots with WebRender on macOS. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86880
2020-08-21 22:33:41 +00:00
Markus Stange
1191e4de06 Bug 1592031 - Add profiler screenshots functionality to NativeLayerSnapshotter. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D59158
2020-08-21 22:44:26 +00:00
Markus Stange
a941eccf36 Bug 1592031 - Rename CompositorScreenshotGrabber to ScreenshotGrabber and give it a more generic interface. r=mattwoodrow
There already exist 3 implementations of this stuff and I don't want to add another one for the WR OS compositor path.
(The three implementations are: CompositorScreenshotGrabber, MLGPUScreenshotGrabber and RendererScreenshotGrabber.)
The interface has been designed in such a way that the MLGPU and WR implementations should be able to use it but I
haven't written the code to convert them.

Differential Revision: https://phabricator.services.mozilla.com/D59157
2020-08-21 22:33:31 +00:00
Brendan Dahl
686ff6882f Bug 1659753 - Support saving PDF form data when using "Save Page As". r=Gijs
Now when Ctrl/Cmd+S or "Save Page As" is used, Firefox will send PDF.js a
message to trigger downloading. This allows PDF.js to generate a new PDF
if there is modified form data that needs to be saved or send back the
unmodified data. Once PDF.js has generated the blob, it will send messages
to the PdfjsParent to open the "Save As" dialog.

Adds two tests:
1) Saving a plain PDF without forms.
2) Saving a PDF with modified forms and verifies the new PDF has the form
   data.

Differential Revision: https://phabricator.services.mozilla.com/D87675
2020-08-21 22:40:40 +00:00
Mike Hommey
99af4ed728 Bug 1659904 - Define UnixFile.open as a variadic function. r=Yoric
That is how it is actually defined in fcntl.h, and thus how C code calls
it. It so happens that in many cases, it just works out fine because
variadic arguments end up at the same place as if they weren't variadic
in registers/stack, but that's not actually true on all platforms. Most
notably, that's not true on Apple Silicon.

Differential Revision: https://phabricator.services.mozilla.com/D87558
2020-08-19 08:16:42 +00:00
Mike Hommey
b689e3742e Bug 1659905 - Fix ctypes variadic support. r=jorendorff
It never told libffi what the variadic arguments were.
Also fix the ctypes declaration of test_vector_add_va_cdecl in the unit test,
which is actually wrong, but the test still passed for some reason.

Differential Revision: https://phabricator.services.mozilla.com/D87557
2020-08-21 16:56:11 +00:00
Olli Pettay
13ebfdf441 Bug 1660526 - Tweak AddToRootSessionHistory and AddChildSHEntryHelper to make them easier to follow, r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D87895
2020-08-21 20:59:52 +00:00
Mike Hommey
db7bacca7d Bug 1659906 - Fix variadic arguments on arm64 darwin ABI. r=froydnj
Normal arguments that spill on the stack are packed, but not variadic
arguments. This is handled correctly for their placement already, but
code generated on the callee side with va_list expects word-size
sign-extension, so we need to fill the entire word.

Upstreamed as https://github.com/libffi/libffi/pull/577.

Differential Revision: https://phabricator.services.mozilla.com/D87825
2020-08-21 14:54:07 +00:00
Mike Hommey
d27ed90b47 Bug 1659906 - Upgrade libffi to version 3.3. r=froydnj
All the patches previously applied, except the one from bug 1279096,
are either irrelevant (as pertaining to changes to the upstream build
system we don't use anymore), were applied upstream, or the issue they
fixed were fixed differently upstream.

Two additional patches, sent upstream as
https://github.com/libffi/libffi/pull/579 and
https://github.com/libffi/libffi/pull/580, are needed to fix our build
with, respectively, mingw-clang and GCC.

Our build system is adjusted according to upstream's configure.ac
and configure.host.

Differential Revision: https://phabricator.services.mozilla.com/D87824
2020-08-21 21:54:32 +00:00
Dale Harvey
ec890e8f1e Bug 1650887 - Let unprefixed engines be accessed via @ r=harry
Differential Revision: https://phabricator.services.mozilla.com/D86221
2020-08-21 19:45:16 +00:00
Emma Malysz
7cb8f5330a Bug 1659910, add a timeout to delay showing error messages r=sfoster
Resets percent scale input value if the previous value was invalid and the user switches
to "Fit to page"

Differential Revision: https://phabricator.services.mozilla.com/D87787
2020-08-21 21:39:43 +00:00
Botond Ballo
f5e74fe3bc Bug 1660211 - Respect iterator invalidation rules in ComputeClippedCompositionBounds(). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D87893
2020-08-21 19:57:01 +00:00
Kartikaya Gupta
69ed326fa8 Bug 1659784 - Revert the speedup of mousewheel animations. r=jaws
This undoes the change in bug 1418822 as it's not clear if it's a strict
improvement. We have concrete plans to do some experimentation to at least
ensure it won't drive away users.

Differential Revision: https://phabricator.services.mozilla.com/D87906
2020-08-21 20:42:59 +00:00
mcrawford@mozilla.com
2fa78e4cdb Bug 1660255 - Revise about:pioneer page UI and copy r=rhelmer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D87803
2020-08-21 20:18:19 +00:00
Narcis Beleuzu
64a77102a0 Backed out changeset a70c7ee4b579 (bug 1646151) for bc failures on browser_pioneer_ui.js . CLOSED TREE 2020-08-21 23:27:01 +03:00
Mitchell Hentges
07133c01bc Bug 1656403: Configure should reject potentially-out-of-date nightlies r=firefox-build-system-reviewers,froydnj
We have a minimum rust version required for compilations. For both stable and beta rust compilers, we can trust that they will have all the stabilized features we're expecting.
However, for nightlies, they may "match" our minimum version, but may have been released in the version window before a certain feature we need has been stabilized.
So, when validating rustc version in configure, ensure that the nightly is at least one version newer than our expected version.

Differential Revision: https://phabricator.services.mozilla.com/D86889
2020-08-21 19:19:36 +00:00
Mitchell Hentges
f48b90e9fc Bug 1656403: Bump rust nightly toolchain version to 1.44 r=glandium
The Firefox build requires features of Rust 1.43. However, a given Rust 1.43 nightly might be missing components that exist in the stable release.

By bumping the nightly version in the toolchain to 1.44 (first released on March 18), we ensure that we won't run into an unexpected missing feature.

Depends on D87650

Differential Revision: https://phabricator.services.mozilla.com/D87651
2020-08-19 21:28:23 +00:00
Mitchell Hentges
d2f1d43e17 Bug 1656403: bump maximum gkrust-shared rust version to 1.47 r=glandium
1.44 is too tight a restriction, and we know that 1.47 will still have
the APIs we depend on.

Differential Revision: https://phabricator.services.mozilla.com/D87650
2020-08-20 00:11:01 +00:00
Kershaw Chang
b86af334f1 Bug 1652655 - P6: Add test_use_httpssvc.js to exclusion list. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D87902
2020-08-21 19:33:06 +00:00
Robert Helmer
2248c96c11 Bug 1646151 - send deletion ping for each unenrolled Pioneer study r=sfoster,amiyaguchi
Differential Revision: https://phabricator.services.mozilla.com/D87523
2020-08-21 18:59:26 +00:00
Kershaw Chang
1f6e1d5ca9 Bug 1652655 - P5: Test case for dispatching transaction with HTTPSSVC record, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85429
2020-08-21 18:59:22 +00:00
Kershaw Chang
1f51da10c8 Bug 1652655 - P4: Fallback to origin connection info, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85869
2020-08-21 18:59:19 +00:00
Kershaw Chang
10d957aaa7 Bug 1652655 - P3: Dispatch the transaction based on HTTPSSVC record, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D85123
2020-08-21 18:59:15 +00:00
Kershaw Chang
a841171067 Bug 1652655 - P2: Use HTTPSSVC record for the request without an AltSvc or a HSTS entry, r=dragana,necko-reviewers,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D85122
2020-08-21 18:59:07 +00:00
Kershaw Chang
2e10bf25d7 Bug 1652655 - P1: Sort HTTPSSVC records, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85121
2020-08-21 18:59:03 +00:00
Gijs Kruitbosch
c1e5ec87eb Bug 1571247 - don't default to the jfif extension for image/jpeg files as suggested by the Windows registry, r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D87371
2020-08-21 15:38:35 +00:00
Henrik Skupin
e5506d0ac0 Bug 1658928 - [wdspec] Improve tests for getCurrentURL and add site-isolation test. r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D87850
2020-08-21 17:48:33 +00:00
Henrik Skupin
5813c7d37e Bug 1658928 - [marionette] Make "WebDriver:GetCurrentURL" Fission compatible. r=marionette-reviewers,maja_zf
By moving out the "currentURI" getter from the Browser class,
and making it available on the driver other parts of Marionette
like reftests can make use of the "currentURL" property.

Also a couple of methods expressed the passed-around data as
instance of nsIURI whereby it was a string or an instance of
URL. The patch fixes that to always pass-around URL instances.

By doing these changes the command will be Fission compatible now.

Differential Revision: https://phabricator.services.mozilla.com/D87572
2020-08-21 12:50:43 +00:00
Dan Mosedale
147ed3c440 Bug 1643776 - Add Alpenglow theme, r=dmose,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D86058
2020-08-21 17:20:07 +00:00
Andrew McCreight
4e95b07530 Bug 1653671 - Add aMinimizeMemoryUsage argument to dumpMemoryReportsToNamedFile(). r=froydnj
This functionality already exists, so it is just a matter of threading
an extra bool around. This patch should not actually change the behavior
anywhere.

The goal of this is to consider using it for AWSY. Currently AWSY
asks every process to minimize memory usage at once, but with
this option the minimization will be batched along with the memory
reports, which should make it less likely to overwhelm the system
when there are a lot of content processes.

Differential Revision: https://phabricator.services.mozilla.com/D87475
2020-08-21 17:11:03 +00:00
Kevin Jacobs
d1d6b661e3 Bug 1655105 - land NSS NSS_3_56_RTM UPGRADE_NSS_RELEASE, r=jcj
2020-08-21  Kevin Jacobs  <kjacobs@mozilla.com>

	* lib/nss/nss.h, lib/softoken/softkver.h, lib/util/nssutil.h:
	Set version numbers to 3.56 final
	[809ff9ff0140] [NSS_3_56_RTM] <NSS_3_56_BRANCH>

2020-08-19  Kevin Jacobs  <kjacobs@mozilla.com>

	* .hgtags:
	Added tag NSS_3_56_BETA1 for changeset 52c965eaffa1
	[0d8ff40479d5]

Differential Revision: https://phabricator.services.mozilla.com/D87882
2020-08-21 16:10:59 +00:00
Dão Gottwald
1a98db68a2 Bug 1660448 - Rename sendTopSiteAttributionRequest, TOP_SITES_ATTRIBUTION for consistency with PartnerLinkAttribution.jsm. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D87856
2020-08-21 15:15:35 +00:00
Emilio Cobos Álvarez
dc89881853 Bug 1660501 - Fix a typo in browser-custom-element.js. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D87883
2020-08-21 16:20:54 +00:00
Narcis Beleuzu
cb798e0f9e Backed out 2 changesets (bug 1659376) for dt failures on browser_dbg-content-script-sources.js. CLOSED TREE
Backed out changeset 61e3dea03a62 (bug 1659376)
Backed out changeset 86e77b35c75d (bug 1659376)
2020-08-21 20:47:02 +03:00
Sam Foster
c5953d1c1a Bug 1659757 - Part 1: Add string for paper-size picker. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D87821
2020-08-21 16:17:09 +00:00
Tooru Fujisawa
ac1d47e35d Bug 1659852 - Properly report error in dumpStencil with smoosh + module. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D87515
2020-08-21 16:13:54 +00:00
Tooru Fujisawa
50f13a4125 Bug 1659304 - Update opcode for bug 1435826. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D87591
2020-08-21 16:13:24 +00:00
Andrew Osmond
a21edf6883 Bug 1659965 - Initialize the profiler before CodeCoverageHandler. r=mstange
CodeCoverageHandler relies upon CrossProcessMutex. On Linux this is
implemented using shared memory. In bug 1658847, we used to the
profiler's "thread sleep" mechanism to resolve the signal interrupts in
posix_fallocate, which requires the profiler to be initialized. As such,
CodeCoverageHandler now needs to be initialized after.

Differential Revision: https://phabricator.services.mozilla.com/D87747
2020-08-21 15:53:58 +00:00
Ryan VanderMeulen
58471989b3 Bug 1660483 - Update pdf.js to version 2.6.276. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D87879
2020-08-21 15:55:16 +00:00
Jonathan Kew
e58849d935 Bug 1660296 - Implement Get/SetNumCopies in the macOS print settings backend. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87880
2020-08-21 15:47:04 +00:00
Morgan Reschenberg
a37d79921f Bug 1658832: Add AXArticleSearchKey to MOXSearchInfo class. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D86869
2020-08-14 23:03:50 +00:00