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

826379 Коммитов

Автор SHA1 Сообщение Дата
Jari Jalkanen 72f77002b1 Bug 1808009 - Clean up writable file streams after every test. r=dom-storage-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165730
2023-01-11 08:33:46 +00:00
Mozilla Releng Treescript b1be27281c no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 2818a09e2223be4d2f44c608c10be9a26fb1c14a
es-AR -> ca5c5a869b833d86ab795e952ded6faba574e1f9
it -> 6648cbe61155a78d7b069cf5551e3fd194ee6d61
sl -> 52c5f68236c78f43a36d15aa99a1a0995ec0b073
sv-SE -> bc7c84f5fc15e32c0dc0d82ceaddc85700432173
2023-01-11 06:57:43 +00:00
Arthur Carcano 0a7977a9f9 Bug 1804280 - Refactor cargo subcommands in rust.mk. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D163956
2023-01-11 04:12:41 +00:00
Makoto Kato 5c9ad540a2 Bug 1805616 - Expose datalist values in ColorPrompt. r=geckoview-reviewers,owlish,calu
Follow up bug 960984 for GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D164775
2023-01-11 04:03:34 +00:00
Katherine Patenio 204bd3b7af Bug 1806117 - reset docState after selecting PiP toggle with a touch event. r=pip-reviewers,mhowell
In Bug 1758103, we stopped default behaviour after detecting a "touchstart" event when selecting the PiP toggle; this was to prevent a click event from running and affecting video playback when PiP initializes. However, in doing so, we failed to restart the doc state properties "isClickingToggle" and "clickedElement", which are responsible for determining where and when we suppress other events. This patch ensures that we actually restart those properties so that we can interact with other elements on the content window after opening PiP.

Differential Revision: https://phabricator.services.mozilla.com/D166244
2023-01-11 01:26:26 +00:00
Mike Hommey c3b5601e4b Bug 1807986 - Upgrade cmake used to build clang and other toolchains to 3.25.1. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D165728
2023-01-11 00:34:37 +00:00
Noemi Erli 893a8f062e Backed out 2 changesets (bug 1809057) for causing failures in browser_startup_flicker.js CLOSED TREE
Backed out changeset be4ba160f2a9 (bug 1809057)
Backed out changeset 1de22258a95c (bug 1809057)
2023-01-11 02:49:44 +02:00
James Teow f987da419f Bug 1809551 - Enable persist search terms in early beta - r=adw
Differential Revision: https://phabricator.services.mozilla.com/D166482
2023-01-10 23:05:52 +00:00
Olli Pettay aec1529203 Bug 1807838, try to translate elements before load event fires, r=emilio
...but call sizeToContent* only after AppWindow::OnChromeLoaded().

Differential Revision: https://phabricator.services.mozilla.com/D166011
2023-01-10 22:47:20 +00:00
Emilio Cobos Álvarez 239845ceb2 Bug 1809057 - Do the ShowWindowAndFocus::No on the right message.
MANUAL PUSH: Orange fix CLOSED TREE
2023-01-11 00:24:44 +01:00
Steve Fink 33184dadc8 Bug 1782323 - Move hazards gather step invocation from analyze.py to mach r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D153294
2023-01-10 22:33:51 +00:00
Steve Fink 2eaa97c4df Bug 1685588 - Pass through some command-line parameters from `mach analyze` r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D101059
2023-01-10 22:33:50 +00:00
Paul Bone 4ea7329f5a Bug 1806049 - Explicitly use uint32_t r=glandium
We want to be precise about types used here.  Although in practice unsigned
is the same as uint32_t, it's not guaranteed.  We want to definitely use
32-bit multiplication as it can be faster than 64-bit.

Differential Revision: https://phabricator.services.mozilla.com/D164889
2023-01-10 22:30:05 +00:00
Paul Bone f9bccca030 Bug 1806049 - Test all divisions r=glandium
Don't wait until runtime to test that all valid divisions work.  Test them
during initialisation in debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D164888
2023-01-10 22:30:05 +00:00
Paul Bone bfb66a35a9 Bug 1806049 - Rename the FastDivisor variables r=glandium
Rename the `m` and `p` variables to match those used in the Hacker's Delight
book where the algorithm is presented.  There were also some inconsistent
names in comments that this fixes.

Differential Revision: https://phabricator.services.mozilla.com/D164887
2023-01-10 22:30:04 +00:00
Paul Bone e180463f6d Bug 1806049 - Improve some code comments r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D164886
2023-01-10 22:30:04 +00:00
Steve Fink 73ebdf61bc Bug 1807169 - Properly hand over ownership of the transferables in a JSStructuredCloneData r=iain
Differential Revision: https://phabricator.services.mozilla.com/D165445
2023-01-10 22:23:44 +00:00
Gabriele Svelto 2075a2a0a9 Bug 1793784 - Replace the minidump_writer_linux crate with the minidump-writer crate r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158669
2023-01-10 22:14:30 +00:00
Niklas Baumgardner febe5c1f27 Bug 1806590 - Downloading screenshot now shows panel in private windows. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D166341
2023-01-10 22:00:17 +00:00
Emilio Cobos Álvarez 4b4f3738f4 Bug 1809057 - Make sure all sizemode changes do go through FrameState::SetSizeModeInternal. r=rkraesig
I wrote this while debugging / fixing bug 1806438, and this is kind of
related and needed to fix that bug in one of my machines.

This ensures that all size mode changes go through a central place.

In order to do that, we need to pass whether we need to ShowWindow()
since doing it redundantly in some cases like windows-triggered sizemode
changes would break stuff.

Differential Revision: https://phabricator.services.mozilla.com/D166254
2023-01-10 21:44:17 +00:00
Emilio Cobos Álvarez 70e1564aac Bug 1806438 - Make sure not to save/restore bounds when going from/into minimized state. r=rkraesig
Otherwise we might restore nonsensical bounds because Windows moves
minimized windows to crazy positions like -32000, -32000.

Differential Revision: https://phabricator.services.mozilla.com/D165913
2023-01-10 21:29:40 +00:00
Nick Alexander 6ff82016a0 Bug 1804757 - Avoid shutdown crashes writing `targeting.snapshot.json`. r=barret
This commit trades away consistency in order to reduce code execution.
Hopefully this avoids executing code that is likely not "shutdown
safe" and is inadvertently restarting services or otherwise hanging
when run during shutdown.

The trade off is that the written targeting snapshot may now be
incomplete (which was always the case in the face of runtime errors,
e.g., corrupt a database) or internally inconsistent (which is
probably new).  For example, weekly usage could be populated but most
frecent sites could be empty, contradicting the usage.  This trade-off
is accepted: occassionally targeting the user "in the
past" (generally, with data captured 30 minutes ago) is preferable to
relatively frequent shutdown crashes.

I would have liked to have checked for `shuttingDown` in
[CachedTargetingGetter](https://searchfox.org/mozilla-central/rev/abf6758ed833c203f84703aa2e3e3d317571b1e9/browser/components/newtab/lib/ASRouterTargeting.jsm#152),
but doing so might throw exceptions (or inject `null` values) where
they were not anticipated, which carries risks that I couldn't easily
mitigate.

If the measure implemented here is ineffective, we'll likely need to
restrict the set of targeting data collected, but I hope to avoid
that, since it reduces the flexibility of the background messaging
targeting significantly, and we may want the agility provided by rich
targeting at an unknown time in the future.

Differential Revision: https://phabricator.services.mozilla.com/D165916
2023-01-10 21:22:46 +00:00
Kash Shampur 4c39b81094 Bug 1759450 - Use in-tree wptserve for Raptor and Talos. r=perftest-reviewers,sparky
Presently we pull wptserve 3.0 from pypi, however it is incompatible with Python 3.10 that is shipping as default on more and more platforms (e.g. Linux).
This patch instead pulls the in-tree version of wptserve which is more up to date and compatible and should help future proof the Raptor and Talos tests.

Differential Revision: https://phabricator.services.mozilla.com/D166388
2023-01-10 21:14:04 +00:00
Nathan LaPre b690b77391 Bug 995064: Rework group position calculation to allow intervening accs in compound ARIA widgets, r=Jamie
Transition the group position calculation - specifically the code in Update -
to Pivot such that we can handle finding siblings across intervening generic
container accessibles, such as SECTIONs. This fixes issues with finding the
values of "pos in set" and "set size" for descendant owned elements in compound
ARIA widgets. This revision also updates and adds tests for this functionality.

Differential Revision: https://phabricator.services.mozilla.com/D165756
2023-01-10 20:51:50 +00:00
Kelly Cochrane ab69f71cbb Bug 1801976 - Increase margin between Tab Pickup header and setup card to be consistent with Recently Closed section in Fx View r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D166217
2023-01-10 20:34:47 +00:00
Chris Martin 36ed18a5fc Bug 1809519 - Enable the GPU sandbox in Release r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D166460
2023-01-10 20:29:19 +00:00
Niklas Baumgardner 2e684db116 Bug 1779454 - Fix Netflix wrapper to allow scrubbing. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D166403
2023-01-10 20:16:18 +00:00
Noemi Erli 5b55c170dc Backed out 2 changesets (bug 1798513, bug 1808009) for causing failures in FileSystemDirectoryHandle-removeEntry.https.any.worker.html CLOSED TREE
Backed out changeset 428ea11e738d (bug 1798513)
Backed out changeset 3e69320f3e5c (bug 1808009)
2023-01-10 22:11:45 +02:00
Bruno Rosa e1d5d5896a Bug 1799914 - FOG Rust codegen test update for metrics with more than 8 labels. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D166387
2023-01-10 19:50:13 +00:00
Ray Kraesig 53e40632bf Bug 1808632 - TaskbarPreviewCallback::Done(): modernization and error-checking r=cmartin
Properly test for and handle errors in target-surface creation and
mapping.

(Additionally, perform some drive-by cleanup/modernization.)

Differential Revision: https://phabricator.services.mozilla.com/D166126
2023-01-10 19:40:33 +00:00
Cristian Tuns 603bebe608 Backed out changeset ad6f657ccb60 (bug 1797899) for causing bc failures CLOSED TREE 2023-01-10 14:41:11 -05:00
Jonas Jenwald a518d71e96 Bug 1809164 - Let the `NetworkManager` code, in PdfJsNetwork.jsm, return TypedArray data. r=pdfjs-reviewers,calixte
Given that the `PdfDataListener.readData` method, in PdfStreamConverter.jsm, always return TypedArray data we update the `NetworkManager` for consistency.
This is done to allow upcoming changes that will enable transferring, rather than copying, more data within the PDF Viewer.

Differential Revision: https://phabricator.services.mozilla.com/D166439
2023-01-10 19:08:33 +00:00
Jari Jalkanen e4595e9483 Bug 1798513 - Replace USVString with UTF8String in union types with Blob getter. r=nika
Depends on D165730

Differential Revision: https://phabricator.services.mozilla.com/D165731
2023-01-10 19:08:22 +00:00
Jari Jalkanen 9d7785625f Bug 1808009 - Clean up writable file streams after every test. r=dom-storage-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165730
2023-01-10 19:08:22 +00:00
Jari Jalkanen 65633f106f Bug 1809178 - Allow silent overwrites for FileSystemHandle::move. r=dom-storage-reviewers,jesup
Depends on D165678

Differential Revision: https://phabricator.services.mozilla.com/D166339
2023-01-10 19:05:41 +00:00
Luca Greco de488d7857 Bug 1809235 - Require an explicit webRequestFilterResponse data permission for MV3 extension to be allowed to call filterResponseData. r=willdurand
Depends on D166383

Differential Revision: https://phabricator.services.mozilla.com/D166384
2023-01-10 18:54:21 +00:00
Luca Greco 1071432476 Bug 1809235 - Fix terminateBackground call missing disableResetIdleForTest in test_ext_webRequest_eventPage_StreamFilter.js. r=willdurand
Not strictly related to this bugzilla issue, but while I was updating this test file accordingly
to the other changes needed for this bugzilla issue, I did notice this test was slower to complete
than how much I was expecting.

The underlying issue was that the call to `extension.terminateBackground` was missing the
`disableResetIdleForTest` and so `terminateBackground` was exiting earlier due to pending
api event listeners calls (which was expected given that we were just firing webRequest
events) and the event page was actually being suspended after an additional idle timeout.

Differential Revision: https://phabricator.services.mozilla.com/D166383
2023-01-10 18:54:21 +00:00
Joel Maher 375ea4de55 Bug 1809355 - Skip test_osfile_front.xhtml on win11/32bit. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D166447
2023-01-10 18:45:59 +00:00
fanie 5580274df8 Bug 1797899 - Rename getAllActive and getAllRollouts functions. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D164326
2023-01-10 18:34:04 +00:00
Mozilla Releng Treescript 997b2298da no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cy -> 16ba0d8b02ea83198de312a2bbb3fc42ac28184f
el -> 9778233bc9bf5d018ef8efe3352d9e0fa581fef2
gn -> 84b3a195883ff559609da64dc106a7dbfff1f169
he -> f3ddeb36667018f4de5921e2a9bd41d37c22fb3d
hu -> 4766dd2b6c9a7c82f28a8e67021f28a34a8017c6
ia -> 5ef376859d948da4811b5b2f163cf41bcc908569
is -> 4ef7be566a21ee22c3b448a8cde4c2dc543b93ff
it -> 91d6d0c628739207006b884c9e2f3ea7aeef228d
kk -> 8fc0e23e2b0d97dba2793cb256938d255546a78f
ko -> 3fe32f245fab6d12a2dbb492f71eb7c247940580
pt-BR -> 4f8510ba21375216dc4b430accb28e9e0e4fd6dd
pt-PT -> f002edae2644412d59b3df29cfe9b17c8b85761e
tg -> d7364560d55240d8adde10eb7e82a4062dbed613
th -> 9b2d6b9a700ef56302a79938eab8a73006a6b0c7
uk -> f5bec649a46d0c5b7aee96bcb31724efa4885172
zh-CN -> 6fd82197ec3ae28ebd255128d9c4f6e14b3cc908
zh-TW -> 26b1757a95eb70192d2c68fa7eaf69ba27028047
2023-01-10 19:05:22 +00:00
Cristian Tuns 252fc2f82c Backed out changeset c42c459d2be6 (bug 1790345) for causing mochitest failures in test_blocked_uri_in_violation_event_after_redirects.html CLOSED TREE 2023-01-10 14:02:10 -05:00
Matthew Gaudet 9e46e68efd Bug 1808795 - Enable fromAsync tests r=arai
Differential Revision: https://phabricator.services.mozilla.com/D166189
2023-01-10 18:26:30 +00:00
Matthew Gaudet 3e05a38c52 Bug 1808801 - Update Test262 January 5, 2023 r=arai
Differential Revision: https://phabricator.services.mozilla.com/D166363
2023-01-10 18:26:26 +00:00
Hubert Boma Manilla 4a1bb650a0 Bug 1809163 - [devtools] Show cookies with '__proto__' in the cookies panel r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D166386
2023-01-10 18:20:36 +00:00
Bilal 011731ad25 Bug 1799531 - changed 'applications' manifest key. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D166377
2023-01-10 17:24:32 +00:00
Jan Rio Krause a2bf81cc32 Bug 1730547 - Return exact error instead of generic one. r=dom-storage-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D164707
2023-01-10 17:16:17 +00:00
Dão Gottwald 0564edd687 Bug 1809465 - Replace _hoveredTab with a private tab property. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D166441
2023-01-10 17:10:30 +00:00
Tom Schuster 00c69fa88b Bug 1790345 - Strip cross-origin URIs in frame-src CSP reports. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D165818
2023-01-10 17:08:27 +00:00
Lee Salzman fb9a504ca7 Bug 1806932 - Destroy GradientCacheData on main thread. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D166417
2023-01-10 17:07:28 +00:00
Alexandre Poirot 58c4f072e3 Bug 1809153 - [devtools] Migrate browser_target_server_component.js to SOURCE resources. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D166313
2023-01-10 15:52:23 +00:00