Commit Graph

785061 Commits

Author SHA1 Message Date
Gerald Squelart
9d51c7527c Bug 1753192 - Move InChunkPointer to new header ProfileChunkedBufferDetail.h - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D137800
2022-02-11 03:13:50 +00:00
smolnar
af6e7b57c0 Backed out 4 changesets (bug 1730085) for causing bp-hybrid build bustages. CLOSED TREE
Backed out changeset dd90514bc052 (bug 1730085)
Backed out changeset 750f98502e6d (bug 1730085)
Backed out changeset e15365af4131 (bug 1730085)
Backed out changeset f08f12d82f7f (bug 1730085)
2022-02-11 05:25:29 +02:00
smolnar
290a28b6d5 Backed out changeset 260a3d2ed070 (bug 1747149) for causing android xpc failures in test_BrowserUtils. 2022-02-11 05:04:29 +02:00
James Teh
f5a04369df Bug 1754360: Move EndOffset to base Accessible. r=eeejay
Similar to StartOffset:

1. There was a Windows non-cached RemoteAccessible implementation, but it was never actually called, so I removed it.
2. The sync IPDL RemoteAccessible implementation previously provided a boolean indicating success.
    I removed this because the LocalAccessible implementation doesn't have this and it doesn't seem like remote is special in this respect.

Differential Revision: https://phabricator.services.mozilla.com/D138243
2022-02-11 02:37:13 +00:00
James Teh
3934c7d529 Bug 1730085 part 4: Implement support for BOUNDARY_WORD_END in TextLeafPoint and HyperTextAccessibleBase. r=eeejay
BOUNDARY_WORD_END is implemented using BOUNDARY_WORD_START and adjusting for spaces, which are word end boundaries.
This is arguably less efficient than it could be, since we will walk over space and then reverse course to compensate.
However, the alternative would mean keeping two slightly different versions of the word boundary check code in sync, plus compensating for the fact that a word often ends before a line start while still supporting words split by line wrapping.
I felt the lower complexity here outweighed the potential slight loss in efficiency.
We can always revisit this if this turns out to be a real problem.

Differential Revision: https://phabricator.services.mozilla.com/D138105
2022-02-11 02:25:21 +00:00
James Teh
6102cca20f Bug 1730085 part 3: Move GetWordBreakClass out of PrevWordBreakClassWalker, as it will be needed outside of that class soon. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D138104
2022-02-11 02:25:21 +00:00
James Teh
df5caa3102 Bug 1730085 part 2: Implement support for BOUNDARY_LINE_END in TextLeafPoint and HyperTextAccessibleBase. r=eeejay
BOUNDARY_LINE_END is implemented using BOUNDARY_LINE_START and adjusting for line feed characters, which are line end boundaries where present.

Differential Revision: https://phabricator.services.mozilla.com/D138103
2022-02-11 02:25:21 +00:00
James Teh
9e62d53a3d Bug 1730085 part 1: Fix some bugs in TextLeafPoint::FindBoundary for BOUNDARY_CHAR. r=eeejay
These bugs cause problems for the upcoming implementation of BOUNDARY_LINE_END.

1. Don't always return no character at the caret. Only do that if the caret is at the end of the line. This was always the intent; this was just a silly mistake.
2. When moving to the next character in an Accessible, don't move past the last character. This was a simple off-by-one error.

Differential Revision: https://phabricator.services.mozilla.com/D138102
2022-02-11 02:25:20 +00:00
ahochheiden
883848bcf0 Bug 1752879 - Remove unnecessary check for Homebrew PATH ordering r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D137565
2022-02-11 02:12:15 +00:00
Andrew McCreight
f4d8751f09 Bug 1754652 - Remove WINDOW_REMOTE_SUBFRAMES_ENABLED_STATUS telemetry. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D138472
2022-02-11 02:11:08 +00:00
Meg Viar
c62eb53c24 Bug 1747149 - Consolidate logic for when to show VPN promo and add BrowserUtils tests r=dmose,preferences-reviewers,prathiksha,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134874
2022-02-11 02:06:56 +00:00
Andrew Osmond
5e0eefe182 Bug 1754556 - Update WebGPU external image resource only after present is complete. r=kvark
This patch ensures that we only update the external image resource for
WebGPU when there has been an actual change for the resource. In order
to guarantee this, we wait for the present to complete, and only then
issue the update. WebRenderBridgeChild::SendResourceUpdates will also
trigger a frame generation if any resources were changed, which means we
don't need to trigger a paint on the frame itself anymore.

Note that we still have a race condition when we write into the
MemoryTextureHost while in PresentCallback, and the renderer thread may
be accessing the pixel data to upload to the GPU.

Differential Revision: https://phabricator.services.mozilla.com/D138349
2022-02-11 01:26:42 +00:00
Markus Stange
99a2412c5e Bug 1451902 - Enable framepointers for all macOS builds on all channels. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D138051
2022-02-11 00:38:45 +00:00
Matthew Gregan
13a95078c3 Bug 1754861 - Update AudioIPC macOS branch to 8b5c7db0. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D138478
2022-02-10 23:07:39 +00:00
Abhishek Aggarwal
7e23d5abd5 Bug 1754207 - Updating the vendor intgemm library r=yury
Differential Revision: https://phabricator.services.mozilla.com/D138462
2022-02-10 23:02:03 +00:00
ahochheiden
c5a6f22e14 Bug 1751781 - Intentionally #undef NAN and redefine it with the value from the STL r=glandium
With the latest Windows 10 SDK (10.0.20348.0), the value of NAN has changed
to differ from the STL. We intentionally #undef the value gotten from the SDK
and replace it with the STL value so that the comparison tests pass regardless
of the Windows SDK version.

Differential Revision: https://phabricator.services.mozilla.com/D137598
2022-02-10 22:47:15 +00:00
Byron Campen
ed0747f425 Bug 1753938: Return a resolved promise instead of a nullptr here. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D138047
2022-02-10 22:34:25 +00:00
Byron Campen [:bwc]
2de4cb5a57 Bug 1753938: Test case for bug. r=jib
Note that we do not pass this test even with the patch, but at least we don't crash.

Differential Revision: https://phabricator.services.mozilla.com/D138148
2022-02-10 22:34:25 +00:00
smolnar
e62f3ab431 Backed out changeset ea9c0779e27f (bug 1754861) for causing mda failures. CLOSED TREE 2022-02-11 00:24:21 +02:00
Randell Jesup
04eee57501 Bug 1748759: ipc cleanup r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D135184
2022-02-10 22:01:17 +00:00
Matthew Gregan
fe86399007 Bug 1754861 - Update AudioIPC macOS branch to d4ea0f2e. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D138478
2022-02-10 21:46:19 +00:00
Nicholas Rishel
ee26d5ca8e Bug 1754409 - Add catch for invalid manual update url. r=bytesized,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138473
2022-02-10 21:40:12 +00:00
smolnar
4b52196621 Merge mozilla-central to autoland. a=merge 2022-02-10 23:35:37 +02:00
smolnar
81c52abeec Merge autoland to mozilla-central. a=merge 2022-02-10 23:30:17 +02:00
Daisuke Akatsuka
52f770a48d Bug 1750583: Compress whitespaces in heading content. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D138242
2022-02-10 20:46:54 +00:00
Morgan Reschenberg
56b2c85bf3 Bug 1750583: Create MOXRootGroup for all body elements without a document role r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D138174
2022-02-10 20:46:54 +00:00
Cosmin Sabou
873cae9829 Backed out changeset 2f3db059a9d0 (bug 1748548) for xpcshell failures on test_ext_browserSettings.js. CLOSED TREE 2022-02-10 22:36:35 +02:00
Joel Maher
917006a675 Bug 1754098 - run mochitest as -no-fission. r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D138375
2022-02-10 20:26:37 +00:00
Byron Campen
7719bd317d Bug 1754797: Use .data() instead of subscripting at 0. r=mjf,heftig
Differential Revision: https://phabricator.services.mozilla.com/D138455
2022-02-10 20:22:44 +00:00
Gabriele Svelto
74cab0b0fc Bug 1754578 - Make the pthread_create() interposer work on glibc 2.34+ r=jld
Differential Revision: https://phabricator.services.mozilla.com/D138355
2022-02-10 20:18:57 +00:00
Nick Alexander
15d6ff018b Bug 1753718 - Post: Docs for shutdown background tasks process lifetimes. r=application-update-reviewers,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D138086
2022-02-10 20:12:26 +00:00
Nick Alexander
5c80bab6eb Bug 1753718 - Add test(s) ensuring that a running background task does not prevent application updates. r=application-update-reviewers,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D138085
2022-02-10 20:12:26 +00:00
Nick Alexander
108f8b50e4 Bug 1753718 - Pre: Prefix child process stdout lines with PID>; add stdout line callback. r=bytesized
We may get multiple lines or incomplete lines from the pipe, so we
need to split the data and keep the leftover.  This makes debugging a
little more pleasant and allows for the consumer to react to stdout as
it is read.

Differential Revision: https://phabricator.services.mozilla.com/D138222
2022-02-10 20:12:26 +00:00
Nick Alexander
6714edf70b Bug 1753718 - Pre: Optionally copy omnijars during update unit tests. r=application-update-reviewers,bytesized
Right now, the application can be launched after setup, but only for
very minimal functionality: that used to test the updater callback.
To test updating while background tasks are running, we need the
omnijars that contain the task definition JavaScript.  Since copying
large omnijars is expensive (at least on Windows), this is optional.
Using objects and defaults is not in keeping with the existing style
but adding yet another boolean argument is not sustainable.

While in the area, also print file permissions in octal.

Differential Revision: https://phabricator.services.mozilla.com/D138084
2022-02-10 20:12:25 +00:00
Shane Caraveo
81857f763c Bug 1748548 settings support for persistent listeners r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D136542
2022-02-10 19:58:54 +00:00
Mozilla Releng Treescript
479d311600 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
es-CL -> 3f83261f58084b0a142a5a1b1317dba48ef81efc
is -> cef0c5410a88b22df403e4be79f810644d69a884
nn-NO -> 35102ac77bebd2c8751b9d41bc964398c5b02dff
pt-BR -> bafa52e45472804cc3732f00c5edcca4da3188f3
rm -> 47c7199d633d0251da6ef0ac92fbf8d9e32405da
sat -> f82d788bca5f0adf45045364a41182b288aff690
tg -> 7f50ee79c27335f99ebe53b5c160b37aa8a0f118
2022-02-10 19:03:35 +00:00
Matthew Gaudet
b1106b847a Bug 1752206 - Enable DOM Streams by default r=smaug,firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D137771
2022-02-10 19:01:35 +00:00
Matthew Gaudet
8824165f73 Bug 1752206 - Flip the sense of the DOM Streams CI (test JS streams there instead now) r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D137770
2022-02-10 19:01:35 +00:00
Matthew Gaudet
dc1e7f435d Bug 1752206 - Add missing RootedDictionary include to make non-unified build work r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D138470
2022-02-10 19:01:35 +00:00
Sam Foster
ce6c8b8813 Bug 1747436 - Remove the @menuState* defines. r=dao
* menuStateMenuActive was defined but no longer in use
* Confirmed that a menu/menuitem can be both [disabled='true'] and [_moz-menuactive] at the same time
* In the bug there's a suggestion to use a class to simplify these selectors - but with the consolidation provided by the :is(), I'm not sure its necessary.

Differential Revision: https://phabricator.services.mozilla.com/D137922
2022-02-10 18:30:36 +00:00
Sean Feng
8e783e6bee Bug 1753471 - Only notify http-on-image-cache-response once per cache entry r=tnikkel
I've also tested the behavior in Chrome and I think this is
the correct way of doing it. Chrome also only notifies the
cached entry once, it won't notify it even if I manually
trigger it after pageload.

Differential Revision: https://phabricator.services.mozilla.com/D138346
2022-02-10 18:18:28 +00:00
Cosmin Sabou
3a5e7ade87 Backed out 2 changesets (bug 1752206) for causing Bp-hybrid bustages on WritableStream.cpp. CLOSED TREE
Backed out changeset bc0d7fc3a472 (bug 1752206)
Backed out changeset 5c89f3f10d0e (bug 1752206)
2022-02-10 20:16:51 +02:00
Jamie Nicol
c6d9460241 Bug 1754766 - Ensure AndroidHardwareBuffer is initialized in GPU process. r=gfx-reviewers,aosmond
When the (off-by-default) pref webgl.enable-ahardwarebuffer is
enabled, we use AHardwareBuffers rather than SurfaceTextures for webgl
on Android. Some users have enabled this pref and their browser is now
crashing since the GPU process was enabled.

The crash occurs because we have not initialized the
AndroidHardwareBufferApi instance to load the NDK function
pointers. This is performed in gfxPlatform in the parent process, but
because the GPU process does not have a gfxPlatform we must do this in
GPUParent as well. We must also initialize the
AndroidHardwareBufferManager, as is done by gfxPlatform.

Differential Revision: https://phabricator.services.mozilla.com/D138463
2022-02-10 17:36:21 +00:00
nchevobbe
08b16c6113 Bug 1754477 - [devtools] Clear Workers console message cache in WebConsoleActor#clearMessagesCache. r=ochameau.
With Bug 1674336 fixed, we can properly clear worker messages.
A test is added to check this works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D138315
2022-02-10 17:16:24 +00:00
nchevobbe
ce39e48888 Bug 1674336 - Add WorkerScope#clearConsoleEvents. r=asuth.
This will be used from the DevTools webconsole to clear events when
the user hits the clear button in the UI.

A test for the console is added in the next patch of the queue.

Differential Revision: https://phabricator.services.mozilla.com/D138314
2022-02-10 17:16:24 +00:00
Morgan Reschenberg
03a7882ef0 Bug 1744573: Maintain a reference to old ComputedStyle struct on LocalAccessibles r=Jamie,emilio
Differential Revision: https://phabricator.services.mozilla.com/D136435
2022-02-10 17:15:35 +00:00
Nick Alexander
61287b0f62 Bug 1753292 - Don't re-order entries in macOS unified build omnijars. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D138396
2022-02-10 17:10:52 +00:00
Csoregi Natalia
ae252d9945 Backed out changeset 5fcbba2f8f8c (bug 1720353) for failures on test_bug1281963.html. CLOSED TREE 2022-02-10 19:42:46 +02:00
Iulian Moraru
55e4577c2f Backed out changeset 4033796ef15f (bug 1754098) for causing gecko decision task bustages. CLOSED TREE 2022-02-10 19:17:48 +02:00
Matthew Gaudet
14c0324930 Bug 1752206 - Enable DOM Streams by default r=smaug,firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D137771
2022-02-10 17:06:09 +00:00