846582 Commits

Author SHA1 Message Date
Jeff Muizelaar
b0be30319d Bug 1839782 - Only serialize dashOfffset if we have a dashPattern. r=lsalzman
This should save a little bit of serialization space on SP3

Differential Revision: https://phabricator.services.mozilla.com/D181718
2023-06-22 13:32:56 +00:00
André Bargull
7ef9eaec10 Bug 1839828 - Part 2: Exclude Temporal staging tests which require Intl support. r=spidermonkey-reviewers,mgaudet
Skip tests which require support for calendars other than the ISO-8601 calendar.

Depends on D181745

Differential Revision: https://phabricator.services.mozilla.com/D181746
2023-06-22 13:21:21 +00:00
André Bargull
c8e1a118f9 Bug 1839828 - Part 1: Reimport test262 to enable Temporal tests. r=spidermonkey-reviewers,mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D181745
2023-06-22 13:21:19 +00:00
Rob Wu
762fa78438 Bug 1811608 - Set inputHandling in browser/pageAction.onClicked on Android +tests r=extension-reviewers,amejiamarmol,geckoview-reviewers,willdurand
Set `inputHandling: true` in the onClicked event of the
action/browserAction and pageAction APIs, and add tests.

Besides the usual coverage for the feature here, this patch also
introduces the only Android test for the `page_action.show_matches`
manifest key and the `pageAction.isShown` API. These APIs were already
covered by desktop-specific tests in browser/, but had zero test
coverage on Android. Since toolkit mochitests are run on desktop and
Android, this provides better cross-browser coverage.

Differential Revision: https://phabricator.services.mozilla.com/D181012
2023-06-22 13:19:29 +00:00
Julien Cristau
fd34ec3f74 Bug 1839815 - fix installer attribution tasks for esr. r=releng-reviewers,taskgraph-reviewers,bhearsum DONTBUILD
We don't build a stub installer on esr so we shouldn't try to add
attribution.

Differential Revision: https://phabricator.services.mozilla.com/D181742
2023-06-22 13:11:18 +00:00
Matthew Gaudet
d8e8d82446 Bug 1839437 - Use the for-in cache to improve performance on Object.keys r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D181412
2023-06-22 13:04:31 +00:00
Matthew Gaudet
2e02a0feba Bug 1839437 - Allow creating and Array from an array of JSLinearStrings r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D181411
2023-06-22 13:04:31 +00:00
Matthew Gaudet
6c9a0cce7e Bug 1838529 - Reserve space in the properties vector to avoid costly vector growth r=jandem
On the microbenchmark from Bug 1836679:

$ hyperfine 'obj-with/dist/bin/js keys-benchmark.js' 'obj-without/dist/bin/js keys-benchmark.js'
Benchmark 1: obj-with/dist/bin/js keys-benchmark.js
  Time (mean ± σ):     256.9 ms ±   2.2 ms    [User: 257.9 ms, System: 8.9 ms]
  Range (min … max):   254.3 ms … 262.5 ms    11 runs

Benchmark 2: obj-without/dist/bin/js keys-benchmark.js
  Time (mean ± σ):     349.4 ms ±   1.0 ms    [User: 351.0 ms, System: 10.0 ms]
  Range (min … max):   347.6 ms … 350.9 ms    10 runs

Summary
  'obj-with/dist/bin/js keys-benchmark.js' ran
    1.36 ± 0.01 times faster than 'obj-without/dist/bin/js keys-benchmark.js'

Differential Revision: https://phabricator.services.mozilla.com/D181004
2023-06-22 13:04:31 +00:00
Noemi Erli
ea5b4807dc Backed out 2 changesets (bug 1825745) for causing failures in form-requestsubmit.html CLOSED TREE
Backed out changeset eb77df0ccca6 (bug 1825745)
Backed out changeset 2ce4ceb5a39d (bug 1825745)
2023-06-22 16:35:27 +03:00
Noemi Erli
2902d8db20 Backed out changeset 35c8b566fd53 (bug 1820599) for causing failures in browser_form_history_fallback.js 2023-06-22 16:33:46 +03:00
serge-sans-paille
ab13de4ec4 Bug 1839325 - Add missing header dependency on mozilla/PSandboxTestingChild.h r=bobowen,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D181446
2023-06-22 12:40:14 +00:00
Joshua Marshall
851cbeaeef Bug 1839174 - Fix non-unified build compilation error r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D181384
2023-06-22 12:31:12 +00:00
Alex Franchuk
87194c3d1a Bug 1838214 - Include the log level in mach human/terminal log output r=ahochheiden,ahal
This includes the log level as a single character (with a space, adding 2 total characters to log
lines). It is colored when there is a terminal present. The info log level has no added characters
(it being the most common). There is an additional argument to the log formatters to enable showing
the log level, and it defaults to the same value as the argument to show the timestamps.

Differential Revision: https://phabricator.services.mozilla.com/D180829
2023-06-22 12:17:26 +00:00
ffxbld
a3a2604ecd No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D181759
2023-06-22 12:10:46 +00:00
James Teow
f0a56b58b8 Bug 1781806 - Trigger afterTabSwitchFocusChange in the Urlbar even if the tab is already selected and is going to receive a TabSelect event - r=tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D181115
2023-06-22 12:06:43 +00:00
Cristian Tuns
ac8a8744d7 Backed out 14 changesets (bug 1833855) for causing build bustages in DMABufSurface.cpp CLOSED TREE
Backed out changeset b8daeb03b670 (bug 1833855)
Backed out changeset cc17af8bae3d (bug 1833855)
Backed out changeset 2d4f6b8ad5d3 (bug 1833855)
Backed out changeset 3b75e59357bb (bug 1833855)
Backed out changeset 86948033f163 (bug 1833855)
Backed out changeset 3e6387b95e39 (bug 1833855)
Backed out changeset 7f22e082786c (bug 1833855)
Backed out changeset 9d5ae056d3c8 (bug 1833855)
Backed out changeset b0a7ca2dfbd6 (bug 1833855)
Backed out changeset ac0947e6e601 (bug 1833855)
Backed out changeset a058367a436a (bug 1833855)
Backed out changeset 7b4da292159c (bug 1833855)
Backed out changeset d50ae530998d (bug 1833855)
Backed out changeset 895b93846598 (bug 1833855)
2023-06-22 08:05:40 -04:00
Johannes J. Schmidt
b6b6043ff3 Bug 1820599 - streamline addLogin storage interface - r=credential-management-reviewers,dimi
* encryption is done in storage layer
* use `LoginManager.addLoginAsync` all over the place
* use `LoginManager.addLoginsAsync`  everywhere
* remove sync `LoginManager.addLogin`

Differential Revision: https://phabricator.services.mozilla.com/D178672
2023-06-22 11:47:58 +00:00
Sebastian Hengst
0b0d9b2cbc Bug 1839704 - set popover-light-dismiss.html as intermittent on Linux debug DONTBUILD
The web-platforms-tests expectation update in bug 1839232 started these
failures.

Differential Revision: https://phabricator.services.mozilla.com/D181762
2023-06-22 11:46:27 +00:00
Emilio Cobos Álvarez
1ac45263e4 Bug 1839221 - Simplify rule to hide forms inside tables in html docs. r=jfkthame
While we're at it:

 * Hide :-moz-is-html from content. This is barely documented (a google
   search for that yields two pages mostly of our UA sheet) and unlikely
   to cause any compat impact (plus it's a one-liner to expose it if we
   needed to).

 * Make that only depend on the document state. It doesn't have any
   practical implications since we only use it on html.css which already
   has a default namespace.

 * Add some documentation on why are these pseudo-classes (rather than
   e.g., media queries).

Differential Revision: https://phabricator.services.mozilla.com/D181406
2023-06-22 11:31:44 +00:00
Tiaan Louw
ce2ee22a42 Bug 1838600 - Implement the abs() function r=emilio
The abs() function resolves to the absolute value in calculations.

https://drafts.csswg.org/css-values-4/#sign-funcs

Differential Revision: https://phabricator.services.mozilla.com/D181060
2023-06-22 11:20:03 +00:00
stransky
cdf6d0a8fa Bug 1833855 [Linux] Replace kIsX11 and kIsWayland with kIsLinux r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D178647
2023-06-22 11:17:24 +00:00
stransky
712ac91a5c Bug 1833855 [Linux] Update widget/gtk for wayland/x11 exclusive builds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178644
2023-06-22 11:17:24 +00:00
stransky
04e6588749 Bug 1833855 [Linux] Update GtkCompositorWidget to work on X11 only builds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178643
2023-06-22 11:17:24 +00:00
stransky
f7c73d6168 Bug 1833855 [Linux] Build and run vaapitest on X11 only builds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178642
2023-06-22 11:17:24 +00:00
stransky
d057a86f10 Bug 1833855 [Linux] Update DMABufSurface to build on X11 only r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178641
2023-06-22 11:17:24 +00:00
stransky
db9a02b80d Bug 1833855 [Linux] Update DMABufLibWrapper for X11 r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178640
2023-06-22 11:17:23 +00:00
stransky
8cac6516a3 Bug 1833855 [Linux] Make sure we have correct display for X11 and Wayland exclusive builds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178639
2023-06-22 11:17:23 +00:00
stransky
07d1d98296 Bug 1833855 [Linux] Update glxtest to get DRM device on Linux/Gtk r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178638
2023-06-22 11:17:23 +00:00
stransky
a187352928 Bug 1833855 [Linux] Build mozva (VA-API library wrapper) on Linux/Gtk r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D178637
2023-06-22 11:17:23 +00:00
stransky
0223e22406 Bug 1833855 [Linux] Build VA-API FFVPX support Linux/Gtk r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D178636
2023-06-22 11:17:23 +00:00
stransky
36ae3a0b1a Bug 1833855 [Linux] Build widget.dmabuf preferences on Linux/Gtk r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178635
2023-06-22 11:17:23 +00:00
stransky
8753e5afaf Bug 1833855 [Linux] Build dmabuf support on Linux/Gtk and don't request Wayland for it r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D178634
2023-06-22 11:17:23 +00:00
stransky
e515cf549d Bug 1833855 [Linux] Build VA-API support on Linux/Gtk3 and don't request Wayland support for it r=alwu
- VA-API doesn't need Wayland so enable it for Linux/Gtk3 target.

Differential Revision: https://phabricator.services.mozilla.com/D178633
2023-06-22 11:17:22 +00:00
stransky
406152eda9 Bug 1833855 [Linux] Create Wayland only and X11 only build targets r=glandium
To support Wayland and X11 exclusive builds do:

- Add cairo-gtk3-x11-only build target
- Configure cairo-gtk3-wayland-only build target without X11
- Configure cairo-gtk3-x11-only target without Wayland support.

Differential Revision: https://phabricator.services.mozilla.com/D178632
2023-06-22 11:17:22 +00:00
Noemi Erli
1826768fd7 Backed out changeset 842b3544af12 (bug 1839808) as requested by glandium CLOSED TREE 2023-06-22 14:08:01 +03:00
Mike Hommey
3311864b53 Bug 1839808 - Remove any extra APT sources from the Debian based docker images. r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D181733
2023-06-22 09:50:18 +00:00
Timothy Nikkel
d4712d5e3e Bug 1837960. Remove array of all nsViewManagers. r=emilio
The only thing it's used for is calling will paint on a document tree. To iterate every viewmanager looking for those in one document tree is a bit silly, we can just walk the view tree. Since there are only 3 types of views (root views, popup views for menupopupframes, and subdocument frame views (and their inner view)) we don't have to walk many pointers: menupopupframes are controlled by chrome code and are limited, and the other two types of views correspond to the number of view managers in the tree (one view manager per document).

Differential Revision: https://phabricator.services.mozilla.com/D180677
2023-06-22 09:38:27 +00:00
Simon Friedberger
f321008c6b Bug 1826304: Switch to SHA3 based PRG. r=emilio,supply-chain-reviewers
Depends on D175099

Differential Revision: https://phabricator.services.mozilla.com/D175375
2023-06-22 09:28:45 +00:00
Nicolas Chevobbe
b1df5e55c3 Bug 1839638 - [devtools] Add InspectorUtils.parseStyleSheet test for nested rules. r=emilio.
Differential Revision: https://phabricator.services.mozilla.com/D181645
2023-06-22 09:27:54 +00:00
Jon Coppeard
e3a6541fe6 Bug 1839594 - Add TimeDuration::Zero() method to get a zero time duration r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D181615
2023-06-22 09:27:21 +00:00
Cristian Tuns
684fec2fef Backed out 14 changesets (bug 1833855) for causing build bustages in SharedSurface.cpp CLOSED TREE
Backed out changeset c3f7d1963902 (bug 1833855)
Backed out changeset 347c47f5542a (bug 1833855)
Backed out changeset 2c0807d0b39a (bug 1833855)
Backed out changeset 013d1d16194d (bug 1833855)
Backed out changeset 2e49d43a627c (bug 1833855)
Backed out changeset ea21e90a71dd (bug 1833855)
Backed out changeset 8d5d0690668c (bug 1833855)
Backed out changeset 4eb11068275d (bug 1833855)
Backed out changeset 15120d9c5b24 (bug 1833855)
Backed out changeset b75750bb7596 (bug 1833855)
Backed out changeset 6f94e3f002ed (bug 1833855)
Backed out changeset 3235825211f9 (bug 1833855)
Backed out changeset 47a6e9ed8828 (bug 1833855)
Backed out changeset b8013c43aa20 (bug 1833855)
2023-06-22 05:29:12 -04:00
Emilio Cobos Álvarez
4793228629 Bug 1839638 - Fix stylesheet invalidation on some kinds of rule insertions. r=zrhoffman
In particular, style rules weren't taking the children code-path.

Differential Revision: https://phabricator.services.mozilla.com/D181650
2023-06-22 09:14:08 +00:00
Updatebot
c3b2391971 Bug 1839774 - Update PDF.js to 03059e1f866e4c0b587607f879dc1a26f8b26820 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D181708
2023-06-22 09:11:40 +00:00
Emilio Cobos Álvarez
4b7eef2d2a Bug 1839766 - Remove useless null-checks in LoadBlockingAsyncEventDispatcher. r=masayuki,smaug
OwnerDoc() can't return null.

Differential Revision: https://phabricator.services.mozilla.com/D181703
2023-06-22 08:59:31 +00:00
Dão Gottwald
6b3ed463cf Bug 1766470 - Unify menuseparator implementation across platforms and increase hit area. r=emilio,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D181264
2023-06-22 08:46:17 +00:00
stransky
46005fd4fc Bug 1833855 [Linux] Replace kIsX11 and kIsWayland with kIsLinux r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D178647
2023-06-22 08:35:58 +00:00
stransky
dc9e855379 Bug 1833855 [Linux] Update widget/gtk for wayland/x11 exclusive builds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178644
2023-06-22 08:35:58 +00:00
stransky
092eae938e Bug 1833855 [Linux] Update GtkCompositorWidget to work on X11 only builds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178643
2023-06-22 08:35:57 +00:00
stransky
526a88c8c9 Bug 1833855 [Linux] Build and run vaapitest on X11 only builds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178642
2023-06-22 08:35:57 +00:00
stransky
d67ff2eb87 Bug 1833855 [Linux] Update DMABufSurface to build on X11 only r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D178641
2023-06-22 08:35:57 +00:00