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

762948 Коммитов

Автор SHA1 Сообщение Дата
Sandor Molnar d8e26b325c Backed out changeset fcf1918432f2 (bug 1718124) for causing perfdocs failures. CLOSED TREE 2021-07-13 19:10:12 +03:00
Kimberly Sereduck 14159a9b1f Bug 1718124: Add documentation for Raptor benchmark and scenario tests;r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D118750
2021-07-13 15:21:33 +00:00
Sandor Molnar dab21ee839 Backed out 2 changesets (bug 1719734, bug 1710934) for causing bc failures in browser_ext_themes_highlight. CLOSED TREE
Backed out changeset 74a832b24286 (bug 1719734)
Backed out changeset 9f6b5145351a (bug 1710934)
2021-07-13 18:29:26 +03:00
Jonathan Kew 0132f4c4df Bug 1720308 - Support VSCode installed as a snap package on Linux. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119769
2021-07-13 15:04:06 +00:00
Harry Twyford a639abe1b3 Bug 1706479 - Simplify page action style rules. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D114642
2021-07-13 15:03:19 +00:00
Sean Feng ddb0f775b2 Bug 1720200 - Enable dom.events.coalesce.touchmove in all channels r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D119673
2021-07-13 14:26:32 +00:00
Paul Adenot 10c0de933e Bug 1720293 - Update libcubeb to revision b2f60c9. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D119763
2021-07-13 14:25:15 +00:00
Harry Twyford a5072aba3e Bug 1719734 - Enable widget.macos.support-dark-appearance by default on Release. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D119440
2021-07-13 14:20:42 +00:00
Harry Twyford 1865ff1ebd Bug 1710934 - Manage toolbar field selection colors manually based on theme colors. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D118043
2021-07-13 14:20:41 +00:00
Sandor Molnar 14a27523eb Bug 1432170 - fix lint failure. CLOSED TREE 2021-07-13 17:22:28 +03:00
Robert Mader dd99cc8d30 Bug 1720187 - Better device and vendor ID detection in glxtest, r=aosmond
In D98108 we added infrastructure to detect infos for DRM devices in
multi GPU setups. We didn't use it for detecting device and vendor IDs
thought, which remained flaky.

Extend the code a little bit, allowing us to reliably get the right
IDs - at least for mesa drivers. This should make our detection
as reliable as it was when using GLX.

This should stop us from showing the following warning in most cases:
`[GFX1-]: More than 1 GPU from same vendor detected via PCI, cannot deduce device`

Differential Revision: https://phabricator.services.mozilla.com/D119666
2021-07-13 13:58:07 +00:00
vinoth eedf3ef13e Bug 1432170 - Add tests for CSP sandbox bypass with Blob. r=ckerschb,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D118008
2021-07-13 13:54:32 +00:00
Dave Townsend cd8ace30bf Bug 1698142: Backing out bug 1698100 as the telemetry has expired. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D119775
2021-07-13 13:53:08 +00:00
Marco Bonardo aae548f6f8 Bug 1719700 - Add Places storage for snapshots. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D119430
2021-07-13 13:45:54 +00:00
Robert Mader f691c9ecf9 Bug 1718569 - Implement custom FBO management, r=jgilbert,gfx-reviewers
Instead of using the Wayland EGL platform. The later is very convenient
but has several limitations. Managing FBOs allows to make our code more
similar to that of MacOS as well as the Wayland software backend.

Most importantly, it will allow us to cleanly implement partial damage
by giving us direct acces to previously submitted buffers, allowing us
to blit back from them, similar like in
`NativeLayerCA::HandlePartialUpdate`.
There are several other fields where more control over buffers will
come in handy, too many to describe them here in detail.

Note: we still use individual buffer pools for each tile. However, this
change brings everything into place to allow us to change to a more
`SurfacePoolCA`-style shared pool. That will reduce GPU-memory usage.

Includes some minor cleanups here and there.

Depends on D119013

Differential Revision: https://phabricator.services.mozilla.com/D118925
2021-07-13 13:44:12 +00:00
Claudia 8469ab6280 Bug 1708386 - [devtools] Add an evaluation result message when using the `copy` helper. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D119612
2021-07-13 13:05:00 +00:00
Nicolas Silva 6fb5745981 Bug 1716648 - Don't cache large linear gradients with hard stops. r=gfx-reviewers,lsalzman
Very large gradients are rendered at a lower resolution which is fine for most gradients as they tend to be smooth transitions, but looks bad when there are hard stops.

Differential Revision: https://phabricator.services.mozilla.com/D119628
2021-07-13 13:00:54 +00:00
Nicolas Silva 4948481cab Bug 1716648 - Avoid stretching with large linear gradients in some cases. r=gfx-reviewers,lsalzman
The tile size edtermines the number of pixels we allocate for the gradinrt pattern, and is eventually clamped to a maximum value. Minimizing the tile size after other transformations avoids some cases where we request more area than we need.

Differential Revision: https://phabricator.services.mozilla.com/D119627
2021-07-13 13:00:54 +00:00
Masayuki Nakano d9481b8a6a Bug 1706268 - Add telemetry probes to collect usage of `Document.execCommand` etc with Gecko-specific commands r=smaug, data-review=travis_
Currently, `increasefontsize`, `decreasefontsize`, `gethtml`, `heading`,
`contentReadOnly`, `readonly` and `insertBrOnReturn` commands are supported
only by Gecko.  So, if nobody uses some or all of them, we can drop the
unused commands.

For saving the space of `Document.mUseCounters`, this patch groups
`Document.queryCommandState` and `Document.queryCommandValue` because they
are both getter of the command.  The difference is not important.  And also
this patch groups `Document.queryCommandSupported` and
`Document.queryCommandEnabled` because they may be used for feature detection
and the difference is not important.

Differential Revision: https://phabricator.services.mozilla.com/D118956
2021-07-13 12:39:15 +00:00
Gerald Squelart 9b0d666eda Bug 1719240 - Rework PSMutex into PSAutoLock - r=canaltinova
This prevents unwanted direct access to the mutex, and removes duplicated code.

And make the Base Profiler mutex&lock consistent.

Differential Revision: https://phabricator.services.mozilla.com/D119147
2021-07-13 12:20:49 +00:00
Gerald Squelart 2323e31002 Bug 1719240 - Use BaseProfilerMutex and Lock for state-change APIs - r=canaltinova
PSMutex/Autolock are reserved for the main profiler mutex (which will change in the next patch.)

Differential Revision: https://phabricator.services.mozilla.com/D119146
2021-07-13 12:20:49 +00:00
Kimberly Sereduck 210d1cc333 Bug 1705420: Report the version of the application being tested in our perfherder data r=perftest-reviewers,sparky
implementing get_browser_meta for mozperftest

Differential Revision: https://phabricator.services.mozilla.com/D113861
2021-07-13 12:13:38 +00:00
Tooru Fujisawa 8f6310e25c Bug 1708450 - Move call and construct functions into js/public/CallAndConstruct.h. r=nbp
Depends on D119619

Differential Revision: https://phabricator.services.mozilla.com/D119620
2021-07-13 11:52:43 +00:00
Tooru Fujisawa cc92ef732d Bug 1708448 - Move property and element functions into js/public/PropertyAndElement.h. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D119619
2021-07-13 11:52:42 +00:00
Tooru Fujisawa bf37e9d86e Bug 1708432 - Move JS_Get*PropertyDescriptor* to js/public/PropertyDescriptor.h. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D119617
2021-07-13 11:52:41 +00:00
Nicolas Silva 6a1d26379e Bug 1719297 - Address uninitialized value warning (valgrind) in HitTestInfoManager. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D119186
2021-07-13 11:32:33 +00:00
Masayuki Nakano 886c96059e Bug 1718924 - part 18: Move some blocks which work with `TextServicesDocument::mOffsetTable` into new separated methods r=m_kato
Depends on D119164

Differential Revision: https://phabricator.services.mozilla.com/D119165
2021-07-13 11:19:22 +00:00
Jan Varga b9293292a5 Bug 1591877 - Share the same cached pref value of dom.storage.next_gen across all relevant processes; r=dom-storage-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D119711
2021-07-13 11:16:00 +00:00
Jan Varga ed1318cf0a Bug 1591877 - Forbid creation of PBackgroundLSRequest/PBackgroundLSSimpleRequest actors in the parent process if LSNG is not enabled; r=dom-storage-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D119710
2021-07-13 11:16:00 +00:00
Masayuki Nakano 1fbcf183f9 Bug 1718924 - part 17: Move `TextServicesDocument::mSelectionStartOffsetInTexInBlock` and `TextServicesDocument::mSelectionEndOffsetInTextInBlock` into `OffsetEntryTable` r=m_kato
Depends on D119163

Differential Revision: https://phabricator.services.mozilla.com/D119164
2021-07-13 11:09:57 +00:00
Masayuki Nakano abfa8fead9 Bug 1718924 - part 16: Move `TextServicesDocument::RemoveInvalidOffsetEntries()` to `OffsetEntry` r=m_kato
Depends on D119162

Differential Revision: https://phabricator.services.mozilla.com/D119163
2021-07-13 11:03:56 +00:00
Masayuki Nakano d3e59b2f42 Bug 1718924 - part 15: Move `TextServicesDocument::mSelStartIndex` and `TextServicesDocument::mSelEndIndex` into `OffsetEntryArray` r=m_kato
They are indices of `OffsetEntryArray`. Therefore, they should be managed in it.

Depends on D119161

Differential Revision: https://phabricator.services.mozilla.com/D119162
2021-07-13 10:57:48 +00:00
Masayuki Nakano 987147357a Bug 1718924 - part 14: Move `TextServicesDocument::SplitOffsetEntry` to `OffsetEntryArray` r=m_kato
Depends on D119160

Differential Revision: https://phabricator.services.mozilla.com/D119161
2021-07-13 10:51:46 +00:00
Masayuki Nakano f4d6fde8cd Bug 1718924 - part 13: Move `TextServicesDocument::NodeHasOffsetEntry()` into `OffsetEntryArray` r=m_kato
Depends on D119159

Differential Revision: https://phabricator.services.mozilla.com/D119160
2021-07-13 10:46:40 +00:00
Masayuki Nakano 5f44d6166c Bug 1718924 - part 12: Move `TextServicesDocument::FindWordBounds()` to `OffsetEntryArray` r=m_kato
Depends on D119158

Differential Revision: https://phabricator.services.mozilla.com/D119159
2021-07-13 10:19:40 +00:00
Julien Cristau 3a66c9fb13 Bug 1717540 - Add esr91 support. r=releng-reviewers,taskgraph-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D119521
2021-07-13 10:17:48 +00:00
Julien Cristau 829145a951 Bug 1717540 - remove comm-* from PER_PROJECT_PARAMETERS. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D119525
2021-07-13 10:17:47 +00:00
Masayuki Nakano e2aec22fef Bug 1718924 - part 11: Create custom class of `nsTArray<UniquePtr<OffsetEntry>>` r=m_kato
There are some methods in `TextServicesDocument` which work only with
`TextServicesDocument::mOffsetTable`.  Once we move such methods to custom
class of `nsTArray<UniquePtr<OffsetEntry>>`, we can make `TextServicesDocument`
simpler.

Depends on D119157

Differential Revision: https://phabricator.services.mozilla.com/D119158
2021-07-13 10:11:06 +00:00
Masayuki Nakano 3169bc5de5 Bug 1720252 - Get rid of "dom.input_events.beforeinput.enabled" from tests r=smaug
`beforeinput` event was shipped and it won't be disabled for avoiding confusion
of web developers. So, we can drop the pref setting of
"dom.input_events.beforeinput.enabled" in our tests.

Depends on D119716

Differential Revision: https://phabricator.services.mozilla.com/D119729
2021-07-13 10:02:12 +00:00
Masayuki Nakano b823b8b79c Bug 1715083 - Make `test_coalesce_mousehweel.html` wait to receive a user input event before running the first test r=smaug
Similarly, the test uses `synthesizeWheel` and it may be handled by the main
process before APZC has the `<iframe>`'s layout information.  So, it should
wait `promiseElementReadyForUserInput` before running its first test.

Differential Revision: https://phabricator.services.mozilla.com/D119716
2021-07-13 10:02:11 +00:00
Masayuki Nakano 931a8fba11 Bug 1716810 - Make `test_deltaMode_lines_always_enabled.html` wait to first user input via the parent process r=smaug
`synthesizeWheel` dispatches a `wheel` event via APZ.
* https://searchfox.org/mozilla-central/rev/b79212b4fc017f27ac2435a658d4e9b9798efa86/dom/base/nsDOMWindowUtils.cpp#755,789
* https://searchfox.org/mozilla-central/rev/b79212b4fc017f27ac2435a658d4e9b9798efa86/widget/PuppetWidget.cpp#383,386,396-397

So, it's important that the `<iframe>`'s layout information is registered in
the parent process.  Otherwise, the `wheel` event will be dispatched on the
`<iframe>` in the parent document instead.

Therefore, the test needs to wait a synthesized event via the parent process
before using `synthesizeWheel`.

Depends on D119596

Differential Revision: https://phabricator.services.mozilla.com/D119715
2021-07-13 10:02:11 +00:00
Masayuki Nakano afce03d9c7 Bug 1718924 - part 10: Make all `OffsetEntry` instances unique pointers r=m_kato
Now, it stores `dom::Text` with `OwningNonNull`.  So, once it's leaked, it
wastes a lot of memory spaces.  Therefore, we should make `mOffsetTable`
store `UniquePtr<OffsetEntry>` instead of `OffsetEntry*`.

Depends on D119156

Differential Revision: https://phabricator.services.mozilla.com/D119157
2021-07-13 09:55:59 +00:00
Masayuki Nakano b8ea33dddf Bug 1718924 - part 9: Rename `TextServicesDocument::mSel(Start|End)Offset` r=m_kato
Now, the meaning of `OffsetEntry` is clear.  Therefore, this patch adds comment
explaining the class and its members.

Then, the meaning of `TextServicesDocument::mSelStartOffset` and
`TextServicesDocument::mSelEndOffset` becomes clearer since they are used to
create `OffsetEntry` instances.  Therefore, this patch renames them.

Depends on D119155

Differential Revision: https://phabricator.services.mozilla.com/D119156
2021-07-13 09:42:34 +00:00
Jan de Mooij f0855a566f Bug 1719795 part 6 - Remove null check for JS::GetClass return value. r=mccr8
Every JSObject has a non-null JSClass and a lot of code depends on this.

Differential Revision: https://phabricator.services.mozilla.com/D119618
2021-07-13 09:31:34 +00:00
Jan de Mooij 59f8590115 Bug 1719795 part 5 - Change JSCLASS_PRIVATE_IS_NSISUPPORTS JSClasses to use a reserved slot instead. r=mccr8,jonco
This is a step towards removing object private slots.

Classes with JSCLASS_PRIVATE_IS_NSISUPPORTS now use JSCLASS_SLOT0_IS_NSISUPPORTS
instead. For most classes this means we need to add an extra reserved slot and remove
the private slot.

Global objects (SimpleGlobalObject and the XPConnect BackstagePass and Sandbox globals)
however can use the JSCLASS_GLOBAL_APPLICATION_SLOTS already there. These slots were
only used for WebIDL DOM globals until now.

Differential Revision: https://phabricator.services.mozilla.com/D119502
2021-07-13 09:31:34 +00:00
Jan de Mooij 5285ac89a9 Bug 1719795 part 4 - Remove unused AutoClonePrivateGuard. r=mccr8
Depends on D119500

Differential Revision: https://phabricator.services.mozilla.com/D119501
2021-07-13 09:31:34 +00:00
Jan de Mooij da70f70b5d Bug 1719795 part 3 - Inline XPC_WRAPPER_FLAGS. r=jonco,peterv
It's easier to reason about the JSClass flags without the extra level of indirection.

Depends on D119499

Differential Revision: https://phabricator.services.mozilla.com/D119500
2021-07-13 09:31:33 +00:00
Jan de Mooij ae80d7fdf0 Bug 1719795 part 2 - Use SandboxPrivate::GetPrivate more. r=mccr8
Depends on D119498

Differential Revision: https://phabricator.services.mozilla.com/D119499
2021-07-13 09:31:33 +00:00
Jan de Mooij bd355121f9 Bug 1719795 part 1 - Add a helper function for getting a SimpleGlobalObject's native global. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D119498
2021-07-13 09:31:32 +00:00
Kershaw Chang bba712b93d Bug 1654507 - Part2: Plumbing for echRetry, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D119403
2021-07-13 09:24:26 +00:00