Commit Graph

820711 Commits

Author SHA1 Message Date
Marco Castelluccio
11b87fc0cb Bug 1790816 - Reformat gfx/ with isort. r=jgilbert DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162641
2022-11-22 12:54:40 +00:00
Greg Stoll
397e0a203c Bug 1799562 - update version of Cylance to blocklist r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D162693
2022-11-22 12:33:34 +00:00
Henri Sivonen
3e13c693ee Bug 1709012 - Remove NS_ASSERTION about executor queue being empty upon destruction. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D162701
2022-11-22 12:30:04 +00:00
Emilio Cobos Álvarez
0c706ad429 Bug 1801339 - Flex label / description value. r=Gijs
So that if the text is smaller than the label, text-align works as
intended.

Differential Revision: https://phabricator.services.mozilla.com/D162705
2022-11-22 12:29:28 +00:00
William Durand
e9f2d04166 Bug 1801471 - Handle Private Browsing mode in unified extensions panel. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D162541
2022-11-22 12:26:23 +00:00
Paul Zuehlcke
2b06848653 Bug 1800653 - Only insert test rules if nsICookieBannerService is enabled. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D162113
2022-11-22 12:12:40 +00:00
Csoregi Natalia
0a4632e16b Backed out changeset e9bd011dbf75 (bug 1799423) for causing toolchains failures. CLOSED TREE 2022-11-22 14:22:00 +02:00
Chun-Min Chang
c0576ffeca Bug 1798959 - Ensure all VideoColoSpaceInits work r=padenot
Add a wpt ensuring the VideoColorSpace can be constructed from all kinds
of VideoColorSpaceInit values. The new wpt is modified from an existing
mochitest and it will replace the old mochitest.

Differential Revision: https://phabricator.services.mozilla.com/D162525
2022-11-22 11:42:56 +00:00
Chun-Min Chang
3794bd7a01 Bug 1798959 - Set VideoColorPrimaries to PlanarYCbCrData r=jgilbert,bradwerth,padenot
When constructing a VideoFrame from the buffer data, the given
VideoColorPrimaries passed through VideoFrame's Constructor should be
set to PlanarYCbCrData's mColorPrimaries.

Depends on D161225

Differential Revision: https://phabricator.services.mozilla.com/D161226
2022-11-22 11:42:55 +00:00
Chun-Min Chang
6295ecccd9 Bug 1798975 - Map new VideoColorSpace values to gfx's ones r=padenot
Convert the newly added VideoColorSpace values to gfx's values

Depends on D161224

Differential Revision: https://phabricator.services.mozilla.com/D161225
2022-11-22 11:42:55 +00:00
Chun-Min Chang
8380323177 Bug 1798975 - Add new values to VideoColorSpace r=webidl,jgilbert,padenot,smaug
Add more color spaces introduced by https://github.com/w3c/webcodecs/pull/566

Differential Revision: https://phabricator.services.mozilla.com/D161224
2022-11-22 11:42:55 +00:00
Marco Castelluccio
a5631d89df Bug 1790816 - Reformat netwerk/ with isort. r=necko-reviewers,kershaw DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162659
2022-11-22 11:11:55 +00:00
Marco Castelluccio
6d04d33abd Bug 1790816 - Reformat browser/ with isort. r=linter-reviewers,search-reviewers,Standard8 DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162667
2022-11-22 11:09:34 +00:00
Marco Castelluccio
2d8a5d819f Bug 1790816 - Reformat ipc/ with isort. r=mccr8 DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162644
2022-11-22 11:07:46 +00:00
Marco Castelluccio
c7fd01be29 Bug 1790816 - Reformat mobile/ with isort. r=geckoview-reviewers,m_kato DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162647
2022-11-22 11:04:55 +00:00
Marco Castelluccio
1267ec48f8 Bug 1790816 - Reformat remote/ with isort. r=webdriver-reviewers,whimboo DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162648
2022-11-22 10:59:05 +00:00
Emilio Cobos Álvarez
4c6d8f0273 Bug 1798396 - Remove appearance: -moz-win-glass, which is unused. r=tnikkel
This we don't need to uplift.

Differential Revision: https://phabricator.services.mozilla.com/D162535
2022-11-22 10:56:38 +00:00
Sebastian Hengst
8ed42c86fa Bug 1801631 - adjust expectations for service-worker-fetch.https.window.html on Linux software webrender without fission
The automatic test expectation update in bug 1801556 had changed the
expectations.

Differential Revision: https://phabricator.services.mozilla.com/D162703
2022-11-22 10:54:51 +00:00
Olli Pettay
a7c140180a Bug 1801315, move some generic code to the baseclass, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162423
2022-11-22 10:17:51 +00:00
serge-sans-paille
936dd7061f Bug 1799423 - link clang with lld r=firefox-build-system-reviewers,glandium
As a side effect, this obsoletes the "link" config as clang always uses
the lld linker alongside its own install.

Differential Revision: https://phabricator.services.mozilla.com/D161436
2022-11-22 09:23:51 +00:00
Mike Hommey
2bb50e3ee1 Bug 1801726 - Upgrade psutil to 5.9.4. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162606
2022-11-22 09:12:02 +00:00
Mike Hommey
4e9d1c62b6 Bug 1801726 - Upgrade zstandard to 0.19.0. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162605
2022-11-22 09:12:02 +00:00
Nicolas Chevobbe
1cd4fee373 Bug 1801211 - Add salt to site origin before hashing to compute SitePermsAddon ids. r=rpl.
We expose a function generating the salt so we can add a test case
in the xpcshell test.

Differential Revision: https://phabricator.services.mozilla.com/D162366
2022-11-22 09:11:36 +00:00
James Graham
63321da400 Bug 1800456 - Add preconditions to css-view-transitions tests, r=emilio
This ensures that the tests don't just timeout when the feature isn't implemented.

Differential Revision: https://phabricator.services.mozilla.com/D162554
2022-11-22 09:08:38 +00:00
James Graham
4486fa7e34 Bug 1800456 - Add failIfNot function to reftest-wait.js, r=emilio
This allows failing early for reftests that would otherwise timeout waiting
for a screenshot. It assumes that replacing the body with an error message
and taking a screenshot will never match the reference.

Differential Revision: https://phabricator.services.mozilla.com/D162553
2022-11-22 09:08:38 +00:00
YUKI "Piro" Hiroshi
e0905cc852 Bug 1271047 - Place "popup" type window to given coordinates r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D73419
2022-11-22 09:05:29 +00:00
Mike Hommey
40d44d6c00 Bug 1801775 - Work around Debian Jessie GPG key being expired. r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D162694
2022-11-22 08:44:18 +00:00
Jamie Nicol
16ceeff184 Bug 1801526 - Use AtomicInteger for GeckoSurfaceTexture handle counter. r=geckoview-reviewers,calu
Currently we use a `static volatile int` as a monotonically
incrementing counter from which we calculate handles for
GeckoSurfaceTextures. During a previous patch, the code which reads
and increments this counter was moved out of a synchronized block,
meaning it can potentially race. We are now seeing crashes due to
attempting to allocate different GeckoSurfaceTextures with the same
handle, and this could be the cause.

To fix this, we replace the counter with an AtomicInt, which has an
atomic getAndIncrement() function.

Differential Revision: https://phabricator.services.mozilla.com/D162556
2022-11-22 08:32:31 +00:00
stransky
4a8df8f3c8 Bug 1800972 [Linux] Convert char* to GUniquePtr at nsDragService::SourceDataGetXDND() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162546
2022-11-22 08:14:28 +00:00
stransky
d02fafe749 Bug 1800972 [Linux] Implement drag of multiple items r=emilio
- Remove nsDragService::CreateURIList() and replace it by nsDragService::SourceDataGetUriList().
  It reads all items from nsITransferable and put them to uri list.
  If data drop is performed to another application which doesn't have access to internal data storages (mailbox:// for instance),
  request download and save referenced items to /tmp directory.

- Implement SourceDataAppendURLItem() which read one item from nsITransferable and append it to uri list.
  Download and store internal files in /tmp directory.

- Make CreateTempFile() to block native events processing. nsIOutputStream/nsIInputStream read and write operations run
  event loop and can abort D&D operation before we write all data to /tmp. Use nsAppShell to block native event processing
  during read/write to prevent it.

Differential Revision: https://phabricator.services.mozilla.com/D162473
2022-11-22 08:14:27 +00:00
stransky
ecd42fb817 Bug 1800972 [Linux] Don't query fallback mime type for image/XDND mime types r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162469
2022-11-22 08:14:27 +00:00
stransky
fd206af3cd Bug 1800972 [Linux] Factor out text mime types to extra function r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162468
2022-11-22 08:14:27 +00:00
stransky
de4c14cf3f Bug 1800972 [Linux] Factor out image drop r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162467
2022-11-22 08:14:26 +00:00
stransky
5b605e4811 Bug 1800972 [Linux] Factor out XDND to extra function r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162466
2022-11-22 08:14:26 +00:00
stransky
6bcfbacc6d Bug 1800972 [Linux] Use XdndDirectSave on X.org only as it's no supported on XWayland r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162465
2022-11-22 08:14:25 +00:00
stransky
bebf9e9a8f Bug 1800972 [Linux] Update logging and clean up of nsDragService r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D162463
2022-11-22 08:14:25 +00:00
Marco Castelluccio
2cb1a1b750 Bug 1758419 - Remove comment in xpidl.py mentioning Python 2 support as Searchfox is now using Python 3. r=mccr8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162675
2022-11-22 08:10:46 +00:00
Kaiido
a454232b54 Bug 1799058 - Reset context on SetWidth and SetHeight. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D161925
2022-11-22 07:53:29 +00:00
André Bargull
06528cdbaa Bug 1799288: Cover destructuring parameters in the parameters try-catch block for async functions. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D161600
2022-11-22 07:05:25 +00:00
Mozilla Releng Treescript
bdc412e198 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
oc -> 608b566c3e1da6336a4e5915c247b648ef161b58
sc -> a387aeadfa4fce84450c59014f2eaa11a1d40119
th -> 31c79342548ca48a8fc406af1b342d88d3f2fb42
2022-11-22 07:02:12 +00:00
Hiroyuki Ikezoe
3a5650ace5 Bug 1794070 - Make a pan start event wait for the browser gesture code response. r=botond,dlrobertson
So that APZ can wait to handle the event to do overscrolling until the browser
responds that the event wasn't used for gestures.

Differential Revision: https://phabricator.services.mozilla.com/D160438
2022-11-22 06:52:53 +00:00
Hiroyuki Ikezoe
d33990bcde Bug 1794070 - Ignore overscrollable check in CanScrollTargetHorizontally. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D162362
2022-11-22 06:52:52 +00:00
Hiroyuki Ikezoe
d32e0125e8 Bug 1794070 - Introduce PanGestureInput::AllowsSwipe(). r=botond
Differential Revision: https://phabricator.services.mozilla.com/D160437
2022-11-22 06:52:52 +00:00
Hiroyuki Ikezoe
f7ce055162 Bug 1794070 - Refer mRequiresContentResponseIfCannotScrollHorizontallyInStartDirection flag instead of calling SwipeTrackker::CanTriggerSwipe(). r=botond
And rename mRequiresContentResponseIfCannotScrollHorizontallyInStartDirection to
mMayTriggerSwipe.

So basically once after the flag is set, we should use it.

Differential Revision: https://phabricator.services.mozilla.com/D160436
2022-11-22 06:52:52 +00:00
Hiroyuki Ikezoe
ebfe7e293e Bug 1794070 - Make mRequiresContentResponseIfCannotScrollHorizontallyInStartDirection private. r=botond
And initialized it only in ctors so that in the next change we can use it to
tell whether this pan event may trigger swipe or not without calling
SwipeTracker::CanTriggerSwipe every time.

There's an unintuitive change in a GTest sending a horizontal pan-start event.
With this changeset, all incomming pan-start events on desktop platforms
basically set mRequiresContentResponseIfCannotScrollHorizontallyInStartDirection
to true even if the event is generated in GTests. So the pan start event runs
into the short circuit path for swipe-to-navigation. This is a good thing because
it means the GTest replicates what our browser does properly.

Differential Revision: https://phabricator.services.mozilla.com/D160435
2022-11-22 06:52:51 +00:00
Hiroyuki Ikezoe
4c8d1c6a7f Bug 1794070 - Check mOverscrollBehaviorAllowsSwipe whether we do the short circuit for swipe. r=botond
Though this isn't a real bug at all since later we check the flag in
nsBaseWidget::MayStartSwipeForAPZ [1], this change includes a browser
mochitest to make sure `overscroll-behavior: contain` prevents swipe
navigations.


[1] https://searchfox.org/mozilla-central/rev/c5c002f81f08a73e04868e0c2bf0eb113f200b03/widget/nsBaseWidget.cpp#2294

Differential Revision: https://phabricator.services.mozilla.com/D160434
2022-11-22 06:52:51 +00:00
Hiroyuki Ikezoe
9f0a9b18a2 Bug 1794070 - Run the test case listening "wheel" event at the last in browser_test_swipe_gesture.js. r=botond
There's a bug (bug 1800022) that wheel event listeners in the browser process
badly interact with overscroll even so we'd avoid the bug here.

Differential Revision: https://phabricator.services.mozilla.com/D161752
2022-11-22 06:52:50 +00:00
Hiroyuki Ikezoe
e6a13e599b Bug 1794070 - Use await SpecialPowers.popPrefEnv() explicitly at the end of each test. r=tnikkel
Otherwise prefs set in the previous test case will persist. In fact
some of test cases were lacking "browser.swipe.navigation-icon-move-distance".

Differential Revision: https://phabricator.services.mozilla.com/D161751
2022-11-22 06:52:50 +00:00
Hiroyuki Ikezoe
62bd053169 Bug 1794070 - Fix preference name typos in browser_test_swipe_gesture.js. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D161750
2022-11-22 06:52:50 +00:00
Hiroyuki Ikezoe
329099d5b3 Bug 1794070 - Add "overscrolled" state in APZTestData.additionalData. r=botond
We'd like to use this for testing overscroll state in mochitests.

Differential Revision: https://phabricator.services.mozilla.com/D160433
2022-11-22 06:52:49 +00:00