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

706159 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 7878a7088b Bug 1635431 - Part 2: Handle MIRType::Object through TypeFlags in MIRTypeToTypeFlags. r=jandem
`TypeSet::unknownObject()` checks if `TYPE_FLAG_UNKNOWN` or `TYPE_FLAG_ANYOBJECT`
is set, but since the previous call to `TypeSet::unknown()` already filters
`TYPE_FLAG_UNKNOWN`, we only need to care about `TYPE_FLAG_ANYOBJECT` here. When
we additionally set `TYPE_FLAG_ANYOBJECT` for the `baseObjectCount() != 0` case,
we can conflate the whole operation into a single bit-and instruction.

This will also simplify part 3.

Depends on D73884

Differential Revision: https://phabricator.services.mozilla.com/D73885
2020-05-06 06:07:47 +00:00
André Bargull 95d68378f4 Bug 1635431 - Part 1: Move MIRType to TypeFlags conversion into a helper function. r=jandem
Part 3 adds another caller to this function.

Differential Revision: https://phabricator.services.mozilla.com/D73884
2020-05-06 06:06:43 +00:00
André Bargull d726e087a2 Bug 1635395: Remove unused JSOp::CheckIsCallable byte code. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D73831
2020-05-06 08:53:27 +00:00
Bill Gianopoulos aebe7bbaed Bug 1634864 - xpidl.xpidl.IDLError: error: Unexpected parameter attribute. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D73543
2020-05-05 08:26:17 +00:00
David Teller f3f5332bbc Bug 1632794 - Bare bones about:processes;r=fluent-reviewers,florian,Pike
This is a very first iteration of about:processes, so that people who actually need the tool can start using it immediately and provide feedback.

Differential Revision: https://phabricator.services.mozilla.com/D72617
2020-05-06 10:03:47 +00:00
David Teller c31471641d Bug 1632794 - Expose full remoteType through ChromeUtils.requestProcInfo;r=tarek
The current `type` field doesn't expose all information such as the origin. Let's fix this.

Differential Revision: https://phabricator.services.mozilla.com/D72616
2020-05-06 10:03:45 +00:00
Dragana Damjanovic 489366325b Bug 1505500 - Declared a static variable 'cntActivate' as a counter in Http2Session class. The counter is incremented in TryToActivate function. r=dragana,necko-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D15929
2020-05-06 09:54:55 +00:00
Narcis Beleuzu c7bd6b6298 Backed out changeset e9afce8fbf79 (bug 1635472) for mochitest failures on test_group_zoom.html . CLOSED TREE 2020-05-06 13:38:53 +03:00
Narcis Beleuzu cdf603f65b Backed out 2 changesets (bug 1632794) for build bustages on ChromeUtils.cpp . CLOSED TREE
Backed out changeset 846b78435f92 (bug 1632794)
Backed out changeset 937d7ef96c5d (bug 1632794)
2020-05-06 13:00:15 +03:00
Mike Hommey 87df0b2d72 Bug 1634204 - Upgrade Linux build docker images to Debian 8. r=froydnj
This gets rid for the need of a number of local packages (mostly related
to Gtk+3). One exception is that we now need a 32-bits version of the
xz-utils package, some -dev package depends on it, and that dependency
can't be fulfilled in the 32-bits image because we already have the
64-bits backport installed, which conflicts with it (we need both
32-bits and 64-bits package to be at the same version when installed).

The system binutils fails to link clang-7 for some reason, so we now use
our toolchain binutils instead, like we already do for newer versions of
clang.

The debian-packages docker image now needs an explicit installation of
git, because it's not pulled in via the recommends of some other
package.

For some reason, snapshot.debian.org doesn't contain the jessie-backports
archive at the same location as others, and only has a few snapshots of
the archive.

Differential Revision: https://phabricator.services.mozilla.com/D73784
2020-05-06 07:35:52 +00:00
Emilio Cobos Álvarez e8deb1ea7a Bug 1311444 - Disable outline-style: auto rendering on themed widgets, and use it for elements for which we otherwise disable outlines by default. r=Jamie,jfkthame
This guarantees outline indicators for these elements even if not
natively styled.

Differential Revision: https://phabricator.services.mozilla.com/D73856
2020-05-06 09:48:31 +00:00
Emilio Cobos Álvarez 6b5242fa05 Bug 1311444 - Disable some undesired outlines in the front-end. r=dao
These elements handle focus on their own. They're right now not
having outlines because they specify background-color, which disables
theming, but that is about to change.

Differential Revision: https://phabricator.services.mozilla.com/D73855
2020-05-05 23:18:35 +00:00
Emilio Cobos Álvarez 0d476766fc Bug 1365806 - Make scrollbars not impose a minimum size on the scroller. r=dholbert
Also, don't suppress scrollbars if the scrollport is less than their
length, as that can happen after this patch :)

Differential Revision: https://phabricator.services.mozilla.com/D73395
2020-05-06 09:46:20 +00:00
Mike Hommey 80a6fcc625 Bug 1635671 - Upgrade typename to 1.12.0. r=emilio
When building in some configurations of rustc (e.g. i386 without SSE), building Firefox fails with, among other things:
```
error[E0428]: the name `U1024` is defined multiple times
```

This comes from the typenum library. The issue was fixed in 14a3322d10, so all it takes is an upgrade of the crate.

Differential Revision: https://phabricator.services.mozilla.com/D74005
2020-05-06 09:36:53 +00:00
Emilio Cobos Álvarez 1e934bc543 Bug 1634569 - Remove hackaround for bug that can no longer happen. r=masayuki
This seems to come from bug 618907, which seems to be a hack-around code
that went away in bug 1595435.

If we open a window on mousedown such as it gains focus before this code
runs, we just steal the focus from it, which is undesired.

Also remove the test for bug 799299. It doesn't work anyways if the
browser is remote (this test only runs on non-e10s mode), and this
unifies the behavior with e10s and with content (see attached test-case,
which doesn't change behavior with and without my patch).

Differential Revision: https://phabricator.services.mozilla.com/D73901
2020-05-06 06:18:13 +00:00
Jan-Erik Rediger 50335b6776 Bug 1632162 - Use correct time unit for event timestamps. r=chutten
Events are timestamped to millisecond precision only, so we need to trim
down our clock source a bit.
This also renames the previously used function to make it more clear
(even though an "instant" doesn't really have a unit, so our analogy is
breaking down)

Differential Revision: https://phabricator.services.mozilla.com/D73793
2020-05-05 19:05:28 +00:00
Jan-Erik Rediger 494496e368 Bug 1632162 - Implement the event metric type for Project FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D73680
2020-05-05 14:30:31 +00:00
Mike Hommey 10f138dc45 Bug 1635695 - Upgrade dump-syms to 0.0.5. r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D74014
2020-05-06 08:35:56 +00:00
David Teller 985b3f945a Bug 1632794 - Bare bones about:processes;r=fluent-reviewers,florian,Pike
This is a very first iteration of about:processes, so that people who actually need the tool can start using it immediately and provide feedback.

Differential Revision: https://phabricator.services.mozilla.com/D72617
2020-05-05 22:19:44 +00:00
David Teller ab091e0ddf Bug 1632794 - Expose full remoteType through ChromeUtils.requestProcInfo;r=tarek
The current `type` field doesn't expose all information such as the origin. Let's fix this.

Differential Revision: https://phabricator.services.mozilla.com/D72616
2020-05-05 22:41:00 +00:00
Andy Wingo a9303d9bd2 Bug 1628321 - Ship support for WebAssembly multi-value proposal r=lth
The configure option is now --disable-wasm-multi-value, rather than
--enable-wasm-multi-value.

Differential Revision: https://phabricator.services.mozilla.com/D72307
2020-04-27 11:12:06 +00:00
Narcis Beleuzu d262ef72aa Backed out changeset 9da3ff68132f (bug 1632160) for bc failures on browser_bug1045809.js . CLOSED TREE 2020-05-06 12:12:59 +03:00
Nicolas Silva 9dc394e081 Bug 1635472 - Move the displayport by 512 increments with WebRender. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D73914
2020-05-05 23:09:32 +00:00
Jan de Mooij 4b3230f224 Bug 1635375 - Add a buildIC method to WarpBuilder that handles both transpiling and Ion IC cases. r=iain
Having all logic for an IC site in WarpBuilder::buildIC will make it easier to
make future changes (like bailing out for cold Baseline ICs). It also enforces
all ICs are handled consistently and it de-duplicates code for JSOps that use
the same CacheKind.

This patch also adds transpiler support for some JSOps (In, InstanceOf, etc) and
we now assert the transpiler (buildIC) is called with the right number of inputs
(based on the CacheKind).

Differential Revision: https://phabricator.services.mozilla.com/D73811
2020-05-06 07:58:39 +00:00
Jon Coppeard c4c65f1eaf Bug 1635087 - Add accessors to get get the zone from a possibly-nursery-allocated cell r=sfink
This also adds nurseryZone() for when the cell is known to be allocated in the nursery.

Differential Revision: https://phabricator.services.mozilla.com/D73865
2020-05-06 07:55:19 +00:00
Jon Coppeard 43e1d71117 Bug 1635087 - Store a header before nursery allocated objects too r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D73864
2020-05-06 07:55:01 +00:00
Jon Coppeard 16c20e9630 Bug 1635087 - Don't pass alloc kind into nursery allocation methods r=sfink
This isn't used for anything except GC probes. Replace this with TraceKind which will be used by future patches.

Differential Revision: https://phabricator.services.mozilla.com/D73863
2020-05-06 07:54:59 +00:00
Jon Coppeard 6d85d12daa Bug 1635087 - Create a NurseryCellHeader structure r=sfink
This adds a struct for the nursery cell header and uses it for string and big int allocation. It's in gc/Heap.h because it will eventually used by Cell.h which doesn't include Nursery.h.

Differential Revision: https://phabricator.services.mozilla.com/D73862
2020-05-06 07:54:03 +00:00
Jon Coppeard bf3f7e1fe1 Bug 1635087 - Refactor nursery allocation a little r=sfink
This factors out advancing to the next chunk and writing the nursery canary from the main allocation function and also uses alignas for making sure the canary is aligned.

Differential Revision: https://phabricator.services.mozilla.com/D73861
2020-05-06 07:53:35 +00:00
Bob Owen c86a9b6e30 Bug 1632583: Only register taskbar button creation message in the parent process. r=aklotz
This also removes XRE_Win32kCallsAllowed and replaces its other use.

Differential Revision: https://phabricator.services.mozilla.com/D73909
2020-05-05 16:11:44 +00:00
Frederik Braun 1fcb39e3a3 Bug 1633374 - disallow eval in parent process r=ckerschb,tjr
Changing isEvalAllowed to default to false in nightly builds.
As a ride-along, we adjust how we get the script filename
for telemetry, to get better results.

Differential Revision: https://phabricator.services.mozilla.com/D72644
2020-05-05 14:57:53 +00:00
Narcis Beleuzu 845e286da1 Backed out changeset b4d73278792e (bug 1634204) as per glandium req. 2020-05-06 10:33:08 +03:00
Mike Hommey 80e8586858 Bug 1634204 - Upgrade Linux build docker images to Debian 8. r=froydnj
This gets rid for the need of a number of local packages (mostly related
to Gtk+3). One exception is that we now need a 32-bits version of the
xz-utils package, some -dev package depends on it, and that dependency
can't be fulfilled in the 32-bits image because we already have the
64-bits backport installed, which conflicts with it (we need both
32-bits and 64-bits package to be at the same version when installed).

The system binutils fails to link clang-7 for some reason, so we now use
our toolchain binutils instead, like we already do for newer versions of
clang.

The debian-packages docker image now needs an explicit installation of
git, because it's not pulled in via the recommends of some other
package.

For some reason, snapshot.debian.org doesn't contain the jessie-backports
archive at the same location as others, and only has a few snapshots of
the archive.

Differential Revision: https://phabricator.services.mozilla.com/D73784
2020-05-06 04:56:14 +00:00
Christoph Kerschbaumer 3bf440d570 Bug 1632160: Remove GetAllowMixedContentAndConnectionData from nsIDocShell and expose similar functionality on BrowsingContext. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D72901
2020-05-06 07:15:40 +00:00
Chris Peterson d0449145ba Bug 1635011 - Bump fallback Android version from 6.0.99 to 10.0.99. r=geckoview-reviewers,agi
Chromium's current fallback ("default") Android version is 10.0.99, which is the latest Android major version number with a bugfix patch version number higher than any expected actual release:

https://source.chromium.org/chromium/chromium/src/+/master:base/system/sys_info_android.cc;l=63-69;drc=6d9b68de0b0fb9a64a7bd2d2b6da49f1eaacec43

Depends on D73593

Differential Revision: https://phabricator.services.mozilla.com/D73594
2020-05-05 16:53:45 +00:00
Chris Peterson 85df023641 Bug 1635011 - Upgrade resistFingerprinting's spoofed Android CPU architecture from "armv7l" to "aarch64". r=tjr,geckoview-reviewers,agi
The device's CPU architecture is not exposed in Gecko's (or Chrome's or Safari's) User-Agent string, but it can be read by JavaScript via the navigator.oscpu and navigator.platform APIs.

CPU architecture telemetry for Fenix users as of May 2020:

80.4% arm64-v8a (aarch64)
17.2% armeabi-v7a (armv7)
 2.4% x86?

https://sql.telemetry.mozilla.org/queries/64381#164300

CPU architecture telemetry for Fennec users as of May 2020:

64.57% arm64-v8a (aarch64)
34.24% armeabi-v7a (armv7)
 0.99% x86
 0.20% x86_64

https://sql.telemetry.mozilla.org/queries/68742

Depends on D73592

Differential Revision: https://phabricator.services.mozilla.com/D73593
2020-05-05 16:41:38 +00:00
Chris Peterson efdf74fa3a Bug 1635011 - Bump resistFingerprinting's spoofed Android version from 8.1 to 9. r=tjr,geckoview-reviewers,agi
The most common Android versions among Fennec users as of May 2020 are:

32.02% Android 9 Pie (API 28)
19.41% Android 10 (API 29)
 9.28% Android 8.0 Oreo (API 26)
 8.99% Android 7.0 Nougat (API 24)
 8.24% Android 8.1 Oreo (API 27)

https://sql.telemetry.mozilla.org/queries/57140

The most common Android versions overall as of April 2020 are:

37.40% Android 9 Pie (API 28)
16.12% Android 10 (API 29)
11.29% Android 8.1 Oreo (API 27)
 7.37% Android 8.0 Oreo (API 26)
 6.24% Android 7.0 Nougat (API 24)
 ...

https://gs.statcounter.com/android-version-market-share/mobile-tablet/worldwide/#monthly-201903-202004

Android 10 is the latest version and is steadily converting Android 9 users, but I think we should spoof Android 9 because it's still the most common version and will likely remain so until the end of 2020.

Depends on D73591

Differential Revision: https://phabricator.services.mozilla.com/D73592
2020-05-05 16:39:48 +00:00
Chris Peterson e58f387630 Bug 1635011 - Bump resistFingerprinting's spoofed macOS version from 10.14 to 10.15. r=tjr
The most common macOS version as of April 2020 is macOS 10.15 at 48.98%:

https://gs.statcounter.com/macos-version-market-share/desktop/worldwide/#monthly-201903-202004

Based on previous macOS release schedules, macOS 10.16 will likely be released in September 2020 and overtake 10.15's market share in December 2020:

https://gs.statcounter.com/macos-version-market-share/desktop/worldwide/#quarterly-201801-202002

Differential Revision: https://phabricator.services.mozilla.com/D73591
2020-05-05 05:38:04 +00:00
Nicolas Chevobbe 38d3c033ab Bug 1631728 - Test that the context selector reacts to a target being destroyed. r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D71732
2020-05-06 03:26:55 +00:00
Kannan Vijayan c6a3717c0e Bug 1635505 - Change signature of FunctionFlags::isNamedLambda to take a boolean instead of a JSAtom-pointer. r=caroline,tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D73917
2020-05-06 04:31:40 +00:00
Csoregi Natalia dc4560dcaa Backed out changeset 2bf3343d2994 (bug 1634204) as per request. CLOSED TREE 2020-05-06 07:24:07 +03:00
Csoregi Natalia d68addcbf2 Backed out changeset 44a166a4efdb (bug 1555255) for causing bustage of android-sdk-linux because the docs package doesn't exist anymore. CLOSED TREE 2020-05-06 07:12:30 +03:00
Mike Hommey 2d66cac936 Bug 1634204 - Drive-by adjustment to Debian docker images. r=froydnj
While we're going to rebuild all the Debian-based docker images, we
might as well add one corrective thing that is going to be required
later on, and would require another rebuild, while doing it now would
skip that.

On Debian 10, the python3 distutils module is in a separate package,
python3-distutils, which didn't exist in previous Debian releases,
because back then the distutils module was part of the python3 package.

Fortunately, the python3-distutils-extra package existed on all the
Debian versions we use and depends on the distutils module, so it is a
convenient way to have the python3-distutils package pulled in without
altering the list of packages to install based on the Debian version.

Differential Revision: https://phabricator.services.mozilla.com/D73785
2020-05-05 12:13:40 +00:00
Mike Hommey d0b2cc67af Bug 1634204 - Upgrade Linux build docker images to Debian 8. r=froydnj
This gets rid for the need of a number of local packages (mostly related
to Gtk+3). One exception is that we now need a 32-bits version of the
xz-utils package, some -dev package depends on it, and that dependency
can't be fulfilled in the 32-bits image because we already have the
64-bits backport installed, which conflicts with it (we need both
32-bits and 64-bits package to be at the same version when installed).

The system binutils fails to link clang-7 for some reason, so we now use
our toolchain binutils instead, like we already do for newer versions of
clang.

The debian-packages docker image now needs an explicit installation of
git, because it's not pulled in via the recommends of some other
package.

For some reason, snapshot.debian.org doesn't contain the jessie-backports
archive at the same location as others, and only has a few snapshots of
the archive.

Differential Revision: https://phabricator.services.mozilla.com/D73784
2020-05-05 12:13:27 +00:00
Mike Hommey 435b446654 Bug 1634204 - Bump glibc and libstdc++ runtime requirement to resp. 2.17 and 3.4.19 (4.8.1). r=froydnj
Combined with the upcoming upgrade of the build environment to Debian 8,
which is also going to upgrade the Gtk+3 requirement to 3.14, of the
major Linux distros Firefox currently supports running on, this removes
runtime support for:
- Fedora 20 and earlier (EOLed in 2015),
- OpenSUSE 13.1 and earlier (EOLed in 2016),
- Debian 7 (EOLed in 2018),
- Ubuntu 14.04 (EOLed in 2019).

Some of them might actually be supported in practice because the Gtk+3
requirement might be more relaxed than 3.14, but figuring that out is not
worth the effort.

Differential Revision: https://phabricator.services.mozilla.com/D73783
2020-05-06 02:41:20 +00:00
Mike Hommey 5cef88b2f1 Bug 1634204 - Allow newer versions of symbols if they are weakly linked. r=froydnj
We currently check that the binaries we ship are not using symbol
versions of system libraries that would not be available on some older
systems. In some cases, however, we may get dependencies on newer symbol
versions in the form of weak symbols, that are checked for at runtime.
This happens with __cxa_thread_atexit_impl when building against a glibc
newer than 2.18, and the supporting code in Rust libstd actually checks
at runtime whether the weak symbol is resolved before using it.

Differential Revision: https://phabricator.services.mozilla.com/D73782
2020-05-06 02:00:13 +00:00
Mike Hommey 3d64f74464 Bug 1634204 - Update Debian-based docker images to a newer snapshot. r=froydnj
20190228 is the last snapshot of Debian wheezy available on dockerhub.

Differential Revision: https://phabricator.services.mozilla.com/D73781
2020-05-05 12:15:35 +00:00
Steve Fink be7c1fc600 Bug 1633625 - Move FrameTimer to ui.js since the "tests" are still exclusive to the web UI for now r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D72984
2020-05-06 02:43:57 +00:00
Steve Fink 40aa14ad66 Bug 1633625 - Move load management into a global AllocationLoadManager r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D72963
2020-05-06 02:43:55 +00:00
Steve Fink 6a8d572770 Bug 1633625 - Split out shared benchmark harness from HTML UI. Summary metric computation is still in the UI for now. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D72961
2020-05-06 02:43:47 +00:00