Jeff Muizelaar
066cf0ea29
Bug 1838762 - Use a uint8_t for EventType. r=lsalzman
...
This reduces the serialization size a little.
Differential Revision: https://phabricator.services.mozilla.com/D181177
2023-06-17 03:06:29 +00:00
Norisz Fay
f890e5a1aa
Backed out 3 changesets (bug 1580095) for causing bc failures on browser_mock_wrapper.js CLOSED TREE
...
Backed out changeset 047ac9aaa0f7 (bug 1580095)
Backed out changeset 22765b6eea1b (bug 1580095)
Backed out changeset 9372bbd6eb40 (bug 1580095)
2023-06-17 05:24:26 +03:00
Nico Grunbaum
420ad1a00a
Bug 1838736 - skip timing out media-mochitests on Linux TSAN;r=bwc,pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D181181
2023-06-17 00:27:09 +00:00
Nico Grunbaum
ee987db9ac
Bug 1835935 - renable Linux TSAN media mochitests;r=bwc
...
Backed out changeset 7a6739c95643
Backed out changeset 8d71975590dc
Differential Revision: https://phabricator.services.mozilla.com/D181323
2023-06-17 00:27:09 +00:00
Butkovits Atila
f4c16f1074
Merge mozilla-central to autoland. CLOSED TREE
2023-06-17 02:46:13 +03:00
Butkovits Atila
bf80c8e256
Backed out changeset e637dc2466d4 (bug 1837473) for breaking CTAP2 PIN entry. a=backout
2023-06-17 02:35:10 +03:00
alwu
f785a4b76a
Bug 1838969 - enable dcomp mode earlier. r=media-playback-reviewers,jolin
...
Differential Revision: https://phabricator.services.mozilla.com/D181319
2023-06-16 23:05:09 +00:00
Boris Chiou
97e7095dbd
Bug 1581237 - Use <coord-box> as the reference box of the containing block for ray(). r=emilio
...
So now we use <coord-box> to decide which box we should use. Also, we
have to tweak the calculation of path length to take the top left point
into consideration, for padding-box and content-box. border-box is the
default value, so other tests should cover it.
Differential Revision: https://phabricator.services.mozilla.com/D180397
2023-06-16 22:43:34 +00:00
Brad Werth
2af89d148a
Bug 1834922: Update GLContextEAGL method signature to match superclass definition. r=jgilbert
...
Matching the pointer type for the unused parameter ensures that compilers
will recognize this as an override method.
Differential Revision: https://phabricator.services.mozilla.com/D179983
2023-06-16 22:21:24 +00:00
Niklas Baumgardner
7df7a46a63
Bug 1580095 - Update netflix wrapper. r=pip-reviewers,mhowell
...
Depends on D180873
Differential Revision: https://phabricator.services.mozilla.com/D180874
2023-06-16 21:57:23 +00:00
Niklas Baumgardner
e7cb292746
Bug 1580095 - Update youtube wrapper. r=pip-reviewers,mhowell
...
Depends on D179556
Differential Revision: https://phabricator.services.mozilla.com/D180873
2023-06-16 21:57:23 +00:00
Niklas Baumgardner
de7d493744
Bug 1580095 - Add audio scrubber to PiP. r=pip-reviewers,desktop-theme-reviewers,kpatenio,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D179556
2023-06-16 21:57:23 +00:00
Shane Hughes
c279477bb4
Bug 1775956 - Try again to fix an intermittent private browsing newtab test failure. r=omc-reviewers,pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D179647
2023-06-16 21:51:36 +00:00
Brad Werth
c0f1494020
Bug 1836824 Part 2: Add a crashtest of canvas with captureStream before getContext. r=jgilbert
...
This changes the original fuzzer test to explicitly delete the added
canvas element, rather than trying to close the window. Confirmed that
this asserts without the changes in Part 1.
Differential Revision: https://phabricator.services.mozilla.com/D181288
2023-06-16 21:13:01 +00:00
Brad Werth
13bfef14a1
Bug 1836824 Part 1: Make HTMLCanvasElement re-register its frame refresh driver when a context is updated. r=jgilbert
...
Since HTMLCanvasElement has a lazily-created context, and the
RequestedFrameRefreshObserver will fail to watch the state when the
context is null, this patch adds a hook to try to re-register when
UpdateContext is called. The superclass calls UpdateContext after the
context is initially created.
Differential Revision: https://phabricator.services.mozilla.com/D181149
2023-06-16 21:13:00 +00:00
Norisz Fay
2bb9370284
Backed out changeset 2c6db4cd2a87 (bug 1408479
) for causing task timeout failures and requested by dev CLOSED TREE
2023-06-17 00:13:50 +03:00
Brad Werth
50b102dff8
Bug 1815481: Disable hardware WebRender on Mesa drivers in Virtual Machines. r=rmader
...
We classify anything with 'mesa/vmgfx' as a Virtual Machine driver and
block it for Linux.
Differential Revision: https://phabricator.services.mozilla.com/D179864
2023-06-16 20:45:22 +00:00
Mike Conley
c276d2c608
Bug 1838871 - Fallback to previous behaviour of Ctrl-Shift-T if the in-memory undo actions list is empty. r=dao,sessionstore-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D181273
2023-06-16 20:22:46 +00:00
Calixte
3cf1e79df5
Bug 1838799 - Update PDF.js to new version 46b8f9e2f29bd6a3afca6f644bbba9016e5f2c27 r=pdfjs-reviewers,marco
...
Differential Revision: https://phabricator.services.mozilla.com/D181188
2023-06-16 20:15:43 +00:00
Andrew McCreight
7193640bea
Bug 1838879 - Centralize warning for nsXREDirProvider::mProfileDir. r=xpcom-reviewers,nika
...
nsXREDirProvider::mProfileDir will never be defined in a non-main process, so
adding a warning if we're missing one in that case just adds noise to the logs.
There was a lot of redundant ENSURE warning in code that ultimately depended
on mProfileDir, so this code rearranges things so that it all goes through
GetProfileStartupDir, then makes it so that we warn there if appropriate,
and do not warn anywhere else.
Looking back at the commit that added the comment about the
profile-after-change notification, this seems to be referring to a check on some
field mProfileNotified which no longer exists. Additionally, the component and
XPT registrations seem to be referring to NS_XPCOM_COMPONENT_REGISTRY_FILE and
NS_XPCOM_XPTI_REGISTRY_FILE, which also no longer exist. Therefore, I have
removed the comment and added a new one about the oddity of this particular
case.
Differential Revision: https://phabricator.services.mozilla.com/D181271
2023-06-16 18:41:30 +00:00
Marco Castelluccio
5d130d9537
Bug 898315 - Remove 'shouldCreate' parameter from FileUtils.getDir to avoid footguns. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D180604
2023-06-16 18:41:12 +00:00
Butkovits Atila
4bf8c41fca
Backed out changeset b8fcfbd2c5e9 (bug 1838871) for causing failures at browser_restoreLastClosedTabOrWindowOrSession.js. CLOSED TREE
2023-06-16 22:05:16 +03:00
Mozilla Releng Treescript
0e539a3a98
no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
...
lo -> aee1cc19a109368a6b5180a88a0d8b9c3fca3307
oc -> 73727612d486cc4eafe8c67fff654b141dcb9b63
sat -> 48c408e804e56f22c47d70d77a80cb36a8c6948a
2023-06-16 18:58:07 +00:00
Barret Rennie
da61a22c25
Bug 1775167 - Remove OS.File error support from ErrorSanitizer r=markh,sync-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D181174
2023-06-16 18:27:58 +00:00
Dan Robertson
a4da61cb08
Bug 1823700 - Enable wheel event groups by default. r=hiro
...
Enable wheel transactions to override the wheel event target by default.
Differential Revision: https://phabricator.services.mozilla.com/D181108
2023-06-16 18:27:11 +00:00
Botond Ballo
527482862b
Bug 1836870 - Restore scrollwheel overshoot detection code and telemetry. r=dlrobertson
...
Differential Revision: https://phabricator.services.mozilla.com/D180634
2023-06-16 18:25:42 +00:00
Adam Vandolder
0bf288bb5c
Bug 1556358 - Allow FormData::ForEach to take a closure instead of a raw function pointer. r=edgar
...
Depends on D174114
Differential Revision: https://phabricator.services.mozilla.com/D175542
2023-06-16 18:20:48 +00:00
Jari Jalkanen
216d5131c8
Bug 1818718 - GTest FileSystemDatabaseManagerVersion002. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D179920
2023-06-16 18:18:38 +00:00
Jari Jalkanen
10a90c6de9
Bug 1818718 - Parameterize TestFileSystemDataManagerVersions on database version. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D179919
2023-06-16 18:18:38 +00:00
Jari Jalkanen
251b6f1998
Bug 1818718 - Generalize TestFileSystemDataManagerVersion001 test. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D179918
2023-06-16 18:18:37 +00:00
Jari Jalkanen
05fe6be106
Bug 1836459
- Fix invalid value error on bind when column not present. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D179917
2023-06-16 18:18:37 +00:00
Jari Jalkanen
9ac722d877
Bug 1818718 - Return UniquePtr from FileManager factory method. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D181034
2023-06-16 18:18:37 +00:00
Jari Jalkanen
9c22c0bd16
Bug 1818718 - Fix xpcshell and mochitest usage expectations. r=dom-storage-reviewers,janv
...
After the schema change, database uses more space.
Differential Revision: https://phabricator.services.mozilla.com/D170900
2023-06-16 18:18:37 +00:00
Jari Jalkanen
6c71911346
Bug 1818718 - Expect more web platform tests to pass. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D170876
2023-06-16 18:18:37 +00:00
Jari Jalkanen
b66ccb6aeb
Bug 1818718 - Generate FileIds without collisions. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D170874
2023-06-16 18:18:37 +00:00
Jari Jalkanen
bf1fb5aa38
Bug 1818718 - Implement move and rename methods for the new schema. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D170872
2023-06-16 18:18:36 +00:00
Jari Jalkanen
bc77eb297d
Bug 1818718 - Implement FileId dependent methods for the new schema. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D174306
2023-06-16 18:18:36 +00:00
Jari Jalkanen
a94ff7c8f6
Bug 1818718 - Change FileSystem schema to support FileId. r=dom-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D170870
2023-06-16 18:18:36 +00:00
Kelsey Gilbert
f2bc14357b
Bug 1838739 - Initialize result of SetAsGPUOutOfMemoryError. r=webgpu-reviewers,nical
...
Differential Revision: https://phabricator.services.mozilla.com/D181161
2023-06-16 18:16:28 +00:00
Thiago Marques
f3e0985c12
Bug 1837832 - Change parameter types from T to Coord where appropriate in the remainder of the BasePoint interface r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D180814
2023-06-16 18:04:23 +00:00
Geoff Brown
3f12a1ea57
Bug 1408479
- Replace mozprocess with subprocess in mozharness run_command r=releng-reviewers,ahal
...
Many build and test tasks use mozharness' run_command() to run a build/test script, or other supporting process.
run_command() uses mozprocess if an output_timeout is specified, or subprocess otherwise. mozprocess has been problematic for many years and appears to be the cause for many intermittent failures. In this bug, hacks were previously put in place to work around a mozprocess hang in gradle tasks.
In this patch, mozprocess is removed from run_command() - subprocess is used in all cases - and a threading.Timer is used to implement the output_timeout. Known hacks for working around mozprocess are removed.
Differential Revision: https://phabricator.services.mozilla.com/D181132
2023-06-16 18:04:00 +00:00
Mike Conley
f0269d26fb
Bug 1838871 - Fallback to previous behaviour of Ctrl-Shift-T if the in-memory undo actions list is empty. r=dao,sessionstore-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D181273
2023-06-16 17:57:23 +00:00
Lu Yahan
3b926bd9d7
Bug 1837111 - Enable wasm baseline complier on riscv64. r=rhunt
...
Differential Revision: https://phabricator.services.mozilla.com/D180186
2023-06-16 17:42:02 +00:00
Emilio Cobos Álvarez
90059baeeb
Bug 1838670 - Annotate another test as passing.
...
MANUAL PUSH: Trivial orange fix CLOSED TREE
2023-06-16 20:01:48 +02:00
Jonathan Kew
9e55e5df92
Bug 1838768 - Quantize used font-size for canvas text, to improve caching behavior when font size is arbitrarily varying. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D181216
2023-06-16 17:36:12 +00:00
Emilio Cobos Álvarez
0d8c192553
Bug 1838731 - Fix scrollbar kind computation for scrollcorner. r=mstange
...
The scrollcorner isn't a child of a scrollbar so we don't find it.
Instead, check for the scrollable node. This info is only used on macOS,
this fixes the rendering of rtl scrollcorners with non-overlay
scrollbars, e.g.:
<div style="border: 1px solid; width: 100%; height: 100%; overflow: scroll; direction: rtl"></div>
Or so.
Differential Revision: https://phabricator.services.mozilla.com/D181259
2023-06-16 17:30:24 +00:00
Emilio Cobos Álvarez
e92382018b
Bug 1837818 - Minor selector matching tweaks. r=boris
...
The idea is to make the function small enough that it's fast to inline and
optimize by the compiler. For that:
* Move some complex bits of matches_simple_selector into functions so
that the compiler can put them out of line if it wants.
* Rename a function to be more descriptive and not force it to be
inline (that wasn't measured afaict, comes from the :nth-child(of)
implementation).
Depends on D180591
Differential Revision: https://phabricator.services.mozilla.com/D180592
2023-06-16 17:24:01 +00:00
Emilio Cobos Álvarez
cea323d30e
Bug 1837816 - Make selector cache not tied to a document. r=media-playback-reviewers,karlt,mstange
...
It doesn't really need to.
Differential Revision: https://phabricator.services.mozilla.com/D180591
2023-06-16 17:20:42 +00:00
Jeff Muizelaar
551660673f
Bug 1838900 - Increase the size of the canvas ring buffer. r=bobowen
...
When drawing complicated content to canvas the ring buffer will fill up
faster than we can consume which causes us to block on the main thread.
This shows up noticeably on the chartjs SP3 test.
Other browsers don't suffer from this problem:
Safari uses 2MB buffer:
https://searchfox.org/wubkat/rev/a420a9f3f6ab4c8d0c75aae3877d736d66affe36/Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp
Chrome records into a resizable vector.
In local testing a size of 512Kb was insufficient to avoid blocking but
1Mb was enough. I'm setting it to 512Kb for now in the hope that we can
reduce the recording size and make the replay fast enough that 512Kb wil
be enough.
Differential Revision: https://phabricator.services.mozilla.com/D181272
2023-06-16 17:14:49 +00:00
Jonas Jenwald
1449a50e56
Bug 1838883 - Correctly bundle the PDF Viewer findbar icons. r=pdfjs-reviewers,calixte
...
Because of a typo, the findbar icons weren't included in the build.
The reason that this has gone unnoticed until now is that the Firefox PDF Viewer uses the *browser* findbar by default, and the affected findbar is only needed for PDF documents embedded in e.g. `<iframe>` elements; this can be reproduced with e.g. https://web.archive.org/web/20220309040754/https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf
Differential Revision: https://phabricator.services.mozilla.com/D181265
2023-06-16 16:56:13 +00:00