Commit graph

2985 commits

Author SHA1 Message Date
Butkovits Atila
db44a41c6c Backed out 5 changesets (bug 1678619) for causing memory leaks. CLOSED TREE
Backed out changeset 64be4bea09dd (bug 1678619)
Backed out changeset 308fda30c166 (bug 1678619)
Backed out changeset efb9bdef89b8 (bug 1678619)
Backed out changeset d26f45eac0b9 (bug 1678619)
Backed out changeset b2f22d6d2725 (bug 1678619)
2021-01-15 12:56:01 +02:00
Daisuke Akatsuka
7aa244ac52 Bug 1678619: Remove onManyFrecenciesChanged interface from nsINavHistoryService. r=mak
Depends on D100460

Differential Revision: https://phabricator.services.mozilla.com/D100461
2021-01-15 00:00:34 +00:00
Daisuke Akatsuka
450eb54843 Bug 1678619: Remove onFrecencyChanged interface from nsINavHistoryService. r=mak
Depends on D100457

Differential Revision: https://phabricator.services.mozilla.com/D100458
2021-01-12 10:45:50 +00:00
Micah Tigley
1b5b46ec79 Bug 1680637 - Update tests using the old dialog UI to only use the old UI. r=jaws,Gijs,marionette-reviewers,whimboo,remote-protocol-reviewers
Depends on D100172

Differential Revision: https://phabricator.services.mozilla.com/D101388
2021-01-14 21:45:14 +00:00
Narcis Beleuzu
f108cdcd91 Backed out changeset 81be428b9df0 (bug 1580003) for bc failures on browser_multiselect_tabs_close_other_tabs.js. CLOSED TREE 2021-01-14 21:19:04 +02:00
Oriol Brufau
04f94d6d52 Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-14 15:32:24 +00:00
Butkovits Atila
7742c03714 Backed out 4 changesets (bug 1680637, bug 1682395) for causing Marionette failures. CLOSED TREE
Backed out changeset 073e0be7db95 (bug 1680637)
Backed out changeset 552b91b31b0f (bug 1682395)
Backed out changeset c80de6c72779 (bug 1680637)
Backed out changeset d513e228b0ad (bug 1680637)
2021-01-13 02:13:06 +02:00
Micah Tigley
06e7942185 Bug 1680637 - Update tests using the old dialog UI to only use the old UI. r=jaws,Gijs
Depends on D100172

Differential Revision: https://phabricator.services.mozilla.com/D101388
2021-01-12 22:32:24 +00:00
Mihai Alexandru Michis
fcffbed8d9 Backed out changeset 6e6788b1853e (bug 1646817) for causing bc failures in browser_ext_popup_api_injection.js
CLOSED TREE
2020-12-25 01:54:50 +02:00
Tomislav Jovanovic
5e0fb3e867 Bug 1646817 - Support DocumentChannel process switching in sidebars and popups r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D100396
2020-12-24 20:16:12 +00:00
Daisuke Akatsuka
53590561a9 Bug 1678606: Remove onClearHistory interface from nsINavHistoryService. r=mixedpuppy,mak
Depends on D99751

Differential Revision: https://phabricator.services.mozilla.com/D99752
2020-12-23 11:15:20 +00:00
Daisuke Akatsuka
04610c3c99 Bug 1678606: Apply history-cleared event instead of onClearHistory. r=mixedpuppy,mak
Depends on D99750

Differential Revision: https://phabricator.services.mozilla.com/D99751
2020-12-23 10:21:54 +00:00
Shane Caraveo
5e7a36fdfb Bug 1253129 warn when using focused property with windows.create r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D76944
2020-12-18 19:06:56 +00:00
Daisuke Akatsuka
2b482f984d Bug 1678611: Remove onTitleChanged interface from nsINavHistoryService. r=mak,mixedpuppy
Depends on D98280

Differential Revision: https://phabricator.services.mozilla.com/D98281
2020-12-18 07:25:49 +00:00
Daisuke Akatsuka
62cb87a93f Bug 1678611: Apply page-title-changed event instead of onTitleChanged. r=mak,mixedpuppy
Depends on D98278

Differential Revision: https://phabricator.services.mozilla.com/D98280
2020-12-16 08:28:54 +00:00
Sonia Singla
970cc13ce5 Bug 1458764 - Removed the references with extensions.webextensions.tabhide.enabled pref. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D97092
2020-12-17 19:14:07 +00:00
Csoregi Natalia
da65c94d99 Backed out 2 changesets (bug 1253129) for causing failures on browser_ext_windows_create_params.js. CLOSED TREE
Backed out changeset ac8d0372dcb1 (bug 1253129)
Backed out changeset 016006d107b6 (bug 1253129)
2020-12-17 00:50:20 +02:00
Shane Caraveo
d4a1a434ac Bug 1253129 warn when using focused property with windows.create r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D76944
2020-12-16 19:55:45 +00:00
Kartik Gautam
f7ffcd09fb Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Dorel Luca
7320ae982a Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE 2020-12-13 16:38:21 +02:00
Kartik Gautam
caf549c200 Bug 1679758 - Remove trailing empty lines r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
Tomislav Jovanovic
7fabc9e74c Bug 1680877 - Enable content scripts in extension popups and sidebars r=rpl
See comment in ExtensionPolicyService::CheckDocument for details.

Differential Revision: https://phabricator.services.mozilla.com/D99133
2020-12-12 15:59:18 +00:00
Shane Caraveo
2f3f1e7b7a Bug 1678786 fix url_overrides_newtab intermittent r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D99132
2020-12-11 17:51:56 +00:00
Sam Foster
fa664601db Bug 1654684 - Add sheet-indicator and preview navigation to the print preview. r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D96737
2020-12-09 20:56:28 +00:00
ankushduacodes
6f8bc11f0f Bug 1671579 - Granting the devtools optional permission should also enabled the extension devtools page from a toolbox perspective r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D98841
2020-12-09 17:35:58 +00:00
Csoregi Natalia
491d6b17d3 Backed out changeset 9d25024d5811 (bug 1680877) for causing failures on browser_ext_menus_events.js. CLOSED TREE 2020-12-09 18:13:47 +02:00
Tomislav Jovanovic
a3ababf703 Bug 1680877 - Enable content scripts in extension popups and sidebars r=rpl
See comment in ExtensionPolicyService::CheckDocument for details.

Differential Revision: https://phabricator.services.mozilla.com/D99133
2020-12-09 10:10:56 +00:00
Csoregi Natalia
4eae934956 Backed out 2 changesets (bug 1654684) for browser chrome failures with .printPreviewCurrentPageNumber. CLOSED TREE
Backed out changeset 2fdc1b5569e1 (bug 1654684)
Backed out changeset 8ae1d037aa9c (bug 1654684)
2020-12-09 16:11:42 +02:00
Sam Foster
0c4bb65e4d Bug 1654684 - Add sheet-indicator and preview navigation to the print preview. r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D96737
2020-12-09 02:59:26 +00:00
Agi Sferro
0b9c0abdce Bug 1625233 - Move xpcshell browsingData to toolkit. r=robwu
Depends on D98368

Differential Revision: https://phabricator.services.mozilla.com/D98369
2020-12-04 21:43:32 +00:00
Agi Sferro
06e6777956 Bug 1625233 - Convert browsingData browser tests to mochitests. r=rpl
Depends on D96153

Differential Revision: https://phabricator.services.mozilla.com/D96154
2020-12-04 21:43:22 +00:00
Agi Sferro
25013d8d5f Bug 1625233 - Refactor ext-browsingData code so it can be shared with other platforms. r=rpl,robwu
Depends on D96150

Differential Revision: https://phabricator.services.mozilla.com/D96152
2020-12-04 20:52:52 +00:00
harry
9e16e8ed83 Bug 1679890 - Change UrlbarProviderExtension.notificationTimeout into a pref. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D98253
2020-12-01 05:35:45 +00:00
Dão Gottwald
57d8ec78b2 Bug 1679463 - Replace :not(foo):not(bar) with :not(foo,bar) in browser/. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D98028
2020-11-26 21:54:32 +00:00
Marco Bonardo
819b880581 Bug 1677408 - Part 4 - Replace onItemVisited with page-visited. r=Standard8
Rather than fetching bookmarks from the disk for each page-visited notification,
we just let the result to recursively find and update children in the memory
structure.

Differential Revision: https://phabricator.services.mozilla.com/D97277
2020-11-23 16:28:04 +00:00
Marco Bonardo
8e04f6d341 Bug 1677408 - Part 2 - Update consumers of onPageChanged. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D97275
2020-11-23 16:26:17 +00:00
Butkovits Atila
470d497c4a Backed out 7 changesets (bug 1677408) for bustages on nsNavHistory.cpp. CLOSED TREE
Backed out changeset 1e0dc9aaa979 (bug 1677408)
Backed out changeset 4198bc35198c (bug 1677408)
Backed out changeset ff93f264138b (bug 1677408)
Backed out changeset 0f2d72d2ed5a (bug 1677408)
Backed out changeset 996cbd111957 (bug 1677408)
Backed out changeset b0c23854e117 (bug 1677408)
Backed out changeset f7d6cc5e4457 (bug 1677408)
2020-11-23 16:49:31 +02:00
Marco Bonardo
7bd9662c5d Bug 1677408 - Part 4 - Replace onItemVisited with page-visited. r=Standard8
Rather than fetching bookmarks from the disk for each page-visited notification,
we just let the result to recursively find and update children in the memory
structure.

Differential Revision: https://phabricator.services.mozilla.com/D97277
2020-11-23 12:56:40 +00:00
Marco Bonardo
803c3be427 Bug 1677408 - Part 2 - Update consumers of onPageChanged. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D97275
2020-11-23 12:54:26 +00:00
Erica Wright
2e621affde Bug 1595858 - Allow users to select or deselect addons for homepage and newtab without disabling the addons. r=preferences-reviewers,Gijs,mixedpuppy,ahal
Differential Revision: https://phabricator.services.mozilla.com/D93584
2020-11-20 21:40:14 +00:00
Luca Greco
ec28416cf3 Bug 1675106 - Make browsingData.removePluginData a no-op and to log a deprecation warning. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D97672
2020-11-20 18:00:46 +00:00
Liz Krane
e65db138f1 Bug 1650956 - browser.tabs.remove() now calls removeTabs(). r=robwu,Gijs
Removing multiple tabs via extensions now calls `gBrowser.removeTabs()`
once for each window that has tabs being removed. Also adds automated
browser tests for removing one tab or multiple tabs.

Differential Revision: https://phabricator.services.mozilla.com/D93438
2020-11-19 19:01:40 +00:00
Shane Caraveo
eef9cb9a88 Bug 1640746 fix intermittent timeout when testing addon hang r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D97363
2020-11-18 19:28:53 +00:00
David Parks
98abc7273a Bug 1675349: Update tests under browser/components for the removal of plugins. r=jmathies,mixedpuppy
UPDATED
-------

browser/components/extensions/test/browser/browser_ext_browsingData_pluginData.js
Test plugindata part of the browsingData extension's use of nsIClearDataService.
Have test attempt to clear non-existent data.  Test that browsingData APIs do not cause exceptions.

REMOVED
-------
browser/components/enterprisepolicies/tests/browser/browser_policy_disable_flash_plugin.js
Bug 1429169
Flash ctp/disabled by enterprise policy.

Differential Revision: https://phabricator.services.mozilla.com/D95907
2020-11-18 15:57:10 +00:00
Bogdan Tara
56346a0425 Backed out 19 changesets (bug 1675349) for lint failures on browser_ext_browsingData_pluginData and test_archive CLOSED TREE
Backed out changeset 244e0f2b410c (bug 1675349)
Backed out changeset ba5724069dd4 (bug 1675349)
Backed out changeset 37fca259c7e9 (bug 1675349)
Backed out changeset f2b16caca1fc (bug 1675349)
Backed out changeset 28835d4935be (bug 1675349)
Backed out changeset eb913f58953a (bug 1675349)
Backed out changeset 19e3cb80f469 (bug 1675349)
Backed out changeset d9723f3a3a7e (bug 1675349)
Backed out changeset c888dfcdf70e (bug 1675349)
Backed out changeset 48f153341af6 (bug 1675349)
Backed out changeset 7fc67a9b2932 (bug 1675349)
Backed out changeset 1cee4d97f801 (bug 1675349)
Backed out changeset 59a0cb79c7c1 (bug 1675349)
Backed out changeset 43d349fa37b1 (bug 1675349)
Backed out changeset c84bfb6eae59 (bug 1675349)
Backed out changeset 38e9af69ae57 (bug 1675349)
Backed out changeset 3255c1ab3059 (bug 1675349)
Backed out changeset 2f3eaf9c342c (bug 1675349)
Backed out changeset 769e5c0db4c2 (bug 1675349)
2020-11-18 06:06:36 +02:00
David Parks
b1b7e6c4f0 Bug 1675349: Update tests under browser/components for the removal of plugins. r=jmathies,mixedpuppy
UPDATED
-------

browser/components/extensions/test/browser/browser_ext_browsingData_pluginData.js
Test plugindata part of the browsingData extension's use of nsIClearDataService.
Have test attempt to clear non-existent data.  Test that browsingData APIs do not cause exceptions.

REMOVED
-------
browser/components/enterprisepolicies/tests/browser/browser_policy_disable_flash_plugin.js
Bug 1429169
Flash ctp/disabled by enterprise policy.

Differential Revision: https://phabricator.services.mozilla.com/D95907
2020-11-18 03:11:46 +00:00
Tim Giles
973bb4dad6 Bug 1613620 - Provide an option to remove all logins at once from about:logins. r=prathiksha,fluent-reviewers,sfoster,markh
Depends on D89078

Differential Revision: https://phabricator.services.mozilla.com/D91198
2020-11-17 21:38:33 +00:00
Bogdan Tara
7b40f0b246 sBacked out changeset 26f7d3a8b1b6 (bug 1595858) for overrides related mochitest failures CLOSED TREE 2020-11-18 01:42:59 +02:00
Erica Wright
a0437a3853 Bug 1595858 - Allow users to select or deselect addons for homepage and newtab without disabling the addons. r=preferences-reviewers,Gijs,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D93584
2020-11-17 19:49:36 +00:00
Mihai Alexandru Michis
e2ec982790 Backed out 2 changesets (bug 1613620, bug 1675557) for causing bc failures in browser_removeAllDialog.js
CLOSED TREE

Backed out changeset 46f96d192bbd (bug 1675557)
Backed out changeset 20a2fcd59084 (bug 1613620)
2020-11-17 18:40:20 +02:00
Tim Giles
8e6c2d4b17 Bug 1613620 - Provide an option to remove all logins at once from about:logins. r=prathiksha,fluent-reviewers,sfoster,markh
Depends on D89078

Differential Revision: https://phabricator.services.mozilla.com/D91198
2020-11-17 15:02:42 +00:00
Nika Layzell
42028efc71 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-12 18:01:03 +00:00
Emilio Cobos Álvarez
1c753a9c55 Bug 1676843, bug 1618639 - Hopefully the last round of test fixes.
MANUAL PUSH: Orange in a CLOSED TREE
2020-11-13 22:07:48 +01:00
Emilio Cobos Álvarez
2731a2e354 Bug 1676843, bug 1618639 - A couple more test fixes.
MANUAL PUSH: Orange in a CLOSED TREE
2020-11-13 19:12:39 +01:00
Emilio Cobos Álvarez
04aacd7070 Bug 1676843 - Fix up some tests that rely on rounded inner windows dimensions.
MANUAL PUSH: Timeouts on a CLOSED TREE
2020-11-13 17:19:06 +01:00
Bogdan Tara
ca56bb2db5 Backed out changeset d86e4d6c2be4 (bug 1595858) for browser_ext_chrome_settings_overrides_home.js failures CLOSED TREE 2020-11-13 06:11:35 +02:00
Erica Wright
afcd271556 Bug 1595858 - Allow users to select or deselect addons for homepage and newtab without disabling the addons. r=preferences-reviewers,Gijs,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D93584
2020-11-13 02:02:47 +00:00
Tom Schuster
bf6253f556 Bug 1675643. Fix browsingData.removeLocalStorage when next-gen storage is disabled. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D96173
2020-11-06 16:14:16 +00:00
Mark Banner
171ca8fd0a Bug 1643858 - When an add-on is uninstalled at early startup, ensure that we also remove associated search engines. r=mixedpuppy,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D95540
2020-11-04 11:20:45 +00:00
Razvan Maries
10425eddfc Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell
5f9c85da95 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-04 00:55:36 +00:00
Tom Schuster
98810e5387 Bug 1670811 - Tests for browsingData.remove with cookieStoreId r=extension-reviewers,mixedpuppy,rpl
Depends on D93277

Differential Revision: https://phabricator.services.mozilla.com/D93332
2020-11-03 18:28:58 +00:00
Tom Schuster
c80939398a Bug 1670811 - browsingData.remove cookieStoreId support for next-gen localStorage and indexedDB r=rpl
Depends on D93276

Differential Revision: https://phabricator.services.mozilla.com/D93277
2020-11-03 18:28:55 +00:00
Tom Schuster
3e9a407b7f Bug 1670811 - Unify indexedDB and localStorage code r=rpl
Depends on D93275

Differential Revision: https://phabricator.services.mozilla.com/D93276
2020-11-03 18:28:47 +00:00
Tom Schuster
288d639be4 Bug 1670811 - Basic browsingData.remove cookieStoreId support for clearing cookies r=extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D93275
2020-11-03 18:28:40 +00:00
Dorel Luca
ce470538d0 Backed out 4 changesets (bug 1670811) for Browser-chrome failures in extensions/test/browser/browser_ext_browsingData_localStorage.js. CLOSED TREE
Backed out changeset d8c8748e2368 (bug 1670811)
Backed out changeset edde0caa4fa2 (bug 1670811)
Backed out changeset 3ce25bc93634 (bug 1670811)
Backed out changeset 2e6562022528 (bug 1670811)
2020-11-03 16:29:56 +02:00
Tom Schuster
ad21606ced Bug 1670811 - Tests for browsingData.remove with cookieStoreId r=extension-reviewers,mixedpuppy,rpl
Depends on D93277

Differential Revision: https://phabricator.services.mozilla.com/D93332
2020-11-03 13:18:58 +00:00
Tom Schuster
db38ffdd23 Bug 1670811 - browsingData.remove cookieStoreId support for next-gen localStorage and indexedDB r=rpl
Depends on D93276

Differential Revision: https://phabricator.services.mozilla.com/D93277
2020-11-02 20:46:22 +00:00
Tom Schuster
32c7705e76 Bug 1670811 - Unify indexedDB and localStorage code r=rpl
Depends on D93275

Differential Revision: https://phabricator.services.mozilla.com/D93276
2020-11-02 20:46:14 +00:00
Tom Schuster
3d2496e8a9 Bug 1670811 - Basic browsingData.remove cookieStoreId support for clearing cookies r=extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D93275
2020-11-02 21:00:14 +00:00
Brad Werth
adb6ce1988 Bug 1634556 Part 4: Add tests of mousewheel zoom in a sidebar, browser action, and page action panels. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D86467
2020-11-02 14:40:54 +00:00
Brad Werth
32579b7ff7 Bug 1634556 Part 2: Make web extension popup panels listen to zoom enlarge/reduce events. r=mixedpuppy
These events are fired for all parent process documents by the code that
handles native mousewheel events. This change adds listeners to those events
and handles them similarly to how they are handled for browsers.

Differential Revision: https://phabricator.services.mozilla.com/D87113
2020-10-23 23:20:07 +00:00
Narcis Beleuzu
009e6beb73 Backed out 4 changesets (bug 1670811) for mochitest failures on test_ext_cookies_containers.html
Backed out changeset 26b4582e47ae (bug 1670811)
Backed out changeset 3de473631613 (bug 1670811)
Backed out changeset ef9da168cdfd (bug 1670811)
Backed out changeset 3175566381a6 (bug 1670811)
2020-11-02 18:13:48 +02:00
Tom Schuster
ab1a6f2a2b Bug 1670811 - Tests for browsingData.remove with cookieStoreId r=extension-reviewers,mixedpuppy,rpl
Depends on D93277

Differential Revision: https://phabricator.services.mozilla.com/D93332
2020-11-02 12:22:45 +00:00
Tom Schuster
8ccf778780 Bug 1670811 - browsingData.remove cookieStoreId support for next-gen localStorage and indexedDB r=rpl
Depends on D93276

Differential Revision: https://phabricator.services.mozilla.com/D93277
2020-11-02 12:20:11 +00:00
Tom Schuster
c15e97f97b Bug 1670811 - Unify indexedDB and localStorage code r=rpl
Depends on D93275

Differential Revision: https://phabricator.services.mozilla.com/D93276
2020-10-31 18:09:04 +00:00
Tom Schuster
dbf7afa2c0 Bug 1670811 - Basic browsingData.remove cookieStoreId support for clearing cookies r=extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D93275
2020-11-02 12:22:53 +00:00
Razvan Maries
aa6c94921b Backed out changeset b952d7de3e3e (bug 1650956) for perma failures on browser_ext_tabs_successors.js. CLOSED TREE 2020-10-30 01:29:15 +02:00
Liz Krane
ab5ae8ff2a Bug 1650956 - browser.tabs.remove() now calls removeTabs(). r=robwu
Removing multiple tabs via extensions now calls `gBrowser.removeTabs()`
once for each window that has tabs being removed. Also adds automated
browser tests for removing one tab or multiple tabs.

Differential Revision: https://phabricator.services.mozilla.com/D93438
2020-10-29 20:36:34 +00:00
Ricky Stewart
02a7b4ebdf Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Jared Wein
3d2a8005c8 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers,marionette-reviewers,whimboo
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-26 02:32:07 +00:00
Bogdan Tara
da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Mihai Alexandru Michis
f11e661f24 Backed out changeset ba261cf25651 (bug 727668) for causing marionette failures in test_screenshot.py
CLOSED TREE
2020-10-22 06:13:54 +03:00
Dorel Luca
1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Jared Wein
e0e5f6bba3 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-21 19:20:20 +00:00
Narcis Beleuzu
8945877156 Backed out 1 changesets (bug 727668) for bc failures on browser_aboutNewTab_bookmarksToolbar.js . CLOSED TREE
Backed out changeset 5b6a14b4e16e (bug 727668)
2020-10-19 21:19:17 +03:00
Jared Wein
0e83701c0c Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-19 16:38:17 +00:00
Peter Van der Beken
b9f1b3e0e2 Bug 1671223 - Reenable some tests that are now succeeding with session history in parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D93770
2020-10-19 08:41:11 +00:00
Richa Sharma
4bf7a105cc Bug 1665568 - Throw no receiver error if tab is not available. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D93005
2020-10-09 21:42:17 +00:00
Emilio Cobos Álvarez
4e68e78542 Bug 1669925 - Add a printing.trigger keyed scalar to record what triggers a particular print dialog. r=jwatt,marionette-reviewers,maja_zf
In order to avoid over/under-counting, we need to treat window.print()
specially. The new UI was using aOpenWindowInfo.isForPrintPreview for
that, but that doesn't quite work for the old UI (because it will
trigger a regular print, not a preview).

But since isForPrintPreview was only really needed to distinguish
window.print(), just rename it and set it to true when the old UI is
triggered by window.print() as well.

Differential Revision: https://phabricator.services.mozilla.com/D92925
2020-10-09 14:59:46 +00:00
Olli Pettay
8a508eaa66 Bug 1668357 - Disable tests which fail when fission and session-history-in-parent are enabled, r=peterv,marionette-reviewers,whimboo
In many cases with wpt, most of the tests in the file pass, but it is rather time consuming to annotate
.ini files case by case.

Differential Revision: https://phabricator.services.mozilla.com/D91977
2020-10-01 10:23:47 +00:00
Daisuke Akatsuka
37cb66004f Bug 1638633: Introduce loadSearchFromExtension to use same mechanism as loadSearchFrom*. r=mak,robwu
Differential Revision: https://phabricator.services.mozilla.com/D91560
2020-10-01 00:12:15 +00:00
Kris Maglione
bbfbd2f113 Bug 1660057: Add preferences for Fission rollout Normandy experiment. r=nika,marionette-reviewers,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91066
2020-09-25 02:01:15 +00:00
Razvan Maries
8de1e9f262 Backed out changeset 737f0e3e2f94 (bug 1660057) for xpcshell perma failures. CLOSED TREE 2020-09-24 23:25:54 +03:00
Kris Maglione
04dc79653a Bug 1660057: Add preferences for Fission rollout Normandy experiment. r=nika,marionette-reviewers,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91066
2020-09-24 18:35:58 +00:00
Alexandre Poirot
fad9e1690b Bug 1663649 - [devtools] Enable target switching by default. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D91020
2020-09-23 17:50:20 +00:00
Agi Sferro
490c700133 Bug 1664522 - Move ext_tabs_captureTab test to toolkit. r=robwu,snorp
Differential Revision: https://phabricator.services.mozilla.com/D90167
2020-09-17 18:04:20 +00:00
Agi Sferro
ffd9c2aa20 Bug 1664522 - Fix tabs.captureVisibleTab for mobile. r=robwu,zombie,snorp
There are two things wrong with captureVisibleTab on mobile:

    * ownerGlobal is not available on nativeTab, this patch uses
      this.browser.ownerGlobal instead.
    * ZoomManager is not available on mobile, this patch moves that code to
      browser/../ext-tabs.

Differential Revision: https://phabricator.services.mozilla.com/D90009
2020-09-16 22:08:33 +00:00
Dorel Luca
36eb42a5a8 Backed out 3 changesets (bug 1664522) for Mochitest failures in extensions/test/mochitest/test_ext_tabs_captureTab.html. CLOSED TREE
Backed out changeset 30b8a0e3514b (bug 1664522)
Backed out changeset 04b61d3d734a (bug 1664522)
Backed out changeset c951834c99c7 (bug 1664522)
2020-09-17 00:26:59 +03:00
Dorel Luca
cef5008fd7 Backed out 4 changesets (bug 1665162, bug 1664522, bug 1620324) for XPCshell failures and build bustages. CLOSED TREE
Backed out changeset a31efbcf3ff5 (bug 1664522)
Backed out changeset c985209d3ced (bug 1665162)
Backed out changeset ea2f00c4049e (bug 1620324)
Backed out changeset 2ee894a67a93 (bug 1620324)
2020-09-17 00:55:33 +03:00
Dorel Luca
70bfa5c776 Backed out 3 changesets (bug 1664522) for Mochitest failures in extensions/test/mochitest/test_ext_tabs_captureTab.html. CLOSED TREE
Backed out changeset 30b8a0e3514b (bug 1664522)
Backed out changeset 04b61d3d734a (bug 1664522)
Backed out changeset c951834c99c7 (bug 1664522)
2020-09-17 00:26:59 +03:00
Agi Sferro
f9bb44fe18 Bug 1664522 - Move ext_tabs_captureTab test to toolkit. r=robwu,snorp
Differential Revision: https://phabricator.services.mozilla.com/D90167
2020-09-16 20:11:35 +00:00
Agi Sferro
8647758548 Bug 1664522 - Fix tabs.captureVisibleTab for mobile. r=robwu,zombie,snorp
There are two things wrong with captureVisibleTab on mobile:

    * ownerGlobal is not available on nativeTab, this patch uses
      this.browser.ownerGlobal instead.
    * ZoomManager is not available on mobile, this patch moves that code to
      browser/../ext-tabs.

Differential Revision: https://phabricator.services.mozilla.com/D90009
2020-09-16 20:12:00 +00:00
Michael Goossens
1805ff69e9 Bug 1662329 - Drop cookie permission requirement for cookieStoreId r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D90032
2020-09-16 13:50:30 +00:00
Tomislav Jovanovic
c99e9821ef Bug 1636508 - Add options to select captureTab area and scale r=robwu,geckoview-reviewers,agi
Also fix test for HiDPI monitors, and refactor it to remove duplicate code for captureVisibleTab.

Differential Revision: https://phabricator.services.mozilla.com/D89128
2020-09-10 19:38:17 +00:00
Christoph Kerschbaumer
d29c3dd45d Bug 1654258: Package all activity-stream css files and load them using the internal chrome: protocol. r=mconley,k88hudson,perftest-reviewers,zombie,sparky
Differential Revision: https://phabricator.services.mozilla.com/D85022
2020-09-09 16:11:28 +00:00
Tomislav Jovanovic
9122004b63 Bug 1662654 - Convert default top sites icons to data: URIs r=ckerschb,rpl
Differential Revision: https://phabricator.services.mozilla.com/D89297
2020-09-08 11:36:05 +00:00
Drew Willcoxon
6d6402fb4e Bug 1658964 - Convert local restriction chars to search mode and make other improvements to search mode. r=harry
Summary of major changes:

* Bookmarks, history, and tabs restriction chars now enter search mode. I added
  a method to UrlbarProviderHeuristicFallback to return a result with a keyword
  when one of these is used.
* This fixes other bugs like recognizing aliases that are entered at the
  beginning of non-empty search strings, and not quasi-re-entering search mode
  when search mode is already entered and you type another alias.
* The heuristic now determines whether we enter search mode, similar to how it
  also determines whether we autofill. When the heuristic has a keyword but no
  keyword offer, and the keyword is one of the recognized search mode keywords,
  then we enter search mode, cancel the current query, and start a new query
  with the remainder of the search string after the keyword.
* I slightly changed how we detect an alias, but only when update2 is
  enabled. Now, an alias must be followed by a space; otherwise, the alias is
  not recognized and instead just remains part of the seach string. Because if
  we don't do that, then you end up in a strange situation after typing an alias
  but before pressing space: The heuristic says "Search with <engine with the
  alias>", but we haven't entered search mode yet because you haven't typed a
  space yet. This is true for both @aliaes and non-@aliases.
* A consequence of the previous point is that we can still autofill @aliases
  with a trailing space, which IMO is important. Then, once the user types any
  char (space or not), we immediately enter search mode with the query being
  whatever char they typed. This is less important after bug 1658605 landed, but
  it's still good to have.
* Previously, `UrlbarView.onQueryResults` called UrlbarInput in order to
  autofill after the first result is received. This is circuitous becaue the
  input already has an `onFirstResult` method, which I now use to enter search
  mode when appropriate. So I moved the autofill call from UrlbarView to
  `UrlbarInput.onFirstResult`.
* As I mentioned, I improved some test framework and simplified some related
  product (non-test) code. For example:
    * I removed `UrlbarUtils.KEYWORD_OFFER.NONE` in favor of just leaving
      `keywordOffer` as `undefined`.
    * `tailOffsetIndex` can now be `undefined` if it's not relevant.
    * I removed empty-string `icon` properties from payloads in favor of
      `undefined`.
    * In tests, I ignore `undefined` but present properties in payloads so they
      don't count when comparing payloads with `deepEqual`.
    * We weren't previously comparing `result.source` and `result.type` in
      xpcshell tests, and that's important IMO, so I added checks for those and
      updated tests.
    * `isSearchHistory` is redundant, so I removed it. For form history, we
      should be checking `result.source == HISTORY` and `result.type == SEARCH`.
* A bunch of tests needed to be updated for this new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D87944
2020-09-02 00:52:12 +00:00
Mark Banner
552793d2cc Bug 1619926 - Remove remnants of Search geo-location handling now it is handled by Region.jsm. r=daleharvey
Depends on D88021

Differential Revision: https://phabricator.services.mozilla.com/D88022
2020-09-01 18:08:46 +00:00
Mark Banner
c58199cf9f Bug 1619926 - Remove old search config list.json files from tests as they aren't necessary anymore. r=daleharvey
Depends on D88020

Differential Revision: https://phabricator.services.mozilla.com/D88021
2020-09-01 18:08:43 +00:00
Butkovits Atila
7b340f9684 Backed out 15 changesets (bug 1612824, bug 1661234, bug 1619926, bug 1612380, bug 1559530, bug 1642990) for Xpc failures. CLOSED TREE
Backed out changeset 426d017d7e46 (bug 1642990)
Backed out changeset 84ab4021d403 (bug 1559530)
Backed out changeset 82a8305543e5 (bug 1559530)
Backed out changeset 38832c1185b8 (bug 1559530)
Backed out changeset f16918c10a6b (bug 1661234)
Backed out changeset 3a13258fbd51 (bug 1661234)
Backed out changeset abf8d8b24845 (bug 1612824)
Backed out changeset 7dfeb065a385 (bug 1619926)
Backed out changeset bc9d3e210fe7 (bug 1619926)
Backed out changeset 786164c461ae (bug 1619926)
Backed out changeset d89793e9d17d (bug 1619926)
Backed out changeset d665885bc912 (bug 1619926)
Backed out changeset 9260b6620943 (bug 1619926)
Backed out changeset af69a4896f2f (bug 1619926)
Backed out changeset b9cd6b7047b9 (bug 1612380)
2020-09-01 21:03:23 +03:00
Mark Banner
074a2c9ecb Bug 1619926 - Remove remnants of Search geo-location handling now it is handled by Region.jsm. r=daleharvey
Depends on D88021

Differential Revision: https://phabricator.services.mozilla.com/D88022
2020-08-31 16:34:25 +00:00
Mark Banner
ea5b87fb78 Bug 1619926 - Remove old search config list.json files from tests as they aren't necessary anymore. r=daleharvey
Depends on D88020

Differential Revision: https://phabricator.services.mozilla.com/D88021
2020-08-31 16:34:24 +00:00
Emilio Cobos Álvarez
5b82674837 Bug 1660739 - Fix tabs.printPreview API with the new print preview design. r=mstriemer,mixedpuppy
Return a promise from PrintUtils.printPreview which resolves when the
new print preview dialog is closed.

Differential Revision: https://phabricator.services.mozilla.com/D88013
2020-08-26 03:10:47 +00:00
Tomislav Jovanovic
ccc7783ad3 Bug 1636508 - Make tabs.captureTab compatible with Fission r=mattwoodrow,robwu,geckoview-reviewers,agi
Also fix WindowGlobalParent.drawSnapshot() to render the currently visible
viewport when called with a null rect, and clarify the webidl comment.

Differential Revision: https://phabricator.services.mozilla.com/D87971
2020-08-25 11:30:52 +00:00
Emma Malysz
511f442a94 Bug 1659859, make sure printing from context menu uses correct pref value r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D87778
2020-08-21 23:33:17 +00:00
Mark Banner
0542586f06 Bug 1656220 - Implement recording attributions for search engines. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D87501
2020-08-20 12:58:23 +00:00
Cristina Coroiu
3a18ab95b5 Backed out 2 changesets (bug 1656220, bug 1656219) for browser-chrome failures at browser_UsageTelemetry_urlbar.js and browser_oneOffs.js on a CLOSED TREE
Backed out changeset bf68aec38a05 (bug 1656220)
Backed out changeset 706d2900077b (bug 1656219)
2020-08-20 14:15:07 +03:00
Mark Banner
21253cfa1a Bug 1656220 - Implement recording attributions for search engines. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D87501
2020-08-20 09:06:59 +00:00
Sonia Singla
5f5c9fd7f2 Bug 1659267 - Remove usages of -moz-user-select across the Firefox codebase. r=emilio,marionette-reviewers,geckoview-reviewers,preferences-reviewers,whimboo,agi
Differential Revision: https://phabricator.services.mozilla.com/D87499
2020-08-18 23:37:51 +00:00
Rob Wu
8103eaba24 Bug 1659074 - Regression tests for undefined/uncloneable error in onMessage r=zombie,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D85644
2020-08-14 10:23:51 +00:00
Kris Maglione
0c976d908a Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-08-17 20:22:12 +00:00
Kris Maglione
3af8c4138c Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.

Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-08-17 20:20:50 +00:00
Emma Malysz
18fe337c0c Bug 1657161, enable print.tab_modal.enabled for EARLY_BETA_OR_EARLIER and hide page range section r=mstriemer,fluent-reviewers,preferences-reviewers,flod
We want this to be turned on for nightly users by default. The page range is still a WIP,
so we should hide that section for now.
This also adds the pref to the "Nightly Experiment" panel, turned on by default.

Differential Revision: https://phabricator.services.mozilla.com/D85907
2020-08-06 23:02:13 +00:00
Nika Layzell
c366c291b9 Bug 1589517 - Part 4: Remove sameProcessAsFrameLoader, r=zombie,mconley,farre,smacleod
The functionality has been fully subsumed by the new
initialBrowsingContextGroupId attribute, so it is no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D85653
2020-08-06 17:01:13 +00:00
Nika Layzell
2f84ab8f50 Bug 1589517 - Part 3: Add initialBrowsingContextGroupId to extension browsers, r=zombie
This attribute can be used to force non-tab extension browsers to be loaded in
the correct BrowsingContextGroup, and also subsumes the existing
sameProcessAsFrameLoader uses in extension code.

Differential Revision: https://phabricator.services.mozilla.com/D85652
2020-08-06 17:01:10 +00:00
Dale Harvey
e27206c34b Bug 1650881 - Support multiple aliases in webextensions r=Standard8,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D84921
2020-08-06 12:10:30 +00:00
Luca Greco
335c638616 Bug 1570478 - Prevent browser_ext_devtools_network.js from failing intermittently due to late RDP requests. r=Honza
A late getEventTimings RDP request is being cancelled while we are exiting the test case and we have already closed the devtools toolbox.

The related network request is very likely unrelated to the scenario being tested (I suspect it may be an HTTP request triggered by some
privileged code and being automatically added to the webconsole panel, it is not unlikely that we are not explicitly checking if the http
requests logged in the webconsole are actually related to the extension that the devtools toolbox is targeting).

In the meantime, the attached patch is adding to the PromiseTestUtils's "global allow list" the rejections for any late RDP request
that may still be pending while the test is exiting.

Differential Revision: https://phabricator.services.mozilla.com/D86000
2020-08-05 15:38:26 +00:00
Jonathan Kew
7e5e4c7638 Bug 1653354 - Make the WebExtensions API tabs.saveAsPDF work via the Cocoa printing code on macOS. r=jwatt,extension-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D85891
2020-08-04 16:58:20 +00:00
Luca Greco
f5fc6a6274 Bug 1654842 - webNavigation.getAllFrames/getFrame should resolve to null when called on discarded tabs. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D85622
2020-08-03 22:01:52 +00:00
Luca Greco
8de6c706ec Bug 1653530 - Add an explicit regression test to ensure that a content script can successfully use window.open in a private tab. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D85584
2020-07-31 15:10:32 +00:00
Agi Sferro
3767fc3e36 Bug 1654856 - Move ext-android to json. r=robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D84739
2020-07-29 21:44:09 +00:00
Dcoder99
faef0a6577 Bug 1651008 - Gives meaningful menus create error message. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D85024
2020-07-29 02:58:43 +00:00
Jonathan Watt
b7e932192e Bug 1652270. Convert nsFrameLoader::Print to return a Promise. r=farre,remote-protocol-reviewers,marionette-reviewers,jgraham,whimboo,mixedpuppy
(Instead of requiring callers to pass an nsIWebProgressListener.)

Differential Revision: https://phabricator.services.mozilla.com/D83249
2020-07-22 23:17:45 +00:00
Narcis Beleuzu
687f235fbc Backed out changeset f95c19e45ab2 (bug 1652270) for reftest failures on test-text.html . CLOSED TREE 2020-07-22 20:36:53 +03:00
Jonathan Watt
8c0fb25348 Bug 1652270. Convert nsFrameLoader::Print to return a Promise. r=farre,remote-protocol-reviewers,marionette-reviewers,jgraham,whimboo,mixedpuppy
(Instead of requiring callers to pass an nsIWebProgressListener.)

Differential Revision: https://phabricator.services.mozilla.com/D83249
2020-07-22 15:54:01 +00:00
Dorel Luca
990d081d9f Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
Backed out changeset 7b973a0e7be9 (bug 1651519)
Backed out changeset 55e9184c5617 (bug 1651519)
2020-07-22 02:47:34 +03:00
Kris Maglione
d182c95351 Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-07-21 22:19:19 +00:00
Kris Maglione
e7d942c77f Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.

Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 19:02:27 +00:00
Nicolas Chevobbe
ae24ed2cde Bug 1652016 - Destroy target created by WebExtension when destroying the toolbox. r=rpl,daisuke,jdescottes.
The problem has 2 folds.
The first one is that the shutdown function on DevToolsExtensionPageContextParent
wasn't called, which means the target was never destroyed. This is fixed by
overriding unload in DevToolsExtensionPageContextParent instead of shutdown, so
the function gets called and the target destroyed.

The second issue was that a single webextension could create 2 targets, and since
we only keep track of a single target, we would miss one. This is fixed by putting
the call to watchTargets in getCurrentDevTools in a promise, so subsequent calls
that might occur before the resulting promise isn't resolved don't end up calling
watchTargets a second time.

Differential Revision: https://phabricator.services.mozilla.com/D83935
2020-07-21 16:26:16 +00:00
Dorel Luca
d91c6dc40b Backed out 2 changesets (bug 1651519) for wpt failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
Backed out changeset 52317abc5c68 (bug 1651519)
Backed out changeset 45448dca59a4 (bug 1651519)
2020-07-21 21:55:57 +03:00
Kris Maglione
4a25531b4a Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-07-21 16:59:33 +00:00
Kris Maglione
9c2c147159 Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.

Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 16:59:28 +00:00
Kashav Madan
ae956c4eef Bug 1653674 - Unskip passing fission tests, r=kmag
It's possible that some of these are still failing intermittently. We can't
really know without first unskipping them.

https://github.com/annygakh/audit-tests

Differential Revision: https://phabricator.services.mozilla.com/D84017
2020-07-21 15:42:48 +00:00
Narcis Beleuzu
d78bc06be2 Bug 1651261 - Disable browser_ext_url_overrides_newtab.js on linux64. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D84049
2020-07-20 19:21:47 +00:00
Andreea Pavel
e46180930b Bug 1595340 - re-enable browser_ext_urlbar.js on fission r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D83851
2020-07-20 17:59:41 +00:00
Csoregi Natalia
c99b2cfaf1 Backed out changeset ad64957cf655 (bug 1271047) for failures on browser_ext_windows_create_params.js. CLOSED TREE 2020-07-17 12:25:28 +03:00
YUKI "Piro" Hiroshi
f9cdb32c1e Bug 1271047 - Place "popup" type window to given coordinates r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D73419
2020-07-13 16:02:46 +00:00
Cameron McCormack
dd61f595eb Bug 1620467 - Part 4: Change internal uses of -moz-appearance to appearance and -moz-default-appearance. r=emilio,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,ntim,agi,miketaylr
Uses of `-moz-appearance: none` are changed to `appearance: none`.

Uses of other values that are simply reverting the appearance back to
its default are changed to `appearance: auto`.

Uses of values in UA sheets that are defining the inherent appearance of
widgets are changed to:

  appearance: auto;
  -moz-default-appearance: <value>;

since those values are either no longer supported on (-moz-)appearance,
or are still supported but only in some limited form.

There are some uses of `-moz-appearance: textfield` on <input
type=number> elements that are renamed to `appearance: textfield`.

Differential Revision: https://phabricator.services.mozilla.com/D83430
2020-07-16 22:04:14 +00:00
Tomislav Jovanovic
0c81930a84 Bug 1587541 - Make tab.executeScript, insertCSS, removeCSS Fission compatible r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D81772
2020-07-15 14:30:17 +00:00
Kashav Madan
46c04e90f2 Bug 1596738 - Don't focus the tab's content area for restores triggered by DocumentChannel process switches, r=dao,nika,mixedpuppy
This causes the browser to steal focus from any element that was focused prior
to the completion of the remoteness flip. This is particularly a problem for
fission because every cross-origin navigation requires a process switch.

This code is still necessary for "normal" session restores (see bug 1410591),
but focus is handled elsewhere for remote navigations.

Differential Revision: https://phabricator.services.mozilla.com/D82783
2020-07-15 23:09:09 +00:00
Andreea Pavel
6587206412 Backed out changeset 328b97bc228e (bug 1587541) for causing bug 1652665 a=backout DONTBUILD 2020-07-14 11:30:47 +03:00
Sebastian Streich
38264715e9 Bug 1633710 - Move js uri.host to principal r=ckerschb,preferences-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D73242
2020-07-13 18:35:01 +00:00
Alexandre Poirot
9be28a6883 Bug 1649910 - Emit "switched-target" only after we fully attached to the new target. r=jdescottes
The previous code, emitting the event from Toolbox.onTargetAvailable,
wasn't waiting for the call to TargetList.startListening which is done
from TargetList.onTargetAvailable.

Differential Revision: https://phabricator.services.mozilla.com/D82664
2020-07-13 14:03:24 +00:00
Rob Wu
cdf90ed4e3 Bug 1651665 - Remove http:-URL validation bypasses from chrome_settings_overrides.search_provider r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D83013
2020-07-10 17:51:41 +00:00
Tomislav Jovanovic
0d4b27f0d1 Bug 1587541 - Make tab.executeScript, insertCSS, removeCSS Fission compatible r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D81772
2020-07-13 10:28:42 +00:00
Narcis Beleuzu
895e17157a Backed out changeset aeaa527e6119 (bug 1587541) for mochitest failures on test_chrome_ext_contentscript_telemetry.html . CLOSED TREE 2020-07-13 05:28:48 +03:00
Tomislav Jovanovic
d1e60a800a Bug 1587541 - Make tab.executeScript, insertCSS, removeCSS Fission compatible r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D81772
2020-07-13 00:32:43 +00:00
Harry Twyford
12102e198f Bug 1645521 - Part 2 - Allow for multiple heuristic providers and enable ProviderHeuristicFallback. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80293
2020-07-12 17:35:01 +00:00
Narcis Beleuzu
8e31f424cf Backed out changeset 60840d7cfef1 (bug 1587541) for Documentation opt failure. CLOSED TREE 2020-07-12 22:46:00 +03:00
Tomislav Jovanovic
17939666b8 Bug 1587541 - Make tab.executeScript, insertCSS, removeCSS Fission compatible r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D81772
2020-07-12 17:11:58 +00:00
Csoregi Natalia
b74c685d0f Backed out 6 changesets (bug 1650099, bug 1647881, bug 1645521, bug 1645324) for causing Bug 1652024.
Backed out changeset f66c5cce9088 (bug 1650099)
Backed out changeset bf67c2159244 (bug 1645324)
Backed out changeset 76d81e1e728b (bug 1645521)
Backed out changeset ab3766fa81f9 (bug 1645521)
Backed out changeset ff56bb6cbfb7 (bug 1645521)
Backed out changeset aceb6f9acf3b (bug 1647881)
2020-07-12 17:58:28 +03:00
Harry Twyford
7e31642215 Bug 1645521 - Part 2 - Allow for multiple heuristic providers and enable ProviderHeuristicFallback. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80293
2020-07-09 05:02:49 +00:00
Kris Maglione
9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Cosmin Sabou
71bfce5442 Backed out 5 changesets (bug 1650099, bug 1645521, bug 1645324) as requested by harry for causing bug 1652024.
Backed out changeset 93abbd32c314 (bug 1650099)
Backed out changeset 366f7bfe267c (bug 1645324)
Backed out changeset b92a18e970ee (bug 1645521)
Backed out changeset d57d3a47b1ad (bug 1645521)
Backed out changeset 41e4a6353913 (bug 1645521)
2020-07-11 02:03:18 +03:00
Kris Maglione
6a39211860 Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 21:42:25 +00:00
Csoregi Natalia
b355fcc4bf Backed out 6 changesets (bug 1464542) for xpcshell failures on test_Services.js. CLOSED TREE
Backed out changeset b50af9005851 (bug 1464542)
Backed out changeset 9d3a0ea2cf65 (bug 1464542)
Backed out changeset 71c3475fcbc2 (bug 1464542)
Backed out changeset 51ff93220a95 (bug 1464542)
Backed out changeset e84de1547c09 (bug 1464542)
Backed out changeset bbecc16d08eb (bug 1464542)
2020-07-09 23:19:26 +03:00
Harry Twyford
734973aa0a Bug 1645521 - Part 2 - Allow for multiple heuristic providers and enable ProviderHeuristicFallback. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80293
2020-07-09 05:02:49 +00:00
Kris Maglione
59853f58cc Bug 1651766: Fix assertions in extension browser tests which rely on type coercion. r=rpl
Type coercion in browser test assertion functions is going away in bug 1647187.

Differential Revision: https://phabricator.services.mozilla.com/D82971
2020-07-09 18:44:13 +00:00
Kris Maglione
d09458dc51 Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 17:59:16 +00:00
Mark Banner
e70637b6d9 Bug 1632448 - Remove now unused confirm and extensionID parameters for nsISearchService.addEngine, and rename it. r=daleharvey
Renaming to addOpenSearchEngine to make it more explicit about what it is actually doing.

Depends on D82524

Differential Revision: https://phabricator.services.mozilla.com/D82525
2020-07-09 09:56:25 +00:00
Mark Banner
081c72b8b1 Bug 1637744 - Add more tests to cover various search engine parameter options. r=daleharvey
These cover some gaps in coverage for the existing getEngineParams.

Differential Revision: https://phabricator.services.mozilla.com/D82349
2020-07-09 09:50:29 +00:00
Dorel Luca
584ee0d8de Backed out 5 changesets (bug 1647881, bug 1645521, bug 1645324) for BC failures in urlbar/tests/browser/browser_autocomplete_a11y_label.js. CLOSED TREE
Backed out changeset 65f908569875 (bug 1645324)
Backed out changeset 3080a3cacd0a (bug 1645521)
Backed out changeset d32236f070bf (bug 1645521)
Backed out changeset 579362aab769 (bug 1645521)
Backed out changeset 2b306b83c0d1 (bug 1647881)
2020-07-09 07:57:42 +03:00
Harry Twyford
8d274264c0 Bug 1645521 - Part 2 - Allow for multiple heuristic providers and enable ProviderHeuristicFallback. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80293
2020-07-09 02:12:33 +00:00
Nika Layzell
672ef8965c Bug 1599579 - Part 5: Ensure all views have matching BrowsingContextGroup IDs in getViews test, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D80258
2020-07-06 19:45:43 +00:00
Dana Keeler
6f7bd19b68 Bug 1649518 - 2/3: prohibit web-extensions from interacting with the osclientcerts module r=mixedpuppy
Depends on D81888

Differential Revision: https://phabricator.services.mozilla.com/D81895
2020-07-06 19:29:03 +00:00
Dana Keeler
a959380d74 Bug 1649518 - 1/3: revert a34e77d6c3bf in preparation of enabling osclientcerts by default r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D81888
2020-07-06 19:29:17 +00:00
Dorel Luca
3e761e3907 Backed out changeset 255d9078dd17 (bug 1633710) for Browser-chrome failures in extensions/test/xpinstall/browser_datauri.js. CLOSED TREE 2020-07-06 18:38:13 +03:00
Sebastian Streich
95212989d4 Bug 1633710 - Move js uri.host to principal r=ckerschb,preferences-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D73242
2020-07-06 14:00:09 +00:00
Julian Descottes
3ec6af87ab Bug 1650155 - Remove remaining mentions of whitelist in files using allowMatchingRejectionsGlobally r=Gijs
Depends on D82059

Differential Revision: https://phabricator.services.mozilla.com/D82061
2020-07-03 16:57:25 +00:00
Julian Descottes
3e1e4c22b6 Bug 1650155 - Rename PromiseTestUtils.whitelistRejectionsGlobally to allowMatchingRejectionsGlobally r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82059
2020-07-03 17:01:29 +00:00
Sarah Bird
d1626da38c Bug 1647501 - Rename "test slave" -> "test machine", r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81908
2020-07-02 01:06:01 +00:00
Butkovits Atila
146ad267af Backed out 6 changesets (bug 1599579) for bc failures at test_chrome_ext_contentscript_data_uri.html.
Backed out changeset b767f26b10ed (bug 1599579)
Backed out changeset c5bc0ea42193 (bug 1599579)
Backed out changeset cfdd8d5973d4 (bug 1599579)
Backed out changeset 73f6c956fc30 (bug 1599579)
Backed out changeset 14698ab42ee4 (bug 1599579)
Backed out changeset b4bdd8759433 (bug 1599579)
2020-06-30 21:41:27 +03:00
Nika Layzell
9ba0e21272 Bug 1599579 - Part 5: Ensure all views have matching BrowsingContextGroup IDs in getViews test, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D80258
2020-06-30 15:55:47 +00:00
Csoregi Natalia
71061cd95b Backed out 2 changesets (bug 1253129) for failures on browser_ext_windows_create_params.js. CLOSED TREE
Backed out changeset 1881ebd34b2b (bug 1253129)
Backed out changeset 93f852ad5d28 (bug 1253129)
2020-06-29 22:28:56 +03:00
Shane Caraveo
e2f81589ab Bug 1253129 warn when using focused property with windows.create r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D76944
2020-06-26 16:49:20 +00:00
Mélanie Chauvel (ariasuni)
0d23813d28 Bug 1402256 - Add WebExtensions API to “warm up” a tab r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D71873
2020-06-25 11:45:47 +00:00
Mélanie Chauvel (ariasuni)
f115f8d25f Bug 1376088 - make tab active immediately in tabs.duplicate r=robwu,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73732
2020-06-25 11:45:12 +00:00
Drew Willcoxon
982c1da337 Bug 1632105 - Implement dynamic result types. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D71921
2020-06-23 19:14:43 +00:00
Gijs Kruitbosch
fca766666b Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-23 14:04:49 +00:00
Narcis Beleuzu
46e3b1ce2c Backed out 5 changesets (bug 1599579) for twinopen failures. CLOSED TREE
Backed out changeset 053229a30ef1 (bug 1599579)
Backed out changeset c2828aec4caf (bug 1599579)
Backed out changeset 085558fe56dc (bug 1599579)
Backed out changeset a4e7334f8ce6 (bug 1599579)
Backed out changeset 9ebd2eb155da (bug 1599579)
2020-06-23 02:23:48 +03:00
Nika Layzell
64c97f9388 Bug 1599579 - Part 5: Ensure all views have matching BrowsingContextGroup IDs in getViews test, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D80258
2020-06-22 20:44:47 +00:00
Dorel Luca
d4c820fa0f Backed out changeset 3671a57712e4 (bug 1646780) for Browser-chrome failures in webrtc/browser_devices_get_user_media_tear_off_tab.js 2020-06-19 04:22:23 +03:00
Gijs Kruitbosch
f457ccd655 Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-19 00:02:11 +00:00
Dave Townsend
e07f989e6c Bug 1620358: Gather telemetry on toolbar state. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D78393
2020-06-16 21:06:15 +00:00
dpk
214e706476 Bug 1637431 - Gives meaningful tabs.query error message. r=robwu,geckoview-reviewers,agi
***
Bug 1637431 - Gives meaningful tabs.query error message. r=robwu

Differential Revision: https://phabricator.services.mozilla.com/D78466
2020-06-16 11:47:14 +00:00
Mark Banner
4ed84161a4 Bug 1638888 - Make disabling and enabling a WebExtension restore the default search engine correctly. r=mixedpuppy,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D76503
2020-06-16 08:54:24 +00:00
Mark Banner
191db56ecd Bug 1638888 - Simplify processSearchProviderManifestEntry to handle the not setting as default engine case first. r=mixedpuppy,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79271
2020-06-16 08:54:16 +00:00
Drew Willcoxon
7024c06712 Bug 1640045 - Replace PlacesSearchAutocompleteProvider with UrlbarSearchUtils, remove its parseSubmissionURL function, and init the search service on the first query. r=mak
* Replace PlacesSearchAutocompleteProvider with UrlbarSearchUtils.
  * Move the module from toolkit to browser. The only consumers of
    PlacesSearchAutocompleteProvider are urlbar and UnifiedComplete.
  * I'd like to add functions to UrlbarUtils instead, but
    PlacesSearchAutocompleteProvider adds itself as an observer for search
    engine changes, and it keeps some state so that alias lookups are O(1). It
    has an init function to set that up. That's not quite as easy to do if I
    just added some functions to UrlbarUtils, and I think that O(1) lookups of
    aliases are worth keeping (vs. O(number of installed engines)), so I kept a
    separate module, now called UrlbarSearchUtils.
* Init the search service (via UrlbarSearchUtils) from
  UrlbarProvidersManager.startQuery so that every module involved in querying
  doesn't need to do it.
* Remove PlacesSearchAutocompleteProvider.currentEngine. Previous consumers can
  simply use Services.search directly now that the service is initialized early
  (see previous point).
* Remove PlacesSearchAutocompleteProvider.parseSubmissionURL. Here again
  consumers can use Services.search directly.

Differential Revision: https://phabricator.services.mozilla.com/D79244
2020-06-16 01:08:38 +00:00
Sonia Singla
4f63eefcef Bug 1638360 - Only show bookmark menu items for nodes with a bookmarkGuid. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D79605
2020-06-14 16:50:12 +00:00
Bogdan Tara
2b80bfb16b Backed out changeset 61bdbb94ab7a (bug 1637431) for browser_ext_tabs_cookieStoreId.js failures CLOSED TREE 2020-06-11 07:36:35 +03:00
dpk
43998630ac Bug 1637431 - Gives meaningful tabs.query error message. r=robwu,geckoview-reviewers,agi
***
Bug 1637431 - Gives meaningful tabs.query error message. r=robwu

Differential Revision: https://phabricator.services.mozilla.com/D78466
2020-06-11 03:44:23 +00:00
Mihai Alexandru Michis
9167a29a3a Backed out changeset 436777b95e22 (bug 1637431) for causing bc failures in browser_ext_tabs_cookieStoreId.js
CLOSED TREE
2020-06-11 06:35:23 +03:00
dpk
21f99d2072 Bug 1637431 - Removed a comment line, rev approved. r=robwu,geckoview-reviewers,agi
***
Bug 1637431 - Gives meaningful tabs.query error message. r=robwu

Differential Revision: https://phabricator.services.mozilla.com/D78466
2020-06-11 02:33:11 +00:00
Dana Keeler
82ce5c1a6e Bug 1637807 - add browser.pkcs11.autoload API to allow webextensions to enable osclientcerts r=mixedpuppy CLOSED TREE
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
Noemi Erli
26d0f6a6fd Backed out changeset a34e77d6c3bf (bug 1637807) for crashes @InvalidArrayIndex_CRASH CLOSED TREE 2020-06-10 04:52:30 +03:00
Daisuke Akatsuka
d681c2279f Bug 1626494: Add test of target-switching for devtools network. r=rpl,extension-reviewers
Depends on D67439

Differential Revision: https://phabricator.services.mozilla.com/D67440
2020-06-10 00:36:39 +00:00
Daisuke Akatsuka
337dbc0296 Bug 1626494: Address target-switching for devtools network. r=ochameau,rpl
Differential Revision: https://phabricator.services.mozilla.com/D67438
2020-06-10 00:33:59 +00:00
Dana Keeler
98b77a3266 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
20b1b77919 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
2e3146fbf2 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
7e9799c2c7 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
e4d116f876 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
8162b376d4 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
5ccae203ff 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
e960b9f449 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
b4173bc59e 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
64fddbdb48 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
f474d273b1 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
79fe28f0d6 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
848f1f0043 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
e40be0aa72 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
165022b2c4 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
8f0bdce123 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
82e6b1c0ab 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
428997aedb 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
9574e25c80 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
d1c11476f6 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
cc617abea2 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
a46df46151 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
c562e03d91 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
577303a05c 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
332eda16ac 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
b1cae13cac 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
8ae6613380 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
e671b8b516 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
166994cf8b 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
40cac5473a 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
ceba0e848d 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
4d5f4e2f58 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)
a09b2821db 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
33899422e7 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
2f983e6cfa 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
019b662f87 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
1320417128 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
306ff5694d 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
a9ec3a9f7a 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
bde963d702 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