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

9174 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 0f970fbb19 Backed out 20 changesets (bug 1602318) for causing multiple types of failures. CLOSED TREE
Backed out changeset f71e3eff7a8c (bug 1602318)
Backed out changeset 0e0bdebf223b (bug 1602318)
Backed out changeset 44e82f4339a1 (bug 1602318)
Backed out changeset 5f341ebd8591 (bug 1602318)
Backed out changeset 088ea9d20617 (bug 1602318)
Backed out changeset 5de6321939f2 (bug 1602318)
Backed out changeset f5742e84912b (bug 1602318)
Backed out changeset 13bec3079540 (bug 1602318)
Backed out changeset 6c24ba022911 (bug 1602318)
Backed out changeset 5d0fc0102a7f (bug 1602318)
Backed out changeset fc4efd11e643 (bug 1602318)
Backed out changeset 028bd63e710d (bug 1602318)
Backed out changeset 21ad350f9617 (bug 1602318)
Backed out changeset 8f27319f2c34 (bug 1602318)
Backed out changeset db2832973382 (bug 1602318)
Backed out changeset 1756c7584491 (bug 1602318)
Backed out changeset 983e5a9abe02 (bug 1602318)
Backed out changeset a1b9429b3298 (bug 1602318)
Backed out changeset 7d1c0d968a09 (bug 1602318)
Backed out changeset a3b056ec6be3 (bug 1602318)
2020-04-24 11:15:12 +03:00
Matt Woodrow f9c3d901f9 Bug 1602318 - Make xpihandler tests wait for load before starting the test. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D70623
2020-04-24 06:58:08 +00:00
Matt Woodrow 9bd5b11714 Bug 1602318 - Make download tests wait for the STOP progress event instead of load. r=kmag
When we initiate URL bar loads from the parent, loads that are handled externally won't fire a load event from the content process docshell, so we should use the progress listener instead.

Differential Revision: https://phabricator.services.mozilla.com/D67100
2020-04-24 06:56:39 +00:00
Tomislav Jovanovic 50139dfc2e Bug 1624235 - Simplify handling of persistent listeners for runtime messaging r=robwu
Persistent listeners for onMessage and onConnect are special because they
don't have parent EventManagers, so we have a lot of custom code just to keep
track of which extensions have registered them during previous runs.

In this patch, I simplify all that logic to always assume that any extension
which sends messages from content scripts has those listeners setup properly.

The only observable difference is that some poorly written extensions which
were previously broken by delayed startup will now "work" by being started
earlier if a message from a content script arrives during browser startup.

Additionally, unconfuse two different meanings of the "startup" event.
Bonus, avoid some logspam during tests.

Differential Revision: https://phabricator.services.mozilla.com/D70955
2020-04-22 20:03:28 +00:00
Noemi Erli c0bd1834c8 Backed out 19 changesets (bug 1602318) for causing multiple failures
Backed out changeset 4b3345b2e33b (bug 1602318)
Backed out changeset 7240b27afe28 (bug 1602318)
Backed out changeset a7091729d8c9 (bug 1602318)
Backed out changeset e496ab6c0857 (bug 1602318)
Backed out changeset 184da6309f0c (bug 1602318)
Backed out changeset 79b540f8619d (bug 1602318)
Backed out changeset b298015ee960 (bug 1602318)
Backed out changeset 6d0783cd5e01 (bug 1602318)
Backed out changeset cbc308486b17 (bug 1602318)
Backed out changeset 94142944fb54 (bug 1602318)
Backed out changeset 7c1eeb299b78 (bug 1602318)
Backed out changeset 0fc27502503a (bug 1602318)
Backed out changeset 0fc27c2e09d9 (bug 1602318)
Backed out changeset b5e2aa4741b2 (bug 1602318)
Backed out changeset 57d568114c5a (bug 1602318)
Backed out changeset 8f7360d827dc (bug 1602318)
Backed out changeset 78930a97c2df (bug 1602318)
Backed out changeset 8015780587cd (bug 1602318)
Backed out changeset bc9da03cb3a3 (bug 1602318)
2020-04-21 03:46:41 +03:00
Matt Woodrow e142c31312 Bug 1602318 - Make xpihandler tests wait for load before starting the test. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D70623
2020-04-20 23:01:22 +00:00
Matt Woodrow 12b5342377 Bug 1602318 - Make download tests wait for the STOP progress event instead of load. r=kmag
When we initiate URL bar loads from the parent, loads that are handled externally won't fire a load event from the content process docshell, so we should use the progress listener instead.

Differential Revision: https://phabricator.services.mozilla.com/D67100
2020-04-20 22:59:55 +00:00
Stephen A Pohl 2cd9e294ac Bug 1574139: Fix an issue that prevented updates from completing if usernames contained a dot at the end of the username and general hardening of our file path verification. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D71607
2020-04-20 20:18:37 +00:00
Molly Howell 8975fd16ef Bug 1596812 Part 6 - Replace the stub installer UI code with calls to the web plugin. r=agashlin
Depends on D56581

Differential Revision: https://phabricator.services.mozilla.com/D56582
2020-04-20 03:06:08 +00:00
Molly Howell ac9a11a37a Bug 1596812 Part 4 - Add the WebBrowser plugin to the installer build files. r=agashlin,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D56580
2020-04-20 03:06:07 +00:00
Sebastian Streich 09ee22a251 Bug 1621315 - Refactor Geturi Usage in AddonContentPolicy.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66595
2020-04-20 15:57:51 +00:00
Bingjing Yan 907c0653c5 Bug 1523736 - migrate updates.dtd to fluent r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69490
2020-04-20 10:41:41 +00:00
Stefan Hindli 996d12f63a Backed out changeset 08427d711342 (bug 1621315) for causing mass build bustages CLOSED TREE 2020-04-20 13:33:09 +03:00
Sebastian Streich 229ba8c0de Bug 1621315 - Refactor Geturi Usage in AddonContentPolicy.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66595
2020-04-20 09:53:38 +00:00
Daniel Varga 60946bafd9 Backed out changeset afe014a1b475 (bug 1523736) for causing build bustages
CLOSED TREE
2020-04-17 19:12:57 +03:00
Bingjing Yan 592cd1dc88 Bug 1523736 - migrate updates.dtd to fluent r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69490
2020-04-17 15:51:22 +00:00
William Durand 90dd607279 Bug 1613796 - Make the permission popup queue browser-specific. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D70445
2020-04-16 19:38:17 +00:00
Tim Nguyen 55d9542872 Bug 1630615 - Remove duplicate settings icons. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71185
2020-04-16 18:48:33 +00:00
jayati 076967aa38 Bug 1571412 - Update addon manager browser tests to use pushPrefEnv where appropriate. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D70404
2020-04-16 17:38:14 +00:00
Andreea Pavel 3cd455d5ca Backed out changeset 7749765974c1 (bug 1630615) for failing browser_primaryUI.js on a CLOSED TREE 2020-04-16 20:12:17 +03:00
Tim Nguyen 8bc7539203 Bug 1630615 - Combine toolkit/themes/shared/extensions/utilities.svg and browser/themes/shared/icons/settings.svg. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71185
2020-04-16 14:30:20 +00:00
Luca Greco 6890a753ef Bug 1544890 - Disable addon-abuse-report-xulframe if AbuseReporter.openDialogDisabled is false. r=mstriemer
This patch prevents the addon-abuse-report-xulframe custom element from being defined
when AbuseReporter.openDialogDisabled is false (which is the default on all channels
starting from Firefox >= 73).

This change is also preventing the addon-abuse-report-xulframe custom element from
triggering an assertion failure in PresShell::ScrollContentIntoView, which seems to
be due to marionette calling browser.focus() while the custom element has just
injected the browser element that would contain the abuse report panel subframe.

This single-line patch is enough to prevent the assertion failure and still pass
all the existing tests. The addon-abuse-report-xulframe will be removed completely
as part of Bug 1614653.

Depends on D68805

Differential Revision: https://phabricator.services.mozilla.com/D71005

--HG--
extra : moz-landing-system : lando
2020-04-15 14:54:45 +00:00
Luca Greco 072f879ac7 Bug 1544890 - Fix missing extension icon and permission prompt when installing an updated xpi found by backgroundUpdateCheck. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D68805

--HG--
extra : moz-landing-system : lando
2020-04-15 09:20:46 +00:00
William Durand ad19156ae2 Bug 1594392 - Disable back button when there is no history in about:addons. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D70676

--HG--
extra : moz-landing-system : lando
2020-04-15 14:50:21 +00:00
ajitesh 2826a2e73c Bug 1583844 - "Last updated" field on Mozilla themes shows invalid date r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D61057

--HG--
extra : moz-landing-system : lando
2020-04-14 13:04:32 +00:00
Mark Striemer c34d93b70f Bug 1626381 - Include a title on about:addons categories r=rpl,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D69571

--HG--
extra : moz-landing-system : lando
2020-04-10 06:03:35 +00:00
Shane Caraveo 66f0591df1 Bug 1628883 reduce logging noise from addonmanager r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D70446

--HG--
extra : moz-landing-system : lando
2020-04-10 18:48:35 +00:00
Mike Hommey ac5b6e6cd0 Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart
Since the test goes through all moz.build files disregarding DIRS and
the conditions that may disable directories, in some cases, moz.builds
can fail to be evaluated properly because of missing variables in
config.status. This time (because it's not the first), it's
LLVM_DLLTOOL.

After fixing that, it turns out many of the files/directories pointed to
by Files() directives were removed or moved.

While here, make the test script python3-ready.

Differential Revision: https://phabricator.services.mozilla.com/D70157

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:29 +00:00
Narcis Beleuzu 83508f8631 Backed out changeset 798aaee84ad1 (bug 557710) for xpcshell failures on test_system_upgrades.js. CLOSED TREE 2020-04-09 05:30:45 +03:00
Shane Caraveo 73993b29c4 Bug 557710 test behavior with addons installed to multiple locations r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D70060

--HG--
extra : moz-landing-system : lando
2020-04-08 23:48:39 +00:00
Emma Malysz 1932ea0454 Bug 1590573 - Followup: Revert changes on elements that don't use MozXULElement. CLOSED TREE
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D70261

--HG--
extra : histedit_source : 02e207270852df2de6e07100aa7632c179a6e5dc
2020-04-08 21:38:56 +00:00
Emma Malysz a7282ce447 Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58866

--HG--
extra : moz-landing-system : lando
2020-04-08 16:17:50 +00:00
William Durand b90b5b3778 Bug 1489430 - Add "Remove Extension" context menu item for pageAction. r=robwu,mstriemer,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69831

--HG--
extra : moz-landing-system : lando
2020-04-08 14:18:53 +00:00
Razvan Maries 072b678c5a Backed out changeset 6b7c81561ecc (bug 1590573) for marionette perma failures on test_refresh_firefox.py. CLOSED TREE 2020-04-08 07:43:49 +03:00
Emma Malysz b657384896 Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58866

--HG--
extra : moz-landing-system : lando
2020-04-07 23:56:45 +00:00
Mark Striemer 8a57973444 Bug 1623310 - Only open about:addons menus on primary mouse button r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D67708

--HG--
extra : moz-landing-system : lando
2020-04-07 18:58:10 +00:00
Mark Striemer 03def4e38c Bug 1532077 - Clarify browserAction message in shortcuts UI r=fluent-reviewers,rpl
Differential Revision: https://phabricator.services.mozilla.com/D69856

--HG--
extra : moz-landing-system : lando
2020-04-07 09:16:39 +00:00
Andrew Swan d99492aca4 Bug 1625181 Skip over unneeded work when installing system/builtin addons r=zombie
We don't put system addons on the blocklist so there's no need to compute
blocklist state for them.  The immediate motivation for this is to avoid
initializing the blocklist early in startup for the initial startup in a
new profile or after a browser upgrade when we're installing/udpating
system and builtin addons.

Differential Revision: https://phabricator.services.mozilla.com/D68443

--HG--
extra : moz-landing-system : lando
2020-04-07 13:31:29 +00:00
Molly Howell e35b796e72 Bug 1626020 followup - fix a default browser ping field name to match the schema. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D69869

--HG--
extra : moz-landing-system : lando
2020-04-06 20:39:14 +00:00
sonakshi c2aaee8a41 Bug 1584797 - Remove unused aProxyService parameter from applyFilter method r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D69679

--HG--
extra : moz-landing-system : lando
2020-04-06 20:21:03 +00:00
Brian Grinstead 30b9da5519 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{html,xhtml}' 'href="chrome://global/skin/"' | xargs sed -i "" 's/href\="chrome:\/\/global\/skin\/"/href\="chrome:\/\/global\/skin\/global.css"/g'
```

Differential Revision: https://phabricator.services.mozilla.com/D67687

--HG--
extra : moz-landing-system : lando
2020-04-03 22:23:23 +00:00
Emilio Cobos Álvarez 4b9fdf3d73 Bug 1627707 - Rename LoadInfo::LoadingPrincipal to GetLoadingPrincipal as it can return null. r=ckerschb
Mostly a matter of:

  rg -l '\->LoadingPrincipal' | xargs sed -i 's/->LoadingPrincipal/->GetLoadingPrincipal/g'

And then clang-format. But I tweaked manually nsHttpChannelAuthProvider (move
the variable where it's used, don't take a useless strong ref),
AddonContentPolicy (move the declaration of the variable to the if condition),
and BackgroundUtils (same).

Differential Revision: https://phabricator.services.mozilla.com/D69828

--HG--
extra : moz-landing-system : lando
2020-04-06 18:57:36 +00:00
Cosmin Sabou d557e2ed22 Backed out 3 changesets (bug 1627707) for build bustages @ mozilla::net::LoadInfo.
Backed out changeset 65d6a90651ce (bug 1627707)
Backed out changeset 378ec30d9979 (bug 1627707)
Backed out changeset 058a19e11b06 (bug 1627707)
2020-04-06 20:07:04 +03:00
Molly Howell cd0731f708 Bug 1626020 - Fix default browser agent telemetry URL. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D69834

--HG--
extra : moz-landing-system : lando
2020-04-06 16:26:04 +00:00
Emilio Cobos Álvarez 97872f2fee Bug 1627707 - Rename LoadInfo::LoadingPrincipal to GetLoadingPrincipal as it can return null. r=ckerschb
Mostly a matter of:

  rg -l '\->LoadingPrincipal' | xargs sed -i 's/->LoadingPrincipal/->GetLoadingPrincipal/g'

And then clang-format. But I tweaked manually nsHttpChannelAuthProvider (move
the variable where it's used, don't take a useless strong ref),
AddonContentPolicy (move the declaration of the variable to the if condition),
and BackgroundUtils (same).

Differential Revision: https://phabricator.services.mozilla.com/D69828

--HG--
extra : moz-landing-system : lando
2020-04-06 16:00:43 +00:00
Itiel 8b6e89a718 Bug 1627036 - Convert all relevant uses of left/right to logical properties in the remaining files in toolkit/ r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69447

--HG--
extra : moz-landing-system : lando
2020-04-03 19:17:34 +00:00
Sylvestre Ledru 0aa6f03cf3 Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D67574

--HG--
extra : moz-landing-system : lando
2020-04-05 13:34:58 +00:00
Cosmin Sabou a395d07103 Backed out changeset a62adf9c09cc (bug 1625181) for turning bug 1591590 into near permafail. 2020-04-04 15:13:48 +03:00
Andrew Swan a29862a4ec Bug 1625181 Skip over unneeded work when installing system/builtin addons r=zombie
We don't put system addons on the blocklist so there's no need to compute
blocklist state for them.  The immediate motivation for this is to avoid
initializing the blocklist early in startup for the initial startup in a
new profile or after a browser upgrade when we're installing/udpating
system and builtin addons.

Differential Revision: https://phabricator.services.mozilla.com/D68443

--HG--
extra : moz-landing-system : lando
2020-04-03 17:41:58 +00:00
Mark Striemer 1c02573b38 Bug 1626937 - Explicitly connect the addon-updates-message shadow DOM r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D69460

--HG--
extra : moz-landing-system : lando
2020-04-03 22:04:39 +00:00