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

859052 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano bf010881ca Bug 1858082 - Wrap the drag service getter into a try block r=whimboo,webdriver-reviewers
The drag service is never instantiated if it's in the headless mode.
And in this case, `NS_ERROR_XPC_GS_RETURNED_FAILURE` exception is thrown.
Therefore, we need to wrap the service getter with a `try` block and
return `null` if it fails.

Differential Revision: https://phabricator.services.mozilla.com/D190580
2023-10-11 12:32:18 +00:00
Frederic Wang ea79997676 Bug 1858362 - Style invalidation after call to CSS.registerProperty. r=emilio
Call to CSS.registerProperty may result in rendering changes compared
to when variables were interpreted as unregistered custom properties.
Ensure we recascade style for the whole document tree.

This was already covered by WPTs but add a more direct check for
paint and reflow.

Differential Revision: https://phabricator.services.mozilla.com/D190656
2023-10-11 12:14:38 +00:00
Jon Coppeard e314b376d3 Bug 1858200 - Interrupt wasm when a major GC is requested r=jandem
Currently wasm ignores GCs triggered by allocation, which can lead to unbounded
memory growth when running purely in wasm. Making the GC interrupt also
interrupt wasm fixes this.

Differential Revision: https://phabricator.services.mozilla.com/D190669
2023-10-11 12:11:34 +00:00
Johannes J. Schmidt 80bb9c6927 Bug 1852745 - modernize test_autocomplete_hasBeenTypePassword.html - r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D190593
2023-10-11 11:57:59 +00:00
Katherine Patenio c55d0f391a Bug 1851891 - re-enable test_settings_toggle_ad_and_multiple_tabs r=shopping-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D190634
2023-10-11 11:42:06 +00:00
Emilio Cobos Álvarez ed71700af4 Bug 1858349 - Fix whitespace nit pointed out after landing.
MANUAL PUSH: Trivial whitespace-only change
2023-10-11 13:32:31 +02:00
Emilio Cobos Álvarez 9467adfbc8 Bug 1858349 - Use non-native menu arrows everywhere. r=desktop-theme-reviewers,dao
Our arrow is actually more similar to the modern macOS native ones, so
this both looks better and allows us to clean up more code.

flex-end alignment on acceltext-container is not needed (the flex item
is sized to its contents), removing it doesn't change behavior on e.g.
the menubar menus on Linux.

This makes the arrow a bit bigger visually on Linux, but that's what
native GTK does too (see gtk4-demo / gtk3-demo).

Differential Revision: https://phabricator.services.mozilla.com/D190663
2023-10-11 11:22:18 +00:00
Emilio Cobos Álvarez b236b5ecee Bug 1857695 - Fix a use of moz-mac-menutextselect I missed.
This restores the previous behavior though I'm not convinced this code
is useful at all because macOS uses the native menubar instead.

MANUAL PUSH: Orange fix CLOSED TREE
2023-10-11 12:54:33 +02:00
Alexandre Poirot 18757715ae Bug 1854423 - [devtools] Optimize and simplify getVisibleColumnBreakpoint selector. r=devtools-reviewers,bomsy
* `filterByLineCount` was just a very costly non-sense filtering nothing.
 (comes from unreviewed code https://github.com/firefox-devtools/debugger/pull/7349)
* The filter using lineText isn't clear either.
  Why would breakpoint position include breakpoint after the end of the actual line text content??

Differential Revision: https://phabricator.services.mozilla.com/D188891
2023-10-11 10:46:20 +00:00
Alexandre Poirot 013991dd83 Bug 1854423 - [devtools] Stop querying isOriginalId from getSelectedLocation. r=nchevobbe,devtools-reviewers
Checking for isOriginal boolean is much faster as it avoid a string comparison and function calls.

Differential Revision: https://phabricator.services.mozilla.com/D188890
2023-10-11 10:46:20 +00:00
Timothy Nikkel 7addcf497b Bug 1858083. Avoid needless addref in Document::GetBrowsingContext. r=smaug
It's a weak pointer but presumably can only die based on main thread actions. The GetBrowsingContext getter is just a plain getter, returning a pointer.

Although small this does show up in the profile in bug 1857094. It's called from some common layout/painting functions.

Differential Revision: https://phabricator.services.mozilla.com/D190559
2023-10-11 10:30:01 +00:00
Mirko Brodesser 8dd124f851 Bug 1839315: part 4) Link from `SheetLoadData::mWasAlternate` to spec. r=emilio DONTBUILD
Otherwise it's unclear what's meant.

Differential Revision: https://phabricator.services.mozilla.com/D190666
2023-10-11 10:29:16 +00:00
Mirko Brodesser 6a36108054 Bug 1839315: part 3) Remove no-op method `PreloaderBase::PrioritizeAsPreload`. r=necko-reviewers,valentin
Because it's confusing.

Differential Revision: https://phabricator.services.mozilla.com/D190015
2023-10-11 10:21:56 +00:00
Emilio Cobos Álvarez eb95d45e2e Bug 1857695 - Remove test for no longer existing color.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2023-10-11 12:34:33 +02:00
Paul Zuehlcke 09eda30230 Bug 1812369 - Refactor cookie banner handling clicking timeouts. r=timhuang
This patch introduces another timeout to ensure that observers are properly
cleaned up even for pages where the "load" event never happens.
Timeouts are scheduled on DOMContentLoaded and on load. Their duration can
be controlled via the 'cookiebanners.bannerClicking.timeout*' prefs.

Differential Revision: https://phabricator.services.mozilla.com/D190319
2023-10-11 09:32:53 +00:00
stransky 013049350a Bug 1854449 [Linux] Migrate DbusWifiScanner to DBus/GIO r=emilio,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190307
2023-10-11 08:58:22 +00:00
Sandor Molnar a9ab9f37a0 Backed out 8 changesets (bug 1850647, bug 1325181) for causing build bustages CLOSED TREE
Backed out changeset ab9d4ca38d83 (bug 1850647)
Backed out changeset 7465055478d9 (bug 1850647)
Backed out changeset 2008dd9ac32a (bug 1325181)
Backed out changeset c95204654c91 (bug 1850647)
Backed out changeset 0128ca1c9d18 (bug 1850647)
Backed out changeset e9277971c260 (bug 1850647)
Backed out changeset 6c15af4bc2c6 (bug 1850647)
Backed out changeset ce7ac5e23c1c (bug 1850647)
2023-10-11 12:25:58 +03:00
Sandor Molnar c432383906 Merge mozilla-central to autoland. a=merge 2023-10-11 12:25:12 +03:00
Emilio Cobos Álvarez ed3d010a5d Bug 1857695 - Make macOS menu color setup consistent with windows / Linux. r=mac-reviewers,spohl
Use the same system colors there rather than bespoke ones. That allows
us to simplify the CSS, remove macOS-specific system colors, and also
fix this bug.

Differential Revision: https://phabricator.services.mozilla.com/D190460
2023-10-11 08:35:22 +00:00
Emilio Cobos Álvarez 84a3ba3580 Bug 1857513 - Clean up document state setup. r=smaug
Now that we have a DocumentState type we can be a bit less explicit
(before this used EventStates, so the extra Document in the names was
useful).

Differential Revision: https://phabricator.services.mozilla.com/D190602
2023-10-11 08:24:14 +00:00
Emilio Cobos Álvarez a3e8abd326 Bug 1858250 - malloc_initialized should not be SequentiallyConsistent. r=glandium
I think ReleaseAcquire semantics are sound here.

It might be that relaxed is fine too, but that might be technically
unsound because it could make the writes in malloc_init_hard not visible
to the other threads in time.

Depends on D190623

Differential Revision: https://phabricator.services.mozilla.com/D190624
2023-10-11 08:09:03 +00:00
Nicolas Chevobbe b8877f2bfb Bug 1844089 - [devtools] Tweak outline offset on webconsole message location to make it visible. r=devtools-reviewers,bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D190578
2023-10-11 08:03:32 +00:00
Nicolas Chevobbe 46b5ddaf4b Bug 1844093 - [devtools] Better contrast on eager evaluation results. r=devtools-reviewers,ochameau.
Don't override all colors to turn them (insufficiently contrasted) grey,
but apply a desaturate filter which should keep a good enought contrast.

Differential Revision: https://phabricator.services.mozilla.com/D190551
2023-10-11 08:01:26 +00:00
Nicolas Chevobbe 8fda9aa83b Bug 1844093 - [devtools] Tweak light theme `--theme-comment` to increase its contrast. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D190549
2023-10-11 08:01:25 +00:00
Brian Grinstead 5b516a5648 Bug 1858309 - Include tabs without a container set in the heuristic for guessing the container from external opener r=mossop
This fixes a bug where we assign a URL into a container when it shouldn't be.

Differential Revision: https://phabricator.services.mozilla.com/D190646
2023-10-11 07:47:48 +00:00
Karandeep 5b311b33e2 Bug 1853910 - Remove Legacy Event Telemetry Dependencies. r=mak,extension-reviewers,robwu
Depends on D188721

Differential Revision: https://phabricator.services.mozilla.com/D189558
2023-10-11 07:45:13 +00:00
Karandeep 64d72a4b26 Bug 1853910 - Remove Legacy Event Telemetry. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D188721
2023-10-11 07:45:13 +00:00
Kershaw Chang e8b892b9bc Bug 1852924 - Fill the stream's buffer with data before calling ProcessOutput, r=necko-reviewers,jesup
Note that this patch only improves the upload performance a bit.
We should ensure the stream's buffer is maximally filled before calling ProcessOutput to create packets.

Differential Revision: https://phabricator.services.mozilla.com/D190572
2023-10-11 07:37:37 +00:00
Alexandre Lissy 5ad50a5861 Bug 1857669 - Take screenshot during selenium tests r=releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D190473
2023-10-11 07:30:40 +00:00
Alexandre Lissy a4a6fc1772 Bug 1857669 - Install libavcodec/libavutil for Selenium tests r=releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D190445
2023-10-11 07:30:39 +00:00
Sandor Molnar a7ef6e502d Bug 1852243 - Revert changeset 6ffbaf3b4ea8 - [wpt] Enable async touch and wheel events for wpt but not wdspec tests. r=jgraham,hiro CLOSED TREE 2023-10-11 10:08:58 +03:00
Sandor Molnar 6dc0b3ef8f Backed out changeset e5c1b9223818 (bug 1852243) causing problems in event handling for a lot of tests. 2023-10-11 10:08:38 +03:00
Sandor Molnar 9da5439dd7 Backed out changeset a063766cd8ad (bug 1852243) causing problems in event handling for a lot of tests. 2023-10-11 10:08:05 +03:00
Mozilla Releng Treescript 039cf16fde no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
dsb -> 6c9b74961a0237c0f23f505221a6f163c70bd54e
el -> 434ffceb33cfa12ac4e4168a569174f6639e9dbc
hsb -> 41292dabca672049b111529a6e43d6d334e70b74
kk -> fca2b3d9f1ff880d26afbec06b07409dacb81e99
oc -> f675715bd91ae97387ac06f513b02470740c5638
ru -> 51b0860e4e71841886c541780beb4cd4c810d7f5
sk -> f84cd60575f1414124959f8edfdcbca42eda6e74
sv-SE -> dc563f48250095c6e608e6e12e7b39f942b4184f
tr -> a8c72eb518d89ee682aa8a62b144f41152499480
2023-10-11 07:01:48 +00:00
Sandor Molnar fe0eee2ad6 Backed out 2 changesets (bug 1818237) for causing mochitest/xpc failures on browser/components/migration/<...>.js CLOSED TREE
Backed out changeset a8584f57dc7c (bug 1818237)
Backed out changeset 477292e081b3 (bug 1818237)
2023-10-11 09:32:23 +03:00
Sandor Molnar 2a286f214c Backed out 2 changesets (bug 1857118, bug 1841797) for causing bc failures on browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js
Backed out changeset 08d1791bf44b (bug 1857118)
Backed out changeset 444f6de78b7e (bug 1841797)
2023-10-11 09:31:47 +03:00
Sandor Molnar bbd31940fd Backed out 2 changesets (bug 1857118, bug 1841797) for causing bc failures on browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js
Backed out changeset 08d1791bf44b (bug 1857118)
Backed out changeset 444f6de78b7e (bug 1841797)
2023-10-11 09:31:47 +03:00
Florian Quèze 7a485648f7 Bug 1850647 - stop generating the build_resources.json file, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D190568
2023-10-11 05:54:14 +00:00
Florian Quèze 0496454438 Bug 1850647 - make 'mach resource-usage' open the profile of the most recent build in the Firefox Profiler, r=glandium.
Depends on D187402

Differential Revision: https://phabricator.services.mozilla.com/D190567
2023-10-11 05:54:14 +00:00
Florian Quèze 965a660828 Bug 1325181 - Fix parsing of BUILDSTATUS messages following colored clang output, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D187402
2023-10-11 05:54:14 +00:00
Florian Quèze d40c2ed723 Bug 1850647 - add an optional argument to py_action to record the target file name for most actions, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D187306
2023-10-11 05:54:13 +00:00
Florian Quèze 5e606c6e94 Bug 1850647 - make py_action emit BUILDSTATUS START and END lines for every action, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D190514
2023-10-11 05:54:13 +00:00
Florian Quèze e22c227b41 Bug 1850647 - avoid using py_action with addprefix to enable wrapping the actual command in BUILDSTATUS messages, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D190513
2023-10-11 05:54:12 +00:00
Florian Quèze 23a0d1f195 Bug 1850647 - Show markers for processes started by make files, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D187078
2023-10-11 05:54:12 +00:00
Florian Quèze c366429fc6 Bug 1850647 - teach SystemResourceMonitor to output its data in the Firefox Profiler format, r=glandium,ahal.
Differential Revision: https://phabricator.services.mozilla.com/D187076
2023-10-11 05:54:11 +00:00
Nicolas Chevobbe ee2862da2d Bug 1843331 - [devtools] Make event tooltip keyboard accessible. r=devtools-reviewers,ayeddi,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D190158
2023-10-11 05:15:49 +00:00
Nicolas Chevobbe 9b31501a55 Bug 1843337 - [devtools] Fix markup view badge color contrast. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D190448
2023-10-11 05:11:03 +00:00
Natalia Csoregi 16dded2837 Backed out changeset 6b874f1506e7 (bug 1856449) for causing almost perma failures on browser_preferences.js. CLOSED TREE 2023-10-11 07:32:58 +03:00
Mike Conley dcf7238785 Bug 1818237 - Add automated tests for requesting migrator permissions. r=mstriemer
Depends on D188874

Differential Revision: https://phabricator.services.mozilla.com/D189842
2023-10-11 04:16:49 +00:00
Mike Conley 71dcfe8cb4 Bug 1818237 - Make it possible to request permission to access Chrome-browser profiles. r=mstriemer,fluent-reviewers,desktop-theme-reviewers
This is needed for Ubuntu Linux when Firefox is installed as a Snap package.
Under those conditions, Firefox doesn't have the ability to read the contents
of the other browsers' data directories.

We work around by showing the user a native file picker and instructing them
to browse to that data directory in folder picker mode - doing so gives
the Firefox process access to the folder (through a temporary symlink).

Another restriction we must overcome is Sqlite's inability to read from
Sqlite databases through that symlinked folder. We work around this by
copying the databases we're importing from to the system temporary
directory, querying it, and then deleting those copies.

Differential Revision: https://phabricator.services.mozilla.com/D188874
2023-10-11 04:16:49 +00:00