Commit Graph

723233 Commits

Author SHA1 Message Date
Dão Gottwald
b393a28c08 Bug 1657083 - Make sendTopSiteAttributionRequest optional. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D87599
2020-08-20 14:46:11 +00:00
Lars T Hansen
42ff6e7fd3 Bug 1656229 - move unused SIMD code. r=jseward
This separates unused SIMD code (from asm.js) from code that's being
actively maintained by placing out-of-line definitions in a new file,
and creating separate sections in the header for the declarations and
in-line definitions.

The code is included in the build so that it doesn't go completely
stale, but this is not technically required.

Differential Revision: https://phabricator.services.mozilla.com/D87307
2020-08-20 14:43:13 +00:00
Lars T Hansen
a64bb98703 Bug 1656229 - replace a computation by a constant load. r=jseward
This is technical debt from the initial SIMD work - it's faster to load a
constant here than to compute it.  Benchmark data not forthcoming, but
elsewhere i've found that we break even at two instructions and it's
better to load the value than to compute it in three.

Differential Revision: https://phabricator.services.mozilla.com/D87306
2020-08-20 14:43:04 +00:00
Lars T Hansen
889191a3c7 Bug 1656229 - Use scratch scopes for v128. r=jseward
Always use ScratchSimd128Scope to claim ScratchSimd128Reg.

The only hard part is that the register was claimed deep in the
assembler in what appears to be a late non-AVX bugfix to work around
the fact that compare operations are not three-address on non-AVX.

I fixed this by making compare operations two-address and moving the
code that shuffles registers for this case into the macroassembler,
where the scratch can be claimed correctly.

As a result, we have less support for AVX, but since AVX is not
supported or tested this does not actually matter.  A MOZ_CRASH
ensures we'll run into this if testing with AVX.

Another couple of similar cases elsewhere have similar local fixes:
MOZ_CRASH for AVX, two-address code for the normal case.

Differential Revision: https://phabricator.services.mozilla.com/D87284
2020-08-20 14:42:49 +00:00
ffxbld
5e4f839c65 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D87750
2020-08-20 14:26:06 +00:00
Butkovits Atila
5c5df0b663 Backed out changeset 24d6087acc64 (bug 1658821) for build bustage at SessionHistoryEntry.cpp. CLOSED TREE 2020-08-20 17:37:53 +03:00
Lars T Hansen
8687d7549f Bug 1659667 - expect less specific NaN values. r=bbouvier
These test cases expected specific payloads for some NaN results but
the wasm spec does not guarantee that, and some implementations of
some architectures will not return the same payloads as x64.  So
adjust the tests.

Differential Revision: https://phabricator.services.mozilla.com/D87455
2020-08-20 14:08:40 +00:00
Henrik Skupin
1106232b74 Bug 1651542 - Force font cache generation for ubuntu1804-test docker image. r=jmaher
Fixing the font cache issue the 3rd time now by just running "fc-cache" as the worker user should hopefully fix it for real, and no longer be regressed by some docker image changes.

The Puppeteer jobs will keep the 15s startup timeout for Firefox, so that we could detect another fallout again.

Differential Revision: https://phabricator.services.mozilla.com/D87745
2020-08-20 13:22:26 +00:00
Mark Striemer
8868b0a90c Bug 1660162 - Don't add .pdf when printing to PDF if it's already set r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D87685
2020-08-20 05:51:10 +00:00
Emilio Cobos Álvarez
cdbf0acf31 Bug 1660214 - Use CreatesDateTimeWidget() in two other places. r=smaug
I had missed these two. The NUMBER condition is dead (we early-return in
IsSingleLineTextControl above).

Differential Revision: https://phabricator.services.mozilla.com/D87721
2020-08-20 12:53:18 +00:00
Mark Banner
ed5ad0b344 Bug 1660196 - Add Search Engine URLs for experiment. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D87746
2020-08-20 13:31:50 +00:00
Cristina Coroiu
2db7b63b42 Backed out changeset c1527aeaa9d1 (bug 1652013) for bc failures at toolkit/components/aboutprocesses/tests/browser/browser_aboutprocesses.js 2020-08-20 16:35:42 +03:00
Jan Varga
56128d1bfc Bug 1658324 - Convert most of the error handling in QuotaManager::EnsureStorageIsInitialized to QM_TRY/QM_TRY_VAR; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D86560
2020-08-20 13:32:21 +00:00
Jens Hausdorf
d242cd148a Bug 1660216 - Fix formatting of ContentSecurityManager logging r=freddyb,baku
Differential Revision: https://phabricator.services.mozilla.com/D87731
2020-08-20 13:17:42 +00:00
Mark Banner
0542586f06 Bug 1656220 - Implement recording attributions for search engines. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D87501
2020-08-20 12:58:23 +00:00
Mark Banner
87e0ce2ae4 Bug 1656219 - Allow search configuration to specify an engine should report to an attribution URL. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D87473
2020-08-20 11:24:13 +00:00
Olli Pettay
cd47973905 Bug 1658821 - Move Id from SessionHistoryInfo to LoadingSessionHistoryInfo, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D86864
2020-08-20 12:02:17 +00:00
Christian Holler
ec8a8733c1 Bug 1658013 - Add missing suppression for JS GC race. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D87738
2020-08-20 12:42:21 +00:00
Benjamin Bouvier
a9f55ae7c8 Bug 1657561: Fix wasm arguments processing logic for shared memory; r=lth
The flag setting in the ModuleEnv if shared memory is available was using the
wrong predicate. In addition to looking at if shared memory is effectively
enabled, it should also look at whether we're fuzzing or not.

This fixes crashes that happen only when fuzzing, that is, running the shell
with --wasm-compiler=cranelift --fuzzing-safe.

Differential Revision: https://phabricator.services.mozilla.com/D87739
2020-08-20 12:43:18 +00:00
Nicolas Silva
b5919b16d2 Bug 1659990 - Add a profiler preset for gfx. r=julienw,jnicol
Differential Revision: https://phabricator.services.mozilla.com/D87590
2020-08-20 10:13:26 +00:00
Butkovits Atila
bf6a58f1fd Backed out changeset 31c2c9d7bad3 (bug 1657083) for failure at TopSitesFeed.jsm. CLOSED TREE 2020-08-20 15:04:07 +03:00
Emilio Cobos Álvarez
54b5a9f5f5 Bug 1659457 - Do clone xml-pretty-printer's UA widget. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D87714
2020-08-20 11:29:45 +00:00
Dão Gottwald
cd26f4e727 Bug 1657083 - Make sendTopSiteAttributionRequest optional. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D87599
2020-08-20 11:25:33 +00:00
James Teh
18d9c07c0b Bug 1622995: Expose video controls to a11y even when visually hidden. r=MarcoZ,Gijs,heycam
This required a change to vtt.jsm because it previously used clientHeight to determine whether the controls were showing.
Now that the controls are visually hidden but not display: none, that doesn't work because clientHeight can be > 0 even when the controls are visually hidden.
The hidden attribute is now used instead.

Differential Revision: https://phabricator.services.mozilla.com/D87403
2020-08-20 09:06:09 +00:00
Sonia Singla
ab58d76d40 Bug 1652013 - Reorder columns in about:processes. r=Yoric,fluent-reviewers,flod,florian
Differential Revision: https://phabricator.services.mozilla.com/D86348
2020-08-20 11:18:11 +00:00
Emilio Cobos Álvarez
711e7aa60e Bug 1659718 - Bail out when collecting invalidations for nested rules if any of them make us fully invalid. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87446
2020-08-20 10:45:42 +00:00
Cristina Coroiu
3a18ab95b5 Backed out 2 changesets (bug 1656220, bug 1656219) for browser-chrome failures at browser_UsageTelemetry_urlbar.js and browser_oneOffs.js on a CLOSED TREE
Backed out changeset bf68aec38a05 (bug 1656220)
Backed out changeset 706d2900077b (bug 1656219)
2020-08-20 14:15:07 +03:00
Butkovits Atila
850817430e Backed out 3 changesets (bug 1658874, bug 1658324, bug 1659660) for bustage at ActorsParent.cpp. CLOSED TREE
Backed out changeset b69e256013a3 (bug 1659660)
Backed out changeset 4939692a9047 (bug 1658874)
Backed out changeset e27fb7cd29fe (bug 1658324)
2020-08-20 13:57:20 +03:00
Mark Banner
21253cfa1a Bug 1656220 - Implement recording attributions for search engines. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D87501
2020-08-20 09:06:59 +00:00
Mark Banner
880b44d654 Bug 1656219 - Allow search configuration to specify an engine should report to an attribution URL. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D87473
2020-08-20 07:43:10 +00:00
Jan Varga
f66e9112b5 Bug 1659660 - Improve documentation and testing for mozilla::Result::map and mozilla::Result::mapErr; r=froydnj,dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D87414
2020-08-20 09:22:09 +00:00
Jan Varga
33dc9faddb Bug 1658874 - Change return type of QuotaManager::CreateLocalStorageArchiveConnection to Result<V, E>; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D86913
2020-08-20 08:52:34 +00:00
Mark Striemer
9fc45b0cdf Bug 1660064 - Use subdocument info when saving a subdocument to PDF r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87690
2020-08-20 09:21:07 +00:00
Duncan Dean
d99484e5ff Bug 1620162 - Upgrade eslint-plugin-jest and fix new lint errors. r=bomsy,Standard8
Currently the `jest/no-standalone-expect` rule needs to be disabled for `jest-in-case` cases blocks as it is not compatible.

Differential Revision: https://phabricator.services.mozilla.com/D87184
2020-08-20 08:52:42 +00:00
Jared Wein
98009bde06 Bug 1659970 - Fix call to renamed getChildCountForFolder method. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87684
2020-08-20 08:56:10 +00:00
Jon Coppeard
f325666338 Bug 1659151 - Mark wrapper rooters in mark slice if we might start sweeping in this slice r=sfink
The idea behind removing marking of wrapper rooters from the mark phase is OK
except we rely on marking being done by the time we start sweeping (we can't
yield between the end of marking and the start of sweeping) and if we delay
marking these wrappers until the sweep phase we may end up with marking work to
do at this point.

The fix is to mark these in mark slices that may end up sweeping (mostly this
doesn't happen because we yield before we start sweeping). Then the marking
gets done by markUntilBudgetExhausted before we get to the sweep phase.

Differential Revision: https://phabricator.services.mozilla.com/D87459
2020-08-19 14:29:13 +00:00
Nicolas Silva
82a807015c Bug 1660017 - Remove is_well_formed_and_nonempty. r=gw
We don't need it anymore now that Rect::is_empty catches negative values and NaN.

Differential Revision: https://phabricator.services.mozilla.com/D87601
2020-08-20 02:43:05 +00:00
Daniel Holbert
335b4750cb Bug 1660166 part 3: Remove a redundant member-variable that represents the total number of pages. r=hiro
Before this patch stack, nsPageSequenceFrame and every nsPageFrame each
individually tracked the number of pages.

As of the previous patch, we've coalesced the nsPageFrame variables into a
single variable that lives on nsSharedPageData.  This patch here replaces
nsPageSequenceFrame's member-var with that nsSharedPageData variable, too.

Depends on D87696

Differential Revision: https://phabricator.services.mozilla.com/D87697
2020-08-20 06:16:04 +00:00
Daniel Holbert
b39ca4f982 Bug 1660166 part 2: Let nsPageFrame determine its own page number, and store total number of pages in one central spot. r=hiro
Depends on D87695

Differential Revision: https://phabricator.services.mozilla.com/D87696
2020-08-20 06:12:33 +00:00
Daniel Holbert
16dd33822d Bug 1660166 part 1: In PrintedSheetFrame's reflow loop, cast the child frame to nsPageFrame (which is the concrete type that we know it has). r=hiro
We already do this static_cast'ing before this patch, for a single
nsPageFrame-specific method call.  This patch just captures the result of that
static_cast in a reusable variable, so that I can easily add another
nsPageFrame-specific function call in the next patch of this patch series.

(We can be confident this casting is valid, because we only ever give
PrintedSheetFrame this one type of child frame.)

Differential Revision: https://phabricator.services.mozilla.com/D87695
2020-08-20 06:12:32 +00:00
Nicolò Ribaudo
dfd18c189d Bug 1659996 - Remove unused hasArrayHoleOrSpread in ListNode (in ParseNode.h) r=arai
While working on https://phabricator.services.mozilla.com/D87586 I noticed that the hasArrayHoleOrSpread flag is set but it's never used.

Searchfox: https://searchfox.org/mozilla-central/search?q=hasArrayHoleOrSpread&path=&case=false&regexp=false

Differential Revision: https://phabricator.services.mozilla.com/D87592
2020-08-20 07:43:01 +00:00
Jan Varga
21c2588147 Bug 1658324 - Convert most of the error handling in QuotaManager::EnsureStorageIsInitialized to QM_TRY/QM_TRY_VAR; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D86560
2020-08-20 07:32:05 +00:00
Nicolas Silva
ca5114c040 Bug 1660034 - Enable the low priority worker pool on Mac. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D87617
2020-08-20 02:43:04 +00:00
Julian Descottes
bb0644bffb Bug 1659866 - Set a default value for target-browsers from the client r=daisuke
Depends on D87611

Differential Revision: https://phabricator.services.mozilla.com/D87621
2020-08-19 22:35:46 +00:00
Julian Descottes
8853c00813 Bug 1659866 - Move server-side devtools pref for Compatibility panel to modules/libpref/init/all.js r=daisuke
Depends on D87603

Differential Revision: https://phabricator.services.mozilla.com/D87611
2020-08-19 22:34:22 +00:00
Julian Descottes
6d8328f6c0 Bug 1659866 - Add a setter for isTopLevelDocument on Node Front for backward compatibility r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D87603
2020-08-19 22:33:45 +00:00
Erik Nordin
b81a2922ac Bug 1658299 - Part 1: Add createDefaultSettings() to nsIPrinter for CUPS r=jwatt,emilio,geckoview-reviewers,owlish
This patch adds a createDefaultSettings() method to nsIPrinter to
initialize a default print settings object specific to that printer.
It implements the functionality for Linux and macOS but adds only stubs
for Windows.

Differential Revision: https://phabricator.services.mozilla.com/D87125
2020-08-20 06:11:08 +00:00
Jean-Yves Avenard
34ffcfae65 Bug 1660107 - Set proper mimetype. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D87677
2020-08-20 01:29:48 +00:00
Mark Striemer
25d8e7dcb2 Bug 1660061 - Update print preview using the preview browser r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87655
2020-08-20 03:24:46 +00:00
Cosmin Sabou
d54210d490 Backed out changeset 4d700219feab (bug 1571247) for xpcshell failures on test_getMIMEInfo_pdf.js. CLOSED TREE 2020-08-20 06:20:21 +03:00