755937 Commits

Author SHA1 Message Date
ry99
1c21a08ed5 Bug 1703792 - Fixed the last [Learn more] link floating to right in Nightly Data Collection and Use inside Preferences r=Gijs,preferences-reviewers,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112192
2021-05-03 13:24:26 +00:00
ffxbld
74cffb00e1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D114090
2021-05-03 13:02:40 +00:00
Emilio Cobos Álvarez
4751e27983 Bug 1707720 - Use saturating addition for math-depth. r=fredw
Differential Revision: https://phabricator.services.mozilla.com/D114070
2021-05-03 11:40:26 +00:00
Nicolas Chevobbe
0f8b07b880 Bug 1708626 - [devtools] Remove usage of Promise.jsm in tests. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D113912
2021-05-03 11:35:18 +00:00
James Teh
c33d1b0837 Bug 1694865 part 25: Remove inheritance of Msaa*Accessible/ia2*Accessible into *AccessibleWrap! r=morgan
1. ia2AccessibleApplication is instantiated for ApplicationAccessible, so it now inherits from MsaaAccessible.
2. ia2AccessibleHypertext is instantiated for HyperTextAccessible, so it now inherits from MsaaAccessible.
3. ia2AccessibleImage is instantiated for ImageAccessible, so it inherits from MsaaAccessible.
4. ia2AccessibleTable is instantiated for TableAccessible, so it inherits from ia2AccessibleHypertext (since most TableAccessible implementations implement HyperTextAccessible).
5. ia2AccessibleTableCell is instantiated for TableCellAccessible, so it inherits from ia2AccessibleHypertext (since most TableCellAccessible implementations implement HyperTextAccessible).
6. All of the above override QueryInterface as appropriate, replacing the QueryInterface implementations from all *AccessibleWrap classes.
7. The ARIAGridAccessibleWrap, HTMLTableAccessibleWrap, ImageAccessibleWrap, XULListboxAccessibleWrap and XULTreeGridAccessibleWrap classes previously served only to host ia2AccessibleImage, ia2AccessibleTable, etc. Since these ia2 classes are now instantiated via MsaaAccessible, these Wrap classes have been removed and replaced with aliases.
8. The QueryInterface handling for ISimpleDOMText has been moved into MsaaAccessible. Since this was the only purpose of TextLeafAccessibleWrap, this too has been removed and replaced with an alias.
9. AccessibleWrap now holds a strong reference to MsaaAccessible and MsaaAccessible holds a weak reference to AccessibleWrap.
10. An MsaaAccessible (or derived class) is instantiated by MsaaAccessible::Create.
11. MsaaAccessible now implements its own COM reference counting using DECL_IUNKNOWN, since it does not need nsISupports (XPCOM).

Differential Revision: https://phabricator.services.mozilla.com/D112956
2021-05-03 11:31:04 +00:00
Csoregi Natalia
a5d0603d71 Merge mozilla-central to autoland. CLOSED TREE 2021-05-03 12:47:22 +03:00
Csoregi Natalia
5409753095 Merge autoland to mozilla-central. a=merge 2021-05-03 12:44:08 +03:00
Timothy Nikkel
ad9b228b2a Bug 1702851. Allow double tap zoom to zoom to generated content. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110741
2021-05-03 09:20:56 +00:00
Nicolas Silva
ab62b81a1f Bug 1707930 - Account for reversed stops in the gradient cache key. r=gfx-reviewers,lsalzman
WebRender internally reverses gradient stops when they are ordered from right to left. This is done while building the GPU data and the gradient cache key stored the reversed stops without sepcifying if they were revered or originally in that order. This meant that if a page had two similar gradients with the only difference being that on was reversed but not the other, they could end up using the same cache key and one of the two would not be rendered properly.

This patch includes a boolean in the cache key to make sure reversed gradients don't accidentally use the same key as similar non-reversed gradients.

Differential Revision: https://phabricator.services.mozilla.com/D113975
2021-05-03 09:12:43 +00:00
Nicolas Silva
06ef812482 Bug 1707744 - Avoid far gradient endpoints causing large gradient segments. r=gfx-reviewers,lsalzman
Large segment bounds trip an assertion when casting coordinates to integers. Clipping early also reduces the amount of cached pixels.

Differential Revision: https://phabricator.services.mozilla.com/D113819
2021-05-03 09:12:42 +00:00
Nicolas Silva
720d336a44 Bug 1706678 - Fix cached gradient scaling. r=gfx-reviewers,lsalzman
Large gradients are cached scaled down and stretched back by the image brush. Because the scaling factor is non-uniform the shader has to take it into account. The previous implementation was incorrectly accounting for the scale.

Differential Revision: https://phabricator.services.mozilla.com/D113753
2021-05-03 09:12:42 +00:00
Valentin Gosu
2f83f1a6f4 Bug 1699660 - Create ConfirmationWrapper to enforce logic separation r=necko-reviewers,dragana
This is needed because TRRService is a friend class of TRRService
(needed to provide access to private constructor). If we find a way to
have a friend destructor method then we would not need the wrapper.

Differential Revision: https://phabricator.services.mozilla.com/D113312
2021-05-03 09:09:19 +00:00
Valentin Gosu
265d070890 Bug 1706975 - TRRService::Notify should hold lock when accessing timer r=necko-reviewers,dragana
We should be holding the lock when comparing the timer pointers otherwise
we have a race where the timer is replaced and cancelled under the lock
but we either still call the handler or simply crash.

Differential Revision: https://phabricator.services.mozilla.com/D113311
2021-05-03 09:09:19 +00:00
Valentin Gosu
6a9335258f Bug 1699660 - Make HandleConfirmationEvent a member function of ConfirmationContext r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113310
2021-05-03 09:09:18 +00:00
Valentin Gosu
5b5fc756c9 Bug 1699660 - Move TRRIsOkay logic to ConfirmationContext and rename to RecordTRRStatus r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113309
2021-05-03 09:09:18 +00:00
Valentin Gosu
57a752e892 Bug 1699660 - Make CompleteConfirmation a member of TRRService::ConfirmationContext r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113308
2021-05-03 09:09:17 +00:00
Valentin Gosu
0d38e8c1db Bug 1699660 - Make TRRService::ConfirmationContext implement nsITimerCallback r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113307
2021-05-03 09:09:17 +00:00
Edgar Chen
175367a9cc Bug 1707870 - Stop generating empty namespace block; r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D113502
2021-05-03 08:58:56 +00:00
Kagami Sascha Rosylight
69d0e90d28 Bug 1708702 - Add to radio group after handling type change r=edgar
The previous assumption was that mType would be updated before AfterSetAttr(), but that assumption is invalidated by bug 1347640. This patch moves the radio group addition part to the position after HandleTypeChange() is called.

Differential Revision: https://phabricator.services.mozilla.com/D114038
2021-05-03 08:53:02 +00:00
Dragana Damjanovic
93d94e1a32 Bug 1705171 - Reset Http3Session::mTransactionCount after ZeroRtt data have been rejected r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D114017
2021-05-03 08:49:49 +00:00
Jan-Erik Rediger
59d7f84bcd Bug 1611770 - Update Glean to v37.0.0. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D113982
2021-05-03 08:37:15 +00:00
Dão Gottwald
56031a1d67 Bug 1708908 - Use @media (prefers-contrast) instead of @media (-moz-windows-default-theme: 0) in button.css. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D114047
2021-05-03 08:37:12 +00:00
Nicolas Chevobbe
31d1a9f133 Bug 1665020 - [devtools] Enable browser_toolbox_backward_forward_navigation.js on fission. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D113483
2021-05-03 08:10:36 +00:00
Anshul Sahai
7b08dcedd7 Bug 1575080 - Changing the identity icon and the string inside the identity panel for net error pages. r=fluent-reviewers,johannh
Differential Revision: https://phabricator.services.mozilla.com/D112384
2021-05-03 07:51:14 +00:00
Ben Dean-Kawamura
f986046726 Bug 1702376 - Removed the wipeAll command. r=markh
- Use `wipeEngine("tabs")` instead of `wipeAll()` as a test command in test_clients_engine.js
- Made the `engines` param required in `wipeRemote()`

Differential Revision: https://phabricator.services.mozilla.com/D113159
2021-05-03 02:11:59 +00:00
Emilio Cobos Álvarez
2dc3d42803 Bug 1707957 - Restore two lines in RemoteLookAndFeel which shouldn't have been removed.
MANUAL PUSH: Trivial fixup so that theme password char is honored in content processes a CLOSED TREE.
2021-05-03 02:04:49 +02:00
Butkovits Atila
37ebf0c298 Bug 1698698 - add comment spaces a=typo-fix 2021-05-03 01:08:26 +03:00
Butkovits Atila
4129f38252 Bug 1698698 - disable test_pointerlock_xorigin_iframe.html on Win, Android_64, Mac_64_WR for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113910
2021-05-02 17:33:18 +00:00
Jan Varga
2372314fa1 Bug 1690025 - Move and rename DirectoryLock::Specialize to UniversalDirectoryLock::SpecializeForClient; r=dom-storage-reviewers,asuth
This patch also changes the only consumer to not depend on the lock passed to
OpenDirectoryListener::DirectoryLockAcquired because it uses the base type (
unsafe static_cast would have to be used).

Differential Revision: https://phabricator.services.mozilla.com/D104804
2021-05-02 09:57:15 +00:00
Xidorn Quan
083983b7f0 Bug 1708897 - Remove layout.css.ruby.position-alternate.enabled pref. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D114044
2021-05-02 03:27:50 +00:00
James Teh
1d4975717e Bug 1694865 part 24: Change uiaRawElmProvider to not rely on AccessibleWrap inheritance. r=morgan
It now uses GetNativeInterface when returning IAccessibles to clients.

Differential Revision: https://phabricator.services.mozilla.com/D112955
2021-05-01 22:29:27 +00:00
James Teh
4c07d821c8 Bug 1694865 part 23: Support inheritance/overriding of reference counting in IUnknownImpl. r=morgan
Until now, our a11y COM implementation has relied on AddRef and Release from nsISupports, but this soon won't be possible.
Instead, MsaaAccessible will implement its own reference counting using DECL_IUNKNOWN.

DECL_IUNKNOWN previously declared AddRef and Release as final.
This doesn't work for MsaaAccessible because there is an aggregatable subclass (MsaaRootAccessible) and because some subclasses will inherit additional interfaces (ia2AccessibleApplication, etc.).

When subclasses inherit additional interfaces, they inherit an additional IUnknown, so the compiler doesn't know which AddRef/Release to call.
To support this, IMPL_IUNKNOWN_REFCOUNTING_INHERITED HAS BEEN ADDED to specify which base class implements reference counting.

Differential Revision: https://phabricator.services.mozilla.com/D112954
2021-05-01 22:29:27 +00:00
James Teh
812dc1cf7c Bug 1694865 part 22: Change LazyInstantiator to aggregate MsaaRootAccessible instead of RootAccessibleWrap. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D112953
2021-05-01 22:29:26 +00:00
James Teh
0613e5347a Bug 1694865 part 21: Move QueryInterface implementation from AccessibleWrap to MsaaAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D112951
2021-05-01 22:29:26 +00:00
James Teh
b7d47b6dde Bug 1694865 part 20: Change ServiceProvider to not rely on AccessibleWrap inheritance. r=morgan
It now aggregates MsaaAccessible and uses GetNativeInterface when returning accessibles to clients.

Differential Revision: https://phabricator.services.mozilla.com/D112950
2021-05-01 22:29:25 +00:00
James Teh
463cee1200 Bug 1694865 part 19: Make EnumVariant, GeckoCustom and sdn*Accessible classes aggregate MsaaAccessible/MsaaDocAccessible instead of AccessibleWrap/DocAccessibleWrap. r=morgan
These objects need to aggregate the primary COM object (MsaaAccessible).
Once the IUnknown implementation moves out of AccessibleWrap, it won't be possible to aggregate *AccessibleWrap any more.

Differential Revision: https://phabricator.services.mozilla.com/D112949
2021-05-01 22:29:25 +00:00
Scott
c38fab2acd Bug 1701338 - Remove old pocket button panel templates. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D113430
2021-05-01 21:09:04 +00:00
Emilio Cobos Álvarez
edcab9e98f Bug 1708063 - Don't allow whitespace between media query operator delim tokens. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D113648
2021-05-01 21:04:47 +00:00
Eden Chuang
77197dcbb9 Bug 1701868 - Opaque response blocking after UnknownDecoder recognizes the allowed or blocked type. r=necko-reviewers,dragana
The original implementation concept of Opaque Response Blocking is trying to recognize the blocked or allowed content type in nsHttpChannel::CallOnStartRequest. However, the data could be not available at the moment for type sniffing. And nsUnknownDecoder could be used for type sniffing when OnDataAvailable is called.

So this patch targets this case and applying Opaque Response Blocking after the type is recognized by nsUnknownDecoder.

Differential Revision: https://phabricator.services.mozilla.com/D110901
2021-05-01 20:58:16 +00:00
Eden Chuang
6918ac34a0 Bug 1701868 - Testcase for OpaqueResponseBlocking with type sniffing fail. r=necko-reviewers,dragana
The ORB spec mentions in step 5 that

Wait for 1024 bytes of response or end-of-file, whichever comes first and let bytes be those bytes.

However, this is not guaranteed.

Type sniffing could get fail if the data is not available at the moment, and the response would be reported as Allowed_FailtoGetMIMEType. But in some cases, it should be reported as Allowed_SniffAsImageOrAudioOrVideo.

This patch tries to reproduce the situation above with a browser mochitest by using a compressed(gzip) image file to trigger nsUnknownDecoder.

Differential Revision: https://phabricator.services.mozilla.com/D112698
2021-05-01 20:58:15 +00:00
Emilio Cobos Álvarez
e2df872ab8 Bug 1708285 - Pass default font settings from parent to child processes. r=jfkthame
Instead of relying on GTK to be initialized in the child process.

Differential Revision: https://phabricator.services.mozilla.com/D113784
2021-05-01 20:00:31 +00:00
Harry Twyford
ee592d0f15 Bug 1708788 - Update remaining extension icons. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D114008
2021-05-01 13:03:47 +00:00
Luca Greco
a35411fbed Bug 1701152 - Use a browser element for the pocket customizable widget panel. r=Gijs,thecount
Differential Revision: https://phabricator.services.mozilla.com/D113960
2021-05-01 12:32:42 +00:00
Jon Coppeard
60db3d641e Bug 1708740 - Move exception APIs from jsapi.h to public Exception.h header r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D113996
2021-05-01 12:10:15 +00:00
Jon Coppeard
4be051558e Bug 1708739 - Move Map and Set APIs to new public header r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D113995
2021-05-01 12:10:15 +00:00
Jon Coppeard
402ae42f29 Bug 1708739 - Move WeakMap APIs to new public header r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D113994
2021-05-01 12:10:14 +00:00
Jon Coppeard
2d4dbf6494 Bug 1708719 - Move string functions from jsapi.h to public/String.h r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D113992
2021-05-01 12:10:14 +00:00
Alexandru Michis
5744de4a3b Backed out changeset cd81489560e4 (bug 1708547) for causing python failures. 2021-05-01 14:50:20 +03:00
Sebastian Hengst
edb286d4dc Bug 1707840 - disable browser_multipleCrashedTabs.js on macOS 11. r=intermittent-reviewers,jmaher DONTBUILD
Similar to bug 1707182 (browser_autoSubmitRequest.js) tests using the
crashreporter on Apple Silicon fail to execute properly.

Differential Revision: https://phabricator.services.mozilla.com/D113928
2021-05-01 11:17:07 +00:00
Jared Wein
c543af42d0 Bug 1708154 - Set the fill color at the same time as setting the stroke to make sure there will always be proper foreground/background contrast. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D113684
2021-05-01 10:46:37 +00:00