Commit Graph

799330 Commits

Author SHA1 Message Date
Michelle Goossens
f35f63accb Bug 1773830 - Migrate Linux mochitest-devtools-chrome from AWS to GCP r=ahal,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D149968
2022-06-22 20:03:37 +00:00
Michelle Goossens
f57b5babf7 Bug 1774977 - Migrate Linux firefox-ui from AWS to GCP r=ahal,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D149966
2022-06-22 20:03:36 +00:00
Glenn Watson
fb6ca66ec6 Bug 1775369 - Make hit-test API use clip-chains rather than ClipId r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D149938
2022-06-22 19:55:26 +00:00
Julian Descottes
c34e0c3270 Bug 1770476 - [wdspec] Use script.evaluate in test_navigator_webdriver_enabled r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D149647
2022-06-22 19:51:32 +00:00
Mike Conley
af9dec9a76 Bug 1773865 - Dispatch an event on the window document when a pinch zoom gesture ends. r=botond,smaug,NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D149283
2022-06-22 19:40:17 +00:00
Tooru Fujisawa
e04d423d3b Bug 1775251 - Do not re-define XPCOMUtils as lazy getter in extension global. r=kmag
Depends on D149973

Differential Revision: https://phabricator.services.mozilla.com/D149974
2022-06-22 19:26:58 +00:00
Tooru Fujisawa
466dccc732 Bug 1775250 - Do not define XPCOMUtils as lazy getter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149973
2022-06-22 19:26:58 +00:00
Tom Schuster
f8a9241b82 Bug 1775235 - Always send the real Origin for non GET/HEAD requests with request mode CORS. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D150004
2022-06-22 19:24:09 +00:00
Edgar Chen
bfba60816d Bug 1775118 - Delay logging for focus event on toplevel window in order to ignore the inital focus event; r=hsivonen
I didn't aware there is any spec that ensure the order of load event and initial
focus event. It could be possible that the initial focus event comes after load
event and cause test failures. But I didn't figure out a way to detect whether
we should wait for the initial focus event, so just delay logging for focus
event a bit to ignore the initial one.

Differential Revision: https://phabricator.services.mozilla.com/D150002
2022-06-22 19:14:43 +00:00
Jeff Muizelaar
3847a14838 Bug 1774849 - Always use sync decoding during reftests. r=aosmond
nsImageGeometryMixin is used to redraw images with sync decoding.  Without it,
if we paint an image with non-sync decoding, we won't know that it will be
drawn differently with sync decoding and so don't have a mechanism to include
it in the invalid region.

Currently the main situation where we draw images with non-sync decoding and
then with sync decoding is during reftests. If we unconditionally use sync
decoding during reftests we don't have to worry about the situation where we
switch. This will let us resolve the problems associated with nsImageGeometryMixin.

Differential Revision: https://phabricator.services.mozilla.com/D149657
2022-06-22 18:50:35 +00:00
Meg Viar
e6de5ede3e Bug 1772025 - Add targeting for users who have private Firefox browser pinned r=pdahiya,barret
Differential Revision: https://phabricator.services.mozilla.com/D148446
2022-06-22 18:30:03 +00:00
Emilio Cobos Álvarez
fc56cb5d2d Bug 1775320 - WinContentSystemParameters is not needed. r=cmartin
It was needed before we had remote lookandfeel and non-native theme, but now we
no longer call any of the APIs in child processes.

Differential Revision: https://phabricator.services.mozilla.com/D149907
2022-06-22 18:03:01 +00:00
Meg Viar
a3b48ab633 Bug 1754314 - Special message action needed for the private browsing taskbar pin r=emcminn,barret
Differential Revision: https://phabricator.services.mozilla.com/D148436
2022-06-22 17:54:32 +00:00
Iulian Moraru
e8c5035749 Backed out changeset 9c9b960cb8bf (bug 1773047) for causing multiple failures related to Autocomplete. CLOSED TREE 2022-06-22 22:02:41 +03:00
Iulian Moraru
0ebda972c1 Backed out changeset 003cad9bbcc6 (bug 1772555) for causing reftest failures on bugs/1315113-1.html. 2022-06-22 22:00:53 +03:00
Iulian Moraru
672f2cb672 Backed out 3 changesets (bug 1731778) for causing COEP related failures on embedding.tentative.https.window.html.
Backed out changeset c30f5751d54c (bug 1731778)
Backed out changeset 0eec19308453 (bug 1731778)
Backed out changeset 7c14fa8a4804 (bug 1731778)
2022-06-22 22:00:17 +03:00
Sergey Galich
20bcd14769 Bug 1773047 - Remove the security.insecure_field_warning.contextual.enabled pref r=dimi,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D149550
2022-06-22 17:48:18 +00:00
Gabriel Luong
a7e3764f39 Bug 1774481 - Set empty string as the default value for non-null string autocomplete properties in GeckoViewAutcomplete. r=owlish
Differential Revision: https://phabricator.services.mozilla.com/D149622
2022-06-22 17:35:25 +00:00
Andrew Osmond
2a6e181df2 Bug 1775495 - Avoid trigger extra async image decodes when sync decodes are requested. r=jrmuizel
When we request a sync decode, if there is an outstanding pending
async decode, but we don't have all the network data, we would end up
triggering an extra async decode. This patch ensures that we only
trigger sync decodes if they will actually execute as sync.

Differential Revision: https://phabricator.services.mozilla.com/D150008
2022-06-22 17:31:28 +00:00
Norisz Fay
10b3954a76 Backed out changeset 4230bdcf07ae (bug 1773865) for causing bc failures browser_zoom_commands.js CLOSED TREE 2022-06-22 20:13:23 +03:00
Norisz Fay
cfa3a53e0d Backed out changeset e9b6a7f08dc9 (bug 1770877) for causing wpt failures on editing-div-outside-body.html 2022-06-22 20:11:34 +03:00
Emilio Cobos Álvarez
827fe3a33e Bug 1772555 - Use style interpolation code for gradients. r=nical
This ensures they're clamped on Animated -> sRGB conversion, and in the
future we'll have to implement different color spaces so we'll need to
use it anyways.

Differential Revision: https://phabricator.services.mozilla.com/D149792
2022-06-22 17:00:56 +00:00
scott
cc8f5927f1 Bug 1774813 - Pocket newtab removing old layout that's not needed. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D149645
2022-06-22 16:59:57 +00:00
Kirk Steuber
4a732ac555 Bug 1774671 - Obey default browser prompt's "Don't show again" even if prompt is accepted r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D148698
2022-06-22 16:57:10 +00:00
Erik Nordin
fe0955cfd0 Bug 1762046 - Add valgrind suppression for the leak of a dynamic atom created by DocumentL10n r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D149423
2022-06-22 16:56:23 +00:00
Alexandre Poirot
09d0d54069 Bug 1767702 - [devtools] Split browser_dbg-features-source-tree.js and re-enable it. r=bomsy
Let move Browser Toolbox checks in a distinct file as it can get flaky.

Differential Revision: https://phabricator.services.mozilla.com/D149417
2022-06-22 16:54:29 +00:00
Joel Maher
5b2dd6dd56 Bug 1769154 - Run some xpcshell tests with a conditioned profile. r=aryx,extension-reviewers,kmag
Differential Revision: https://phabricator.services.mozilla.com/D149937
2022-06-22 16:47:06 +00:00
Jan Rio Krause
ceb9221d80 Bug 1690326 - Map Windows error ERROR_DEV_NOT_EXIST (0x37) to NS_ERROR_FILE_DEVICE_FAILURE. r=xpcom-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D149904
2022-06-22 16:44:36 +00:00
Martin Robinson
f85b73bf84 Bug 1463600 - Implement CSS 'contain: style' r=emilio
Add an implementation of CSS `contain: style`. This introduces two new
data structures, the ContainStyleScope and ContainStyleScopeManager.

ContainStyleScope manages one `contain: style` "world" which has its own
counter and quote lists. The contents of these lists depend on their
parent scopes, but are not affected by their children.
ContainStyleScopeManager manages a tree of scopes starting at a root
scope which is outside of any `contain: style` element.

Scopes are stored in a hash table that is keyed off of the nsIContent
which establishes the `contain: style` scope. When modifying quote or
content lists, the ContainStyleScopeManager is responsible for finding
the appropriate `contain: style` scope to modify.

Perhaps the most complex part of this is that counters and quotes have
read access to the state of counters and quotes that are in ancestor
`contain: style` scopes. In the case of counters, USE nodes that are at
the beginning of counter lists might have a counter scope that starts in
an ancestor `contain: style` scope. When nsCounterNode::SetScope() is
called, the code may look upward in the `contain: style` scope tree to
find the start of the counter scope. In the case of quotes, the first
node in the quote list must look for the state of quotes in ancestor
`contain: style` scopes.

Differential Revision: https://phabricator.services.mozilla.com/D149508
2022-06-22 16:16:59 +00:00
Mike Conley
acc5c41175 Bug 1773865 - Dispatch an event on the window document when a pinch zoom gesture ends. r=botond,smaug,NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D149283
2022-06-22 16:15:57 +00:00
Gijs Kruitbosch
e540da8de1 Bug 1773717, r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D149404
2022-06-22 16:08:22 +00:00
Tom Schuster
079e87ba27 Bug 1768069 - Add PDF no-sniff test. r=freddyb
This also shares the server implementation.

Differential Revision: https://phabricator.services.mozilla.com/D149770
2022-06-22 16:02:35 +00:00
Tom Schuster
b9f4daa967 Bug 1768069 - Add test for duplicated XCTO: nosniff header. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D149769
2022-06-22 16:02:35 +00:00
Tom Schuster
bcdcb3f8f1 Bug 1768069 - Remove unused security.requireHTMLsuffix pref. r=freddyb,necko-reviewers,kershaw
This pref was never used and the function always returns early because mRequireHTMLsuffix is false.

Differential Revision: https://phabricator.services.mozilla.com/D149768
2022-06-22 16:02:35 +00:00
Andrew McCreight
3fc7fa2c02 Bug 1387334 - Don't call JS_DefineProfilingFunctions in CreateGlobal. r=peterv
In the modern age of the Gecko Profiler, surely nobody is using this.

Differential Revision: https://phabricator.services.mozilla.com/D148438
2022-06-22 15:54:16 +00:00
Jamie Nicol
00cdec76f5 Bug 1775480 - Add more crash annotations for bug 1772839. r=gfx-reviewers,aosmond
Add crash annotations for the total number of webrender renderers, as
well as the number that are currently not paused, as this error could
be caused by having multiple renderers in a resumed state
concurrently. Additionally, add some gfxCriticalNotes for potentially
relevant error cases.

Differential Revision: https://phabricator.services.mozilla.com/D150000
2022-06-22 15:31:56 +00:00
Noemi Erli
9e7f8fbe32 Backed out changeset 37a07f2d420d (bug 1766515) for causing failures in test_GIFFT.js CLOSED TREE 2022-06-22 18:31:00 +03:00
Tom Ritter
1aaca2b2eb Bug 1772599 - Use a temporary pref for a few weeks while we vette the behavior r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D149395
2022-06-22 15:05:44 +00:00
Tom Ritter
fc5e1539b7 Bug 1772599 - Do not treat init-once prefs as sanitizable r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D149294
2022-06-22 15:05:44 +00:00
Tom Ritter
f63d03f724 Bug 1772599 - Add prefs to the dynamic override list r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D149293
2022-06-22 15:05:43 +00:00
Tom Ritter
6b64151f0a Bug 1772599 - Do not start checking prefs until they've been initialized r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D148316
2022-06-22 15:05:43 +00:00
Tom Ritter
ab7f711d94 Bug 1772599 - Move crashes further up the stack to handle NoneType prefs in the content process r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D148313
2022-06-22 15:05:43 +00:00
Tom Ritter
dde794c4a3 Bug 1772599 - Ensure that sanitized prefs make it into the hashtable in the content processes r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D148312
2022-06-22 15:05:42 +00:00
Tom Ritter
b05c0bcaba Bug 1772599 - Set pref sanitizations prefs in the content process r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D148311
2022-06-22 15:05:42 +00:00
Ben Hearsum
d919f20d46 Bug 1771951: Add UI to the installer for opting out of Taskbar shortcut creation r=nalexander,flod
This includes some minor updates to the desktop and Start Menu strings from Content Design as well.

I also removed the now-useless quicklaunch option (which was only used pre-Windows 7).

Differential Revision: https://phabricator.services.mozilla.com/D148289
2022-06-22 14:19:51 +00:00
Ben Hearsum
fa35a4365f Bug 1771951: add pin to taskbar support in the installer on Windows 10 & 11 r=mhowell
This patch starts pinning Firefox to the Taskbar by default on all supported Windows versions. The main addition here is a port of our existing taskbar pinning code for modern Windows 10 & 11 versions to an NSIS plugin (compiled version also included).

After discussion with a few stakeholders, we also decided that we will never pin during an update on Windows 10 or 11. (Arguably we could stop on Windows 7 & 8 as well - but I don't really see any harm in carrying forward our pre-existing behaviour there.) With this in mind, I dropped all the second pinning attempt code (which was only ever enabled for Windows 10).

Differential Revision: https://phabricator.services.mozilla.com/D148288
2022-06-22 14:19:50 +00:00
Olli Pettay
e90bd7f443 Bug 1769878, ensure objects owned by the worker thread are cleared when the worker is shutting down, r=asuth,aosmond
Depends on D147858

Differential Revision: https://phabricator.services.mozilla.com/D149693
2022-06-22 14:06:31 +00:00
Jens Stutte
f6d26b044a Bug 1769878 - Remove redundant RefPtr<nsIGlobalObject> from EncodeComplete callback. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147858
2022-06-22 14:06:30 +00:00
Jens Stutte
743182ae74 Bug 1769878 - Add the reproducible crashtest. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D147857
2022-06-22 14:06:30 +00:00
Masayuki Nakano
c2a64d2ada Bug 1770877 - part 38: Make HTMLEditor::InsertParagraphSeparatorAsSubAction stop updating Selection while handling its job r=m_kato
Finally, this patch makes it update `Selection` once after finishing its
preparation.

Differential Revision: https://phabricator.services.mozilla.com/D149109
2022-06-22 13:57:07 +00:00