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

772484 Коммитов

Автор SHA1 Сообщение Дата
sotaro bbbd304278 Bug 1732733 - Add support of window occlusion on Windows by disabling it by pref r=jrmuizel,gfx-reviewers
Implementation is basically borrowed from chromium's NativeWindowOcclusionTrackerWin. For now, window occlusion could be applied only to toplevel window with compositor. Overview of current implementation is the following.
https://github.com/sotaroikeda/firefox-diagrams/blob/master/widget/widget_WinWindowOcclusionTracker_94.pdf

Capability of window occlusion is disabled by pref. VirtualDesktop handling is going to be handled by Bug 1732737.
nsPrintDialogUtil.cpp is moved to non-unified source to avoid build failure.

Differential Revision: https://phabricator.services.mozilla.com/D126710
2021-10-06 07:21:59 +00:00
Emily McDonough 7c9c0145a9 Bug 1732836 - Do not apply page scale twice when building display lists for paged content. r=mattwoodrow
This reverts the patch for bug 1720621.

This caused a conflict with the fix for bug 1722890, which fixed another case
of cutoff content when printing scaled. That fix should also cover the upscaled
case.

Differential Revision: https://phabricator.services.mozilla.com/D127594
2021-10-06 06:51:52 +00:00
Glenn Watson a9ef6ad97d Bug 1734282 - Remove some unused scroll frame APIs and code r=gfx-reviewers,jrmuizel
ScrollSensitivity is not used by Gecko. Also remove some remnants
of the old code to combine scroll frames when display lists swap.

Differential Revision: https://phabricator.services.mozilla.com/D127609
2021-10-06 06:43:03 +00:00
Punam Dahiya 615e9f60a7 Bug 1734127 - Fix displayed colorways name inside variation circle r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D127574
2021-10-06 04:55:10 +00:00
James Teh 174f5c0b71 Bug 1730093 part 4: Support RemoteAccessible in TextLeafPoint. r=eeejay
This uses the unified AppendTextTo and TextLength, as well as adding support for cached line start boundaries.

Differential Revision: https://phabricator.services.mozilla.com/D127205
2021-10-06 04:53:54 +00:00
James Teh 1ae2aea0d0 Bug 1730093 part 3: Support RemoteAccessible in nsAccUtils::TextLength. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D127204
2021-10-06 04:53:53 +00:00
James Teh 3b8873fe57 Bug 1730093 part 2: Move AppendTextTo to Accessible and implement it for RemoteAccessible. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D127203
2021-10-06 04:53:53 +00:00
James Teh 832dddd128 Bug 1730093 part 1: Push text and line start offsets to the cache. r=eeejay
As part of this, we no longer cache the name for text accessibles, as that would be redundant.
Instead, we return the cached text in RemoteAccessible::Name.

Differential Revision: https://phabricator.services.mozilla.com/D127202
2021-10-06 04:53:52 +00:00
Henrik Skupin 6553b9b08f Bug 1601245 - [remote] Enable Puppeteer and CDP browser-chrome mochitests for Fission. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D127524
2021-10-06 04:30:27 +00:00
Henrik Skupin 1f3a832413 Bug 1601245 - [remote] Use "document-element-inserted" notification to determine when a frame is ready. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D127522
2021-10-06 04:30:26 +00:00
Henrik Skupin 322b371255 Bug 1601245 - [remote] Fix the handling of life-cycle "init" events for initial about:blank pages. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D127523
2021-10-06 04:30:26 +00:00
Henrik Skupin 1f575b4324 Bug 1601245 - [remote] With Fission enabled use "DOMWindowCreated" event to detect newly created frames. r=webdriver-reviewers,jdescottes
Because with Fission enabled the "DOMWindowCreated" event
is emitted way early it can be used to detect when a new
frame has been created.

But with Fission disabled the event is received too late,
and as such the appropriate network requests and responses
for the document have already been done. That means that
Puppeteer actually hangs waiting for them.

As such keep using the "webnavigation-create" observer
notification for Fission-disabled builds for now.

Differential Revision: https://phabricator.services.mozilla.com/D127521
2021-10-06 04:30:25 +00:00
Henrik Skupin 5a76e49c23 Bug 1601245 - [remote] Update browser-chrome tests to assert on event count and not event order. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D127520
2021-10-06 04:30:25 +00:00
Glenn Watson 41785a2204 Bug 1734280 - Remove pipeline_id from hit-test API r=gfx-reviewers,jrmuizel
The ability to restrict hit-tests by pipeline_id isn't used by
Gecko or wrench. Remove it to simplify landing some of the upcoming
spatial tree work.

Differential Revision: https://phabricator.services.mozilla.com/D127608
2021-10-06 03:59:16 +00:00
Mike Hommey 72e3c52560 Bug 1731720 - Upgrade toolchains using clang 11 to clang 12. r=firefox-build-system-reviewers,andi
And remove the now unused clang 11 toolchains.

Differential Revision: https://phabricator.services.mozilla.com/D126176
2021-10-06 03:57:41 +00:00
Andi-Bogdan Postelnicu 9be2e3bdd5 Bug 1709274 - Update wrench-macos-build to clang-12. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D114202
2021-10-06 03:54:04 +00:00
Mike Hommey d9a281a906 Bug 1709274 - Upgrade osmesa-src to current trunk. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D127602
2021-10-06 03:54:04 +00:00
Mike Hommey deefbbe65b Bug 1733508 - Fix failure to build with 11.0 macOS SDK. r=mstange
Take 2.

Differential Revision: https://phabricator.services.mozilla.com/D127199
2021-10-06 02:24:29 +00:00
Mike Hommey fdfbf4db02 Bug 1733547 - Fix non-unified build errors in breakpad. r=gsvelto
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1761:17: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1766:9: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1770:19: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1774:18: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/google-breakpad/src/processor/stack_frame_symbolizer.cc:132:10: error: 'return' will never be executed [-Werror,-Wunreachable-code-return]

Differential Revision: https://phabricator.services.mozilla.com/D127240
2021-10-06 02:09:44 +00:00
Hiroyuki Ikezoe 508b513463 Bug 1730998 - Remove apz peek messages stuff. r=botond
This stuff is now a no-op because the RequestContentRepaint message has a
higher priority than vsync.

Differential Revision: https://phabricator.services.mozilla.com/D127593
2021-10-06 01:07:37 +00:00
Hiroyuki Ikezoe 58c55c786a Bug 1730998 - Add a browser mochitest to make sure a position:sticky element gets painted properly during fast async scrolling. r=botond
This test is based on a test case attached in bug 1585378.

This test has to be a browser mochitest since we need to drag the root content
vertical scroll thumb during the content process is under heavy load to build
a tons of display items.

Differential Revision: https://phabricator.services.mozilla.com/D127033
2021-10-06 01:07:36 +00:00
Hiroyuki Ikezoe 1f198f9704 Bug 1730998 - Use `control` priority for RequestContentRepaint and NotifyFlushComplete, and process them in an early refresh driver runner. r=botond,smaug
Differential Revision: https://phabricator.services.mozilla.com/D127032
2021-10-06 01:07:36 +00:00
Hiroyuki Ikezoe d43a34b104 Bug 1730998 - Bail out if the pres context was destroyed in an early runner. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D127030
2021-10-06 01:07:35 +00:00
Ed Lee 164bdb717d Bug 1734136 - Reduce some monochromatic theme background file sizes r=pdahiya
Remove unnecessary parts of abstract.png and update foto.png to be smaller and less aliasing.

Differential Revision: https://phabricator.services.mozilla.com/D127568
2021-10-06 00:44:12 +00:00
Tetsuharu Ohzeki c17ac7f311 Bug 1733973 - Remove unused layers::UpdateIndirectTree(). r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D127517
2021-10-06 00:40:21 +00:00
Tetsuharu Ohzeki 92a33e46f7 Bug 1733977 - Remove unused ReadbackProcessor. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D127465
2021-10-06 00:40:07 +00:00
Tetsuharu Ohzeki 889748a9e9 Bug 1733977 - Remove unused gfx/layers/client/ContentClient.h. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D127516
2021-10-06 00:40:06 +00:00
Iulian Moraru 64193785d4 Backed out 3 changesets (bug 1724509) for causing marionette failures. CLOSED TREE
Backed out changeset d47ffc49daff (bug 1724509)
Backed out changeset b267592b49db (bug 1724509)
Backed out changeset b34151a18850 (bug 1724509)
2021-10-06 03:57:57 +03:00
Masayuki Nakano fb82cd4173 Bug 1725850 - part 24: Port editor/libeditor/crashtests/636074-1.html to WPT r=saschanaz
Depends on D127511

Differential Revision: https://phabricator.services.mozilla.com/D127512
2021-10-05 23:44:54 +00:00
Masayuki Nakano 88c6ffc414 Bug 1725850 - part 23: Port editor/libeditor/crashtests/615450-1.html to WPT r=saschanaz
Depends on D127510

Differential Revision: https://phabricator.services.mozilla.com/D127511
2021-10-05 23:44:54 +00:00
Masayuki Nakano 458ac8f180 Bug 1725850 - part 22: Port editor/libeditor/crashtests/615015-1.html to WPT r=saschanaz
Depends on D127509

Differential Revision: https://phabricator.services.mozilla.com/D127510
2021-10-05 23:44:54 +00:00
Masayuki Nakano 2c7cc7087c Bug 1725850 - part 21: Port editor/libeditor/crashtests/612565-1.html to WPT r=saschanaz
Depends on D127508

Differential Revision: https://phabricator.services.mozilla.com/D127509
2021-10-05 23:44:53 +00:00
Masayuki Nakano 61f689566c Bug 1725850 - part 20: Port editor/libeditor/crashtests/499044-1.html to WPT r=saschanaz
Depends on D127507

Differential Revision: https://phabricator.services.mozilla.com/D127508
2021-10-05 23:44:53 +00:00
Masayuki Nakano f3f0050435 Bug 1725850 - part 19: Port editor/libeditor/crashtests/459613.html to WPT r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D127507
2021-10-05 23:44:53 +00:00
Timothy Nikkel 2ff7452f40 Bug 1732660. Make GetPaintedLayerScaleForFrame use transform to ancestor scale passed down from ancestor process. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D126652
2021-10-05 22:40:05 +00:00
Agi Sferro 4cf1584f9c Bug 1714945 - Wait until app is ready for xpcshell on Android. r=jmaher,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D127296
2021-10-05 22:10:00 +00:00
Agi Sferro fbd2730376 Bug 1714945 - Re-enable permissions tests on Android. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D127295
2021-10-05 22:10:00 +00:00
Agi Sferro 4fa08131c7 Bug 1714945 - Add StorageController::setPrivateBrowsingPermanentPermission. r=owlish
Normally, a private browsing session doesn't store any data permamently. This
extends to permissions, which are cleared at the end of the browsing session
(i.e. when the GeckoRuntime is closed or killed).

There are cases, however, where we want to keep the data around. For example
Focus needs to store tracking protection permissions permanently.

For this reason, this patch introduces a new API that allows embedders to set
permanent permissions for private browsing GeckoSession.

This patch also always sends a tracking protection permission for every page
load, this allows embedders to set the tracking protection permission without
using the deprecated API `setPermission`, this was an oversight during the
implementation of the new StorageController API.

Differential Revision: https://phabricator.services.mozilla.com/D126546
2021-10-05 22:09:59 +00:00
Agi Sferro 486cf25495 Bug 1714945 - Clean up PermissionDelegateTest. r=owlish
Removes redundant namespaces, adds some static imports, cleans up some java-ism
(like .equals and semicolons).

Differential Revision: https://phabricator.services.mozilla.com/D126545
2021-10-05 22:09:59 +00:00
Agi Sferro b84a0603d7 Bug 1714945 - Allow setting permanent permissions for private browsing r=timhuang,johannh
By default nsIPermissionManager will not persist data in private browsing.

There are cases however, like private-only-browser Firefox Focus, where we
would want to be able to persist tracking protection exceptions permanently.

This patch adds a new method called
`addFromPrincipalAndPersistInPrivateBrowsing` which allows setting permanent
permissions in private browsing..

Differential Revision: https://phabricator.services.mozilla.com/D126544
2021-10-05 22:09:59 +00:00
Agi Sferro 165f96a8a2 Bug 1714945 - Actually deprecate ContentBlockingController. r=owlish
Differential Revision: https://phabricator.services.mozilla.com/D126543
2021-10-05 22:09:58 +00:00
Agi Sferro 36efcb63bd Bug 1572245 - Add TestRuntimeService to restart runtime in tests. r=owlish
This patch adds a new test service class that can be used to more easily write
a test that needs to run multiple runtimes or needs to reset the runtime.

The service also includes an optional Instance class that can be used to
control the service and send and receive messages from the remote runtime.

Differential Revision: https://phabricator.services.mozilla.com/D126542
2021-10-05 22:09:58 +00:00
Connor Sheehan c8006ed003 Bug 1732776: pass `HGPLAIN=1` in the environment when pull/updating Mercurial r=mhentges
Previously we maintained a list of extensions to disable when running pull/update
to avoid broken extensions inhibiting `hg` from running. This list was never
updated when `evolve` was added as a commonly installed extension nor when
`js-format` and `clang-format` were written. This commit changes the update
code to use `HGPLAIN=1` in the environment which will disable all extensions
from being enabled.

Differential Revision: https://phabricator.services.mozilla.com/D127569
2021-10-05 21:56:12 +00:00
Bernard Igiri c963482cdd Bug 1732884 - Update download panel appearance when improvements are turned on r=Gijs
Updated the hover appearance of currently downloading items, to mimic that of items that are already downloaded, when the improvements-to-downloads pref is turned on.

Differential Revision: https://phabricator.services.mozilla.com/D127342
2021-10-05 21:02:20 +00:00
Jackson Popkin 7f087b3bb2 Bug 1733845: Fix Gecko Logging doc links r=nika,sylvestre DONTBUILD
Gecko logging documentation moved earlier this year. Some docs and comments
still refer to the old URL, which now 404s.

Differential Revision: https://phabricator.services.mozilla.com/D127369
2021-10-05 21:00:33 +00:00
Matt Woodrow c897cc47f4 Bug 1730682 - Merge clips when flattening opacity. r=miko
This is required to get tests to pass without fuzz on Android.

Depends on D125633

Differential Revision: https://phabricator.services.mozilla.com/D127513
2021-10-05 20:47:30 +00:00
Matt Woodrow 56ab466288 Bug 1730682 - Flatten opacity before setting up clips. r=miko
Pushing the clip for the opacity item into the clip manager has a non-trivial cost, so we get better performance if we handle flattening the item before that.

Differential Revision: https://phabricator.services.mozilla.com/D125633
2021-10-05 20:47:30 +00:00
Morgan Reschenberg 16a6a4e7b0 Bug 1732154: Add ParentRelativeBounds method for HTMLImageMapAccessible r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D126386
2021-10-05 20:44:46 +00:00
Morgan Reschenberg 8ec999d32d Bug 1726227: Cache parent-relative accessible bounds, resolution in parent process r=Jamie,eeejay
Differential Revision: https://phabricator.services.mozilla.com/D123399
2021-10-05 20:44:46 +00:00
Harry Twyford cbd084151b Bug 1732430 - Use theme-aware system colors in panel inputs. r=dao
This patch also ends the use of -moz-system-color because using color-scheme is more robust and supported by the spec.

Differential Revision: https://phabricator.services.mozilla.com/D126997
2021-10-05 20:24:03 +00:00