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

744922 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 66c474fcb9 Bug 1692416 - Add a toolchain for arm64 mac cbindgen. r=firefox-build-system-reviewers,andi,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D104978
2021-02-12 22:28:02 +00:00
Mike Hommey a71a0d3090 Bug 1692416 - Add an alias to mac node toolchain. r=firefox-build-system-reviewers,dmajor
so that --enable-bootstrap=install can pull it on arm64 mac.

Differential Revision: https://phabricator.services.mozilla.com/D104977
2021-02-12 22:28:01 +00:00
Mike Hommey 6f9a7abe9b Bug 1692416 - Allow toolchain-alias to be a list. r=taskgraph-reviewers,firefox-build-system-reviewers,jmaher,mhentges
Original patch by Rob Lemley [:rjl], with a small simplification, and an
additional change to make `mach artifact toolchain` happy.

Original discussion in https://phabricator.services.mozilla.com/D66837

Differential Revision: https://phabricator.services.mozilla.com/D104976
2021-02-12 22:28:01 +00:00
Mike Hommey c4ae566143 Bug 1692416 - Allow --enable-bootstrap=install to look for aarch64 mac artifacts. r=firefox-build-system-reviewers,andi,dmajor
There aren't any currently, but it's coming in the following commits.

Differential Revision: https://phabricator.services.mozilla.com/D104975
2021-02-12 22:28:01 +00:00
Sebastian Hengst 47c58c274b Bug 1692595 - assign resistfingerprinting directories to Bugzilla component "Core :: Privacy: Anti-Tracking". r=timhuang DONTBUILD.
New intermittent bugs get filed into the bugzilla component defined in the
moz.build file.

Differential Revision: https://phabricator.services.mozilla.com/D105070
2021-02-12 21:53:18 +00:00
Kagami Sascha Rosylight 30ec71696c Bug 1692300 - Disable symlinking in dist/bin r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D104873
2021-02-12 21:50:15 +00:00
Mike Hommey d5812ccae9 Bug 1692418 - Upgrade cctools-port. r=firefox-build-system-reviewers,dmajor
The newer version optionally uses the ldid tool to fake-sign binaries on
arm64, which we pull and package together.

Differential Revision: https://phabricator.services.mozilla.com/D104973
2021-02-12 21:44:26 +00:00
Jan Varga 832c277718 Bug 1686031 - Fold QuotaInfo into OriginMetadata and rename QuotaInfo.h to OriginMetadata.h; r=dom-storage-reviewers,sg
Existing uses of OriginMetadata (with only mGroup and mOrigin) have been
adapted and they now always initialize mSuffix to an empty string.
Following patches will change it to real suffix if there's any.

Differential Revision: https://phabricator.services.mozilla.com/D104971
2021-02-12 21:43:42 +00:00
Mihai Alexandru Michis 9154148880 Backed out 4 changesets (bug 1690167) for causing cppunit failures in TestIntegerPrintfMacros.
CLOSED TREE

Backed out changeset 27dee66eba83 (bug 1690167)
Backed out changeset cfffb092a39f (bug 1690167)
Backed out changeset 87b2a2a66fd9 (bug 1690167)
Backed out changeset cac4879f50b4 (bug 1690167)
2021-02-13 00:07:00 +02:00
Mike Hommey ecfbd1076c Bug 1692390 - Skip the creation of a python2 virtualenv on arm64 mac. r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D104950
2021-02-12 21:31:10 +00:00
Sebastian Hengst a8b9b8ccc3 Bug 1692432 - set line-break-loose-hyphens-002.html as intermittent on Windows 7 opt. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D105063
2021-02-12 21:28:44 +00:00
Joel Maher 43d0329455 Bug 1678641 - add support to mozinfo for apple_silicon. r=releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D97767
2021-02-12 21:26:34 +00:00
Joel Maher 656ebe2d27 Bug 1572739 - duplicate linux talos tasks for both 1604 and 1804. r=sparky
duplicate linux talos tasks for both 1604 and 1804.

Differential Revision: https://phabricator.services.mozilla.com/D105053
2021-02-12 21:23:22 +00:00
Jamie Nicol bb557e823d Bug 1688705 - Block webrender on Mali-G72 and G76 on Android 11. r=aosmond
In bug 1688017 we blocked webrender on Mali-G76 devices due to reports
of crashes when playing video. Based on more reports by users and
further investigation of the crash data, it appears that Mali-G72 GPUs
are also affected by the same bug, but only on Android 11 (for both
GPUs). Crashes on other Mali GPUs and earlier android versions do
exist, but in much lower numbers.

Update the block to include G72 as well as G76, but only for Android
11.

Differential Revision: https://phabricator.services.mozilla.com/D105047
2021-02-12 21:18:34 +00:00
Tom Ritter 2f17e8f817 Bug 1689454 - Reenable moz_yaml python tests; r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D103374
2021-02-12 21:04:07 +00:00
Marco Bonardo be29ddf67e Bug 1692218 - Add Page Action Menu use counter prefs. r=harry
Also includes:
https://bugzilla.mozilla.org/show_bug.cgi?id=1692216
https://bugzilla.mozilla.org/show_bug.cgi?id=1692215

Differential Revision: https://phabricator.services.mozilla.com/D105033
2021-02-12 20:58:18 +00:00
Mihai Alexandru Michis 02e7dbde25 Bug 1690167 - Fix windows bustages. a=bustage-fix
CLOSED TREE
2021-02-12 23:00:44 +02:00
Calixte Denizet a0b66fc1c7 Bug 1602482 - Remove use of ___custom_llvm_gcov_flush r=marco,dmajor
Because of conflicts between gcov_flush from gcc and the one from llvm, we renamed llvm one into ___custom_llvm_gcov_flush.
Since we switched to clang for linux ccov builds, this workaround is now useless.

Differential Revision: https://phabricator.services.mozilla.com/D104990
2021-02-12 20:37:25 +00:00
Mike Hommey 5f86b697af Bug 1692137 - Allow local linux builds to use a bootstrapped sysroot. r=firefox-build-system-reviewers,andi,mhentges
Bug 1690930 added sysroots that can be bootstrapped. With this change,
we allow --enable-bootstrap=install to pull the right sysroot for the
configured target, and --enable-bootstrap to update it if it was already
there.

Differential Revision: https://phabricator.services.mozilla.com/D104797
2021-02-12 20:31:49 +00:00
Mike Hommey 2f408c9631 Bug 1692137 - Properly handle env=None passed to subprocess functions in configure. r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D104796
2021-02-12 20:31:49 +00:00
Iain Ireland bb4e518475 Bug 1688033: Support scalar replacement of ApplyArgsObj r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D104490
2021-02-12 20:28:48 +00:00
Iain Ireland 9f04a29671 Bug 1688033: Recover CreateArgumentsObject on bailout r=nbp
The original version of this patch only recovered CreateArgumentsObject on bailout if it didn't escape, but I removed that code based on discussion in #warpbuilder.

This code is tested by `/ion/dce-with-rinstructions.js`. Prior to this patch, it failed with `--scalar-replace-arguments`.

Differential Revision: https://phabricator.services.mozilla.com/D104489
2021-02-12 20:28:48 +00:00
Iain Ireland d342820d85 Bug 1688033: Support FunApplyArgsObj in Warp r=jandem
As much as possible, I based `LApplyArgsObj` on `LApplyArrayGeneric`.

I wrote the tests here by looking at existing `apply` testcases in `jit-tests/tests/arguments` and writing similar test cases where the arguments object escapes.

Differential Revision: https://phabricator.services.mozilla.com/D104488
2021-02-12 20:28:47 +00:00
Iain Ireland a5cabe37d2 Bug 1688033: Refactor PushElementsAsArguments r=jandem
Pushing the contents of the `args` array in an ArgumentsData (after we have guaranteed that there are no forwarded arguments) is almost the same as pushing the contents of an elements array, but with an additional offset. In preparation for the next patch, this patch refactors PushElementsAsArguments to take an offset, and changes names/comments accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D104487
2021-02-12 20:28:47 +00:00
Iain Ireland b8aa3bbc7f Bug 1688033: Add CallFlags::FunApplyArgsObj r=jandem
`pushFunApplyArgsObj` is roughly based on `pushArrayArguments`.

Differential Revision: https://phabricator.services.mozilla.com/D104486
2021-02-12 20:28:46 +00:00
Iain Ireland 62569e124d Bug 1688033: Add GuardArgumentsObjectFlags r=jandem
Instead of adding `GuardArgumentsObjectNotOverriddenElement` and `GuardArgumentsObjectNotForwardedArgument` to go with `GuardArgumentsObjectNotOverriddenIterator`, I collapsed them into a single op.

This may also be useful in the future for supporting `arguments.callee`.

Depends on D104484

Differential Revision: https://phabricator.services.mozilla.com/D104485
2021-02-12 20:28:46 +00:00
Iain Ireland d5fecbb0dc Bug 1688033: Add forwarded argument flag to ArgumentsObject r=jandem
Being able to test whether an ArgumentsObject has closed-over arguments by checking a flag instead of testing each argument makes future patches significantly simpler.

I considered just making closed-over arguments set ELEMENT_OVERRIDDEN_BIT, but this would make ArgumentsObjectArg fail if *any* argument was closed over, even if the specific argument we are loading is not.

Depends on D104483

Differential Revision: https://phabricator.services.mozilla.com/D104484
2021-02-12 20:28:46 +00:00
Iain Ireland 7159fa8127 Bug 1688033: Set hasOverriddenElement when deleting arguments r=jandem
The only places we check ELEMENT_OVERRIDDEN_BIT are in `GetPropIRGenerator::tryAttachArgumentsObjectArg` and `MacroAssembler::loadArgumentsObjectElement`. In both cases, we subsequently also check for deleted elements. We can remove the redundant check.

This is consistent with ArgumentsObject::obj_delProperty, which sets the other overridden bits when deleting the corresponding property.

Depends on D104482

Differential Revision: https://phabricator.services.mozilla.com/D104483
2021-02-12 20:28:45 +00:00
Iain Ireland 3b024950ff Bug 1688033: Rename FunApplyArgs to FunApplyMagicArgs r=jandem
Subsequent patches will introduce FunApplyArgsObj. I'm renaming FunApplyArgs to FunApplyMagicArgs in most places to make it easier to distinguish the two cases. (The exception is MApplyArgs/LApplyArgsGeneric, which I didn't rename because they can be produced by scalar replacement.)

Depends on D104481

Differential Revision: https://phabricator.services.mozilla.com/D104482
2021-02-12 20:28:45 +00:00
Iain Ireland 6405881e57 Bug 1688033: Handle arguments objects from other frames r=jandem
Unlike JS_OPTIMIZED_ARGUMENTS, which is not allowed to escape its own frame, an ArgumentsObject can be passed into a different function and cause us to attach a specialized stub. In general, this all works out well. However, it does mean that some assertions in `ArgumentsReplacer` are too conservative: even before we support inlining functions that use `arguments`, it is valid to have ArgumentsObject-specific MIR that does not use the `CreateArgumentsObject` we are replacing.

This patch fixes those assertions and adds some test coverage.

Differential Revision: https://phabricator.services.mozilla.com/D104481
2021-02-12 20:28:44 +00:00
Mike Hommey 47675f5460 Bug 1690167 - Change VsprintfLiteral/SprintfLiteral to rely on PrintfTarget. r=nika,Gankra,firefox-build-system-reviewers,mhentges
Instead of snprintf.

Because some standalone code uses those functions directly or indirectly,
and PrintfTarget lives in mozglue, they now need to depend on mozglue
instead of mfbt. Except logalloc/replay, which cherry-picks what it
uses.

Differential Revision: https://phabricator.services.mozilla.com/D103730
2021-02-12 20:21:50 +00:00
Mike Hommey 8207cffcad Bug 1690167 - Add support for the hh length modifier in Printf.cpp. r=nika,Gankra
Test cases from TestIntegerPrintfMacros will cover this in the next commit.

Differential Revision: https://phabricator.services.mozilla.com/D103729
2021-02-12 20:21:49 +00:00
Mike Hommey 6c2fd9938a Bug 1690167 - Move Sprintf.h and IntegerPrintfMacros.h next to Printf.h. r=jwalden
Which means they move from MFBT to mozglue.

Differential Revision: https://phabricator.services.mozilla.com/D103728
2021-02-12 20:21:49 +00:00
Andrew McCreight c9184addb2 Bug 1692341 - Enable more pushState tests with Fission. r=smaug
Also, remove an empty WPT ini file.

Differential Revision: https://phabricator.services.mozilla.com/D105058
2021-02-12 20:20:59 +00:00
Jonathan Kew 87b20ff958 Bug 1691719 - Optimize InitSystemFontNames when running on Catalina or later, where the .SFNS is a variable font with optical sizing. r=lsalzman
Depends on D105042

Differential Revision: https://phabricator.services.mozilla.com/D105044
2021-02-12 20:10:36 +00:00
Jonathan Kew 75d0bf426f Bug 1691719 - Don't explicitly activate supplemental fonts directory when building with pre-Catalina SDK, as the fonts are automatically made available. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D105042
2021-02-12 20:10:36 +00:00
Sean Feng 005d210179 Bug 1692199 - Make test_toJSON.html to not throw if EventCounts isn't defined r=smaug
Depends on D104872

Differential Revision: https://phabricator.services.mozilla.com/D105029
2021-02-12 20:02:15 +00:00
Sean Feng 52117ce9a4 Bug 1692199 - Performance object shouldn't create eventCounts when the pref is not set r=smaug,aryx
Upon the construction of `eventCounts`, a wrapper of it will be created
because we set the initial values to 0. This exposes the interface
despite the pref is not set.

Differential Revision: https://phabricator.services.mozilla.com/D104872
2021-02-12 20:02:15 +00:00
Dana Keeler 1d51c89cb5 Bug 1691650 - prefer AES on ARM devices with hardware support for AES r=bbeurdouche
Bug 1583610 modified the cipher suite ordering on ARM devices to prefer
ChaCha20/Poly1305 with the assumption that hardware support for AES wouldn't be
available. However, because there are ARM devices with hardware support for
AES, this patch makes this only happen when that support isn't available.

Differential Revision: https://phabricator.services.mozilla.com/D104897
2021-02-12 19:38:17 +00:00
Emilio Cobos Álvarez 951a0342d6 Bug 1692380 - The intrinsic min isize of the marquee scroller should be zero. r=dholbert
I couldn't come up with a way to effectively cause this effect with
regular CSS I could put in marquee.css... But this matches the legacy
xul behavior and the chrome behavior, which should be compatible.

This undoes a reftest expectation change I included in bug 1618584. Our
behavior in those tests before this patch matches Safari, but Safari
passes the test I'm adding on this bug, so it is somewhat inconsistent.

Differential Revision: https://phabricator.services.mozilla.com/D105045
2021-02-12 19:32:22 +00:00
Mihai Alexandru Michis 0a98aa9782 Backed out changeset d8095eaef5dc (bug 1691755) for causing bc failures in browser_viewsourceprefs.js
CLOSED TREE
2021-02-12 21:19:56 +02:00
harry b5753e9bd1 Bug 1692223 - Add Proton styles for the unfocused address bar. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D104898
2021-02-12 18:51:16 +00:00
Sebastian Hengst 13b8f0f445 Bug 1678588 - turn off facebook scroll (fb-scroll) perftests. r=sparky DONTBUILD
They were failing permanently since bug 1688494 landed.

Differential Revision: https://phabricator.services.mozilla.com/D105036
2021-02-12 18:36:19 +00:00
Gregory Mierzwinski 41b4528c8c Bug 1692467 - Disable controlled network performance tests. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D105040
2021-02-12 18:33:54 +00:00
Kagami Sascha Rosylight b97e032178 Bug 1691755 - Move view-source context menu items to nsContextMenu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104956
2021-02-12 18:31:47 +00:00
Butkovits Atila 90f209f9d1 Bug 1654971 - disable browser_toggleMode_2.js on mac os for frequent failures. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D104911
2021-02-12 18:21:19 +00:00
James Graham 3b80b039ed Bug 1691845 - Update metadata for counter-styles test, r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104708
2021-02-12 18:00:12 +00:00
Mike Conley 2687e4f918 Bug 1691152 - Apply latest Proton stylings to AppMenu. r=ewright
Depends on D104749

Differential Revision: https://phabricator.services.mozilla.com/D105027
2021-02-12 17:59:50 +00:00
Mike Conley 511394874d Bug 1690662 - Port the add-on and browser update banners to the Proton AppMenu. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D104749
2021-02-12 17:59:49 +00:00
Brendan Dahl 5ec0872fef Bug 1692140 - Fix talos test pdfpaint measurement. r=emilio,perftest-reviewers
Now that we delay the load event for pdf.js, the pagerendered event listener
was being added too late and we were catching the second page rendered event.
Also, add a check to ensure the page rendered is the first page.

Differential Revision: https://phabricator.services.mozilla.com/D104866
2021-02-12 17:34:06 +00:00