Commit Graph

2190 Commits

Author SHA1 Message Date
Dorel Luca
d6e8a26ed6 Backed out 6 changesets (bug 1638358) for XPCShell failures in netwerk/cookie/test/unit/test_schemeMap.js. CLOSED TREE
Backed out changeset 745eab35e851 (bug 1638358)
Backed out changeset a45df1876e37 (bug 1638358)
Backed out changeset 1a85cc92d2fb (bug 1638358)
Backed out changeset 2156294cb158 (bug 1638358)
Backed out changeset 31101054c52c (bug 1638358)
Backed out changeset d284b50551ab (bug 1638358)
2020-06-01 14:38:22 +03:00
Andrea Marchesini
9542c15aa9 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 10:28:51 +00:00
Mark Banner
2b1410dfe5 Bug 1641261 - Handle the case when an app provided engine is hidden/removed, and a WebExtension wants to select as default. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D77429
2020-05-31 12:19:18 +00:00
Mihai Alexandru Michis
ffc388df9a Backed out changeset d82a23f070f6 (bug 1641261) for causing xpcshell failures in test_override_allowlist.js
CLOSED TREE
2020-05-30 11:19:08 +03:00
Mark Banner
097b0ab538 Bug 1641261 - Handle the case when an app provided engine is hidden/removed, and a WebExtension wants to select as default. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D77429
2020-05-29 23:09:34 +00:00
Mark Banner
939dec394f Bug 1641881 - Switch browser_ext_settings_overrides_default_search.js to use a different search engine for testing. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D77471
2020-05-29 15:55:30 +00:00
Narcis Beleuzu
0bc81ca44a Backed out changeset 082fb07b2a02 (bug 1253129) for bc failures on browser_ext_windows_create_params.js . CLOSED TREE 2020-05-29 00:06:56 +03:00
Shane Caraveo
5d9165f448 Bug 1253129 warn when using focused property with windows.create r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D76944
2020-05-27 22:59:17 +00:00
Dão Gottwald
d77c2a745c Bug 1638068 - Stop setting toolkit.cosmeticAnimations.enabled in extension tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D76138
2020-05-28 13:20:22 +00:00
Harry Twyford
45d711b506 Bug 1623666 - Always show Top Sites in the Urlbar on empty searches. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D76245
2020-05-27 15:08:07 +00:00
Harry Twyford
fdb875cd69 Bug 1634279 - Allow accessing the TopSites feed even if Top Sites are hidden on the new tab page. r=dao,thecount,mixedpuppy
Creates a new pref, "...activity-stream.feeds.system.topsites" to control whether TopSitesFeed is enabled. The existing "...activity-stream-feeds.topsites" pref is kept to allow users to downgrade and to ensure that people who disabled Top Sites in the past will continue to not see Top Sites on the New Tab Page -- the difference being that Top Sites will now be generated for those users.

Differential Revision: https://phabricator.services.mozilla.com/D75603
2020-05-27 16:38:03 +00:00
Mark Banner
a4bd46c2dd Bug 1635235 - Ensure browser_ext_settings_overrides_default_search.js can wait for search engine setup to complete to avoid intermittents. r=mixedpuppy
Depends on D76480

Differential Revision: https://phabricator.services.mozilla.com/D76910
2020-05-26 19:53:42 +00:00
Mark Banner
be3d4dc1e4 Bug 1635235 - Implement reading the allow override default search engine allowlist from remote settings. r=daleharvey
This implements reading the list from remote settings. We only read it at startup if necessary, or on add-on installation.

We do not check for updates - if something is removed, we'll wait until next startup before processing it.

Also adds lots of tests for canOverride as this seems a critical part to get right.

Differential Revision: https://phabricator.services.mozilla.com/D76473
2020-05-26 19:40:42 +00:00
Csoregi Natalia
69202f3fdb Backed out changeset 9855eb03a9f1 (bug 1402256) for failures on test_ext_all_apis.html. CLOSED TREE 2020-05-26 06:43:06 +03:00
Mélanie Chauvel (ariasuni)
a2705d751b Bug 1402256 - Add WebExtensions API to “warm up” a tab r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D71873
2020-05-26 02:29:45 +00:00
Mihai Alexandru Michis
cc78e5f718 Backed out 2 changesets (bug 1635235, bug 1635239) for causing Bug 1640583.
CLOSED TREE

Backed out changeset 97ecda13df18 (bug 1635239)
Backed out changeset c9f80397bbec (bug 1635235)
2020-05-25 16:43:03 +03:00
Gijs Kruitbosch
9b7b85ad27 Bug 1638373 - remove Cu.isCrossProcessWrapper now that CPOWs are dead, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D76597
2020-05-24 23:38:17 +00:00
Mark Banner
6c826e7ba0 Bug 1635235 - Implement reading the allow override default search engine allowlist from remote settings. r=daleharvey
This implements reading the list from remote settings. We only read it at startup if necessary, or on add-on installation.

We do not check for updates - if something is removed, we'll wait until next startup before processing it.

Also adds lots of tests for canOverride as this seems a critical part to get right.

Differential Revision: https://phabricator.services.mozilla.com/D76473
2020-05-24 21:45:41 +00:00
Andreea Pavel
4ad6052ac3 Bug 1638027 - Disabled browser_ext_windows_size.js, browser_readerMode_readingTime.js, browser_showMenu.js on linux18.04 debug r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D76541
2020-05-22 22:13:38 +00:00
Rob Wu
5ddaece447 Bug 1633968 - Tests to verify the tab parameter of menus.onShown r=rpl
- Modify the existing `test_show_hide_tab` test to right-click on a
  background tab, to verify that the tab argument is the clicked tab
  rather than the currently selected tab.

- Add a new test task (`test_show_hide_tab_via_tab_panel`) to serve as a
  regression test for bug 1633968.

Differential Revision: https://phabricator.services.mozilla.com/D75865
2020-05-21 20:35:28 +00:00
Drew Willcoxon
03881f56fa Bug 1398416 - Part 3: Implement form history results. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D75685
2020-05-21 19:31:27 +00:00
Bogdan Tara
3612f97816 Backed out 2 changesets (bug 1633968) for browser_ext_menus_events.js failures CLOSED TREE
Backed out changeset 9dc3a4d32630 (bug 1633968)
Backed out changeset 55cc61b65e56 (bug 1633968)
2020-05-21 21:02:00 +03:00
Tom Schuster
c4bfd1ce8b Bug 1636784 - Use Services.clearData for clearing cache/plugin data. r=rpl
This allows us to support clearing by hostname for both.

Differential Revision: https://phabricator.services.mozilla.com/D75094
2020-05-21 16:50:29 +00:00
Rob Wu
b7ac1fd45c Bug 1633968 - Tests to verify the tab parameter of menus.onShown r=rpl
- Modify the existing `test_show_hide_tab` test to right-click on a
  background tab, to verify that the tab argument is the clicked tab
  rather than the currently selected tab.

- Add a new test task (`test_show_hide_tab_via_tab_panel`) to serve as a
  regression test for bug 1633968.

Differential Revision: https://phabricator.services.mozilla.com/D75865
2020-05-20 22:56:17 +00:00
Mark Banner
5beee96289 Bug 1635231 - Allow overriding and setting as default specific search engines according to a allowlist. r=daleharvey,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D75613
2020-05-21 10:42:20 +00:00
Rob Wu
4a6de2dfe1 Bug 1433892 - Re-enable browser_ext_menus_events.js on Linux r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D75867
2020-05-20 22:57:02 +00:00
Harry Twyford
af123e56d2 Bug 1637060 - Don't show tail suggestions if there are other non-heuristic results. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D75583
2020-05-20 18:18:19 +00:00
Rob Wu
ce254496bd Bug 1639035 - Fix callers of openContextMenuInFrame in tests r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D75866
2020-05-20 17:10:33 +00:00
Harry Twyford
58cfeff038 Bug 1626891 - Style tail suggestions differently. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D74740
2020-05-19 13:57:54 +00:00
Razvan Maries
840037594e Backed out changeset 9b32011328f0 (bug 1402256) for multiple perma failures. CLOSED TREE 2020-05-17 23:23:15 +03:00
Mélanie Chauvel (ariasuni)
a70275d9ed Bug 1402256 - Add WebExtensions API to “warm up” a tab r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D71873
2020-05-17 18:37:14 +00:00
alwu
571ffca995 Bug 1509933 - part3 : use the new pref in tests. r=padenot
This patch will do :
- replace the old pref with the new pref

The advantage of doing so :
- to ensure those tests can still use the correct blocking autoplay policy

Differential Revision: https://phabricator.services.mozilla.com/D73973
2020-05-15 02:51:18 +00:00
Dorel Luca
4b73783463 Backed out 3 changesets (bug 1509933) for Linting failure in gecko/mobile/android/app/mobile.js. CLOSED TREE
Backed out changeset c15ecdcd5d13 (bug 1509933)
Backed out changeset 951ea1d0f42a (bug 1509933)
Backed out changeset 3abb24d6dfc9 (bug 1509933)
2020-05-15 05:02:07 +03:00
alwu
12618444ac Bug 1509933 - part3 : use the new pref in tests. r=padenot
This patch will do :
- replace the old pref with the new pref

The advantage of doing so :
- to ensure those tests can still use the correct blocking autoplay policy

Differential Revision: https://phabricator.services.mozilla.com/D73973
2020-05-07 13:05:22 +00:00
Harry Twyford
cb337c4820 Bug 1626897 - Part 4 - Add tail suggestion tests. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D74120
2020-05-12 17:01:19 +00:00
Mark Banner
53e74047ad Bug 1635805 - Fix failure in test_ext_settings_overrides_search_mozParam.js when search modern configuration is turned off. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D74230
2020-05-11 13:15:03 +00:00
Luca Greco
d0e6620122 Bug 1614653 - Remove the extensions.abuseReports.openDialog pref and the related implementation and XUL elements from about:addons. r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D71615
2020-05-08 16:03:45 +00:00
Emma Malysz
41fea0b093 Bug 1634031, lazy load appmenu and extension notification panel by using a template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73389
2020-05-08 16:53:45 +00:00
Dan Glastonbury
8e769ca149 Bug 1624550 - P5: Fix racy check for SessionHistory update. r=kmag
This code was relying on SessionHistory update having completed when
GlobalHistory is update. Moving GlobalHistory update to the parent process with
DocumentChannel means that it's possible for the GlobalHistory event to fire
before the SessionHistory is updated in nsDocShell.

Switch to using tab loading complete to signal when it's OK to check
SessionHistory.

Differential Revision: https://phabricator.services.mozilla.com/D72280
2020-05-08 03:28:46 +00:00
Mark Banner
5301956649 Bug 1626410 - Simplify the isAppProvided check for the modern search configuration. r=daleharvey
Since distribution search engines have all moved into mozilla-central, so we no longer need to check the loadPath, which potentially wasn't reliable anyway.

Addtionally, we don't need to check `extensions.installedDistroAddon` since these are built-in add-ons, and distributions don't install search engines separately.

Differential Revision: https://phabricator.services.mozilla.com/D72743
2020-05-05 09:29:02 +00:00
Dorel Luca
9df3d38d4c Backed out changeset 510109ce274e (bug 1626410) for browser-chrome failures in test/browser/browser_ContentSearch.js. CLOSED TREE 2020-05-05 00:06:49 +03:00
Mark Banner
1a773a7c5b Bug 1626410 - Simplify the isAppProvided check for the modern search configuration. r=daleharvey
Since distribution search engines have all moved into mozilla-central, so we no longer need to check the loadPath, which potentially wasn't reliable anyway.

Addtionally, we don't need to check `extensions.installedDistroAddon` since these are built-in add-ons, and distributions don't install search engines separately.

Differential Revision: https://phabricator.services.mozilla.com/D72743
2020-05-04 18:46:08 +00:00
Mélanie Chauvel (ariasuni)
98bed9ba3c Bug 1560218 - browser.tabs.duplicate() can now specify index and active property r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D67782
2020-05-04 01:11:32 +00:00
Stefan Hindli
0726e8fee1 Bug 1498706 - correct enable condition r=test-fix CLOSED TREE 2020-05-03 01:19:22 +03:00
Stefan Hindli
8095f0db14 Bug 1498706 - Re enabled browser_ext_port_disconnect_on_crash.js that was previously disabled r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D73555
2020-05-02 22:13:23 +00:00
Shane Caraveo
91eafeed63 Bug 1606862 support devtools as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71829
2020-04-30 18:39:23 +00:00
Kris Maglione
c1116675db Bug 1594572: Schedule worker deletion when primary runnable fails. r=asuth
If we try to start a worker too close to shutdown, the main runnable for its
thread runs after shutdown has begun, bails out early trying to create a
BackgroundChild for its thread. Unlike bail-outs in WorkerPrivate::DoRunLoop,
though, nothing winds up scheduling the deletion of the worker after it
returns, and afterwards the worker is stuck forever in a pending state.
Attempts to shut it down from the main thread just dispatch an impotent
notification to be processed by the workers main event loop (which, of course,
will not ever happen).

This patch fixes the behavior of WorkerThreadPrimaryRunnable to always call
ScheduleDeletion when it exits, rather than only doing so when it succeeds
in entering the worker's main loop.

Differential Revision: https://phabricator.services.mozilla.com/D73134
2020-04-30 03:52:56 +00:00
Daniel Varga
b2d89104a2 Backed out changeset 8a0b81f6263e (bug 1606862) for causing devtools failures at devtools/client/framework/test/browser_toolbox_toolbar_reorder_with_extension.js
CLOSED TREE
2020-04-30 06:05:20 +03:00
Shane Caraveo
f19f5b74d5 Bug 1606862 support devtools as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71829
2020-04-30 01:50:34 +00:00
Dorel Luca
047d3a2819 Backed out changeset 74dce6390e5e (bug 1606862) for Xpcshell failures in extensions/test/xpcshell/test_ext_startup_perf.js. CLOSED TREE 2020-04-30 04:17:57 +03:00