Commit Graph

799395 Commits

Author SHA1 Message Date
Kris Maglione
837739ea46 Bug 1770237: Part 12 - Remove test for IDB global objects in JS component scope. r=mccr8
It's the same global as JSMs now, and support is being removed in any case.

Differential Revision: https://phabricator.services.mozilla.com/D148192
2022-06-22 20:31:35 +00:00
Kris Maglione
d3a792ec5b Bug 1770237: Part 11 - Update push service test_handler_service.js to not use chrome manifests for component registration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D148191
2022-06-22 20:31:35 +00:00
Kris Maglione
2c3055767b Bug 1770237: Part 10 - Remove test_bug725015.js. r=mccr8
It was for the sake of legacy extensions, which we don't care about, and
applies to `contract` manifest entries, which are being removed.

Differential Revision: https://phabricator.services.mozilla.com/D148190
2022-06-22 20:31:35 +00:00
Kris Maglione
97ceba4b1d Bug 1770237: Part 9 - Update VacuumParticipant test mocks to not use chrome manifests for registration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D148189
2022-06-22 20:31:34 +00:00
Kris Maglione
360a2f6d5c Bug 1770237: Part 8 - Remove legacy component registration for TestInterfaceJS. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D148188
2022-06-22 20:31:34 +00:00
Kris Maglione
6758092966 Bug 1770237: Part 6 - Update XPConnect xpcshell tests to avoid unnecessary legacy component registration. r=mccr8
These tests just test XPConnect wrapping, and don't actually have anything to
do with component registration. There are simpler ways to get wrapping that
are just as effective.

Differential Revision: https://phabricator.services.mozilla.com/D148186
2022-06-22 20:31:33 +00:00
Kris Maglione
de25cced8a Bug 1770237: Part 5 - Get rid of obsolete component test in test_import.js. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D148185
2022-06-22 20:31:33 +00:00
Kris Maglione
d10586e741 Bug 1770237: Part 4 - Move system scope Blob/File tests from JS components to JSMs. r=mccr8
JS components are now always loaded from JSMs.

Differential Revision: https://phabricator.services.mozilla.com/D148184
2022-06-22 20:31:33 +00:00
Kris Maglione
c4e585b525 Bug 1770237: Part 3 - Migrate StartupRecorder to static component registration. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D148183
2022-06-22 20:31:32 +00:00
Kris Maglione
b66351f3fb Bug 1770237: Part 2 - Migrate MacTouchBar to static component registration. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D148182
2022-06-22 20:31:32 +00:00
Kris Maglione
35eb8605de Bug 1770237: Part 1b - Update MockRegistrar to allow registering JSMs similarly to static components. r=mccr8
This makes it easier to migrate some tests that use chrome manifest
registration. It lets us register JSMs as components in a similar way to how
we register them in static component manifests.

Differential Revision: https://phabricator.services.mozilla.com/D148181
2022-06-22 20:31:32 +00:00
Kris Maglione
3d0ddc30e8 Bug 1770237: Part 1a - Fix components.conf Categories property. r=mccr8
This apparently hasn't been used for a while and has bit rotted, but it's
necessary for some migrations in later patches.

Differential Revision: https://phabricator.services.mozilla.com/D148180
2022-06-22 20:31:31 +00:00
Alexandre Poirot
055b54a0ca Bug 1774583 - [devtools] Prevent clearing tab list when a target is destroyed. r=bomsy
persistTabs should only be used when we want to clear the tabs list
and have the persisted tab to be re-created (made visible, with a sourceId) when a new source matching the same url is created.

Also cleanup a few things and avoid returning new state objects unless we really changed something.

Differential Revision: https://phabricator.services.mozilla.com/D149523
2022-06-22 20:12:43 +00:00
Michelle Goossens
eb36b7cd92 Bug 1773830 - Migrate Linux mochitest-a11y and mochitest-browser-a11y from AWS to GCP r=ahal,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D150009
2022-06-22 20:03:38 +00:00
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
Mozilla Releng Treescript
5e5e8f34be no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
cs -> c56c9ee285417b2df4970cf189047617ebdbe5ce
da -> 6b5538fb007ab4eecdd9b0bd8ea6561593937164
fr -> 52ce221379e5f646f8fdd95bfe8bed919534637e
hu -> 5203e1045ebd3d4b5c19f399d21b02e1ba76c72a
kab -> b24bd924551c60e9e0c72c41ebe4e563f2d7f8b2
nl -> 33664923e9ca1fdc7d05d6ceff3874c586ddb139
nn-NO -> 27084456211f3109bb70153da6b41c5da4ccb986
pt-BR -> 37866dc95bf9746c77754efe5ae5d8db5ea5f3b1
tg -> bea0d61e8652c8ea8af5a7a667e4c9a840f09da2
tr -> 5d880f615127659f2a0ae7e6924b62a2ceb8306f
2022-06-22 19:04:10 +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