Commit Graph

3025 Commits

Author SHA1 Message Date
Dana Keeler
cee0155c6c Bug 1637807 - add browser.pkcs11.autoload API to allow webextensions to enable osclientcerts r=mixedpuppy
This patch adds the setting `browser.pkcs11.autoload` that can be set to `true`
to cause Firefox to load the built-in "osclientcerts" module, which uses OS APIs to
provide access to client certificates. This means that webextensions can opt to
use a module developed and supported by Mozilla for TLS client authentication
rather than 3rd party modules that have historically caused stability and
performance issues for users.

This API is currently only available on Windows and macOS.

Differential Revision: https://phabricator.services.mozilla.com/D78353
2020-06-09 23:10:28 +00:00
Johann Hofmann
a27352a19b Bug 1515073 - Part 5 - Disable browser.navigation.requireUserInteraction in tests. r=Gijs
Depends on D27588

Differential Revision: https://phabricator.services.mozilla.com/D31604
2020-06-09 14:51:06 +00:00
Mark Banner
fe0e423f96 Bug 1643004 - Move searchform test into other tests for OpenSearch/WebExtension engines. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D78714
2020-06-09 11:57:41 +00:00
Dão Gottwald
2252db8ba9 Bug 1643606 - Remove remnants of the toolkit.cosmeticAnimations.enabled pref. r=Gijs,remote-protocol-reviewers,marionette-reviewers,extension-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D78462
2020-06-08 16:03:51 +00:00
Tomislav Jovanovic
19393d7c03 Bug 1642956 - Rename extension.whiteListedHosts to allowedOrigins r=mixedpuppy,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78050
2020-06-04 21:39:27 +00:00
Rob Wu
8feeaf1e74 Bug 1642671 - Add tests for falsey result from runtime.onMessage r=zombie,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D77895
2020-06-03 17:26:43 +00:00
Andrea Marchesini
aed7c3bd35 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-02 13:49:27 +00:00
Csoregi Natalia
80d9cd436c Backed out 7 changesets (bug 1640405, bug 1638358) for failures on browser_webconsole_network_messages_status_code.js. CLOSED TREE
Backed out changeset ef5f7479ddf8 (bug 1640405)
Backed out changeset 286e0c83eb30 (bug 1638358)
Backed out changeset 89e396b2896e (bug 1638358)
Backed out changeset 33ad5fa05209 (bug 1638358)
Backed out changeset d213264c1379 (bug 1638358)
Backed out changeset 6bc05236afb4 (bug 1638358)
Backed out changeset 87e9d0ed3982 (bug 1638358)
2020-06-02 15:16:42 +03:00
Andrea Marchesini
bb142bc869 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-02 09:13:51 +00:00
Myeongjun Go
19f4114f51 Bug 1612013 - add search provider with http for localhost URL r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D77644
2020-06-02 04:57:04 +00:00
Olli Pettay
850949f6d2 Bug 1353466, 'A browsing context is script-closable ... if it is a top-level browsing context whose session history contains only one Document', r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D76006
2020-06-01 20:01:11 +00:00
Razvan Maries
8b85757eae Backed out 6 changesets (bug 1638358) for perma failures on browser_webconsole_navigate_to_parse_error.js. CLOSED TREE
Backed out changeset beb85cf281d5 (bug 1638358)
Backed out changeset 39f2e21623aa (bug 1638358)
Backed out changeset 2c873c72bf1f (bug 1638358)
Backed out changeset e91292c7c719 (bug 1638358)
Backed out changeset 0219ef931cd9 (bug 1638358)
Backed out changeset 4ac06f3992f4 (bug 1638358)
2020-06-02 00:24:46 +03:00
Andrea Marchesini
7ac10a6d8d 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 17:59:13 +00:00
Noemi Erli
31652de3f9 Backed out 6 changesets (bug 1638358) for causing failures in test_Chrome_cookies.js CLOSED TREE
Backed out changeset 4e8fbe01aa38 (bug 1638358)
Backed out changeset 532731e94bb2 (bug 1638358)
Backed out changeset fad2ba760157 (bug 1638358)
Backed out changeset 932a3fdbd07c (bug 1638358)
Backed out changeset 05a62901a3f5 (bug 1638358)
Backed out changeset cddeada5c4a6 (bug 1638358)
2020-06-01 19:45:46 +03:00
Andrea Marchesini
b4cb833817 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 11:43:19 +00:00
Tomislav Jovanovic
7364134062 Bug 1583484 - Move extension messaging off MessageChannel r=geckoview-reviewers,mixedpuppy,agi
Differential Revision: https://phabricator.services.mozilla.com/D74026
2020-05-22 22:50:46 +00:00
Dorel Luca
b79c934556 Backed out changeset 1e166841f170 (bug 1353466) for Mochitest failures in gecko/dom/base/nsGlobalWindowOuter.cpp. CLOSED TREE 2020-06-01 18:06:55 +03:00
Olli Pettay
fdcac475a9 Bug 1353466, 'A browsing context is script-closable ... if it is a top-level browsing context whose session history contains only one Document', r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D76006
2020-05-29 20:37:47 +00:00
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
Rob Wu
9e4cd62f02 Bug 1633968 - Use TabContextMenu.contextTab in ext-menus r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D73256
2020-05-21 18:20:40 +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
Rob Wu
a256aad651 Bug 1633968 - Use TabContextMenu.contextTab in ext-menus r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D73256
2020-05-20 17:05:07 +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
Neil Deakin
75fc6180d4 Bug 1594752, use WindowGlobalParent's documentTitle to update tab titles rather than sending messages and events between processes, r=Gijs
Fix up the browser_tab_label_during_restore.js test to wait for the right number of tab title changes, since the timing of the tab title updating has now changed.

Differential Revision: https://phabricator.services.mozilla.com/D72562
2020-05-19 13:42:41 +00:00