Commit Graph

2668 Commits

Author SHA1 Message Date
Tom Schuster
c4bfd1ce8b Bug 1636784 - Use Services.clearData for clearing cache/plugin data. r=rpl
This allows us to support clearing by hostname for both.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Differential Revision: https://phabricator.services.mozilla.com/D73134
2020-04-30 03:52:56 +00:00
Daniel Varga
b2d89104a2 Backed out changeset 8a0b81f6263e (bug 1606862) for causing devtools failures at devtools/client/framework/test/browser_toolbox_toolbar_reorder_with_extension.js
CLOSED TREE
2020-04-30 06:05:20 +03:00
Shane Caraveo
f19f5b74d5 Bug 1606862 support devtools as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71829
2020-04-30 01:50:34 +00:00
Dorel Luca
047d3a2819 Backed out changeset 74dce6390e5e (bug 1606862) for Xpcshell failures in extensions/test/xpcshell/test_ext_startup_perf.js. CLOSED TREE 2020-04-30 04:17:57 +03:00
Shane Caraveo
12de1703e2 Bug 1606862 support devtools as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71829
2020-04-29 23:28:27 +00:00
aarushivij
265661a324 Bug 1634013 - Remove the browser.tabs.multiselect pref r=dao
Differential Revision: https://phabricator.services.mozilla.com/D73074
2020-04-29 20:52:32 +00:00
Andrew McCreight
47d70400e1 Bug 1628052 - Remove uses of dom.ipc.keepProcessesAlive.webIsolated.perOrigin to fix leaks. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D70076
2020-04-28 20:11:27 +00:00
Narcis Beleuzu
584fd4ea26 Bug 1498706 - Fix disable patch. CLOSED TREE 2020-04-28 21:16:25 +03:00
Andreea Pavel
eeb9e6755d Bug 1498706 - temporarily disable browser_ext_port_disconnect_on_crash.js on win10 64bits debug r=gsvelto,egao
Differential Revision: https://phabricator.services.mozilla.com/D72769
2020-04-28 07:08:23 +00:00
Tom Schuster
1ed87ac06e Bug 1632990 - Allow WebExtensions to clear ServiceWorkers by hostname. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D72451
2020-04-28 13:30:17 +00:00
Tom Schuster
9798be9ddc Bug 1551301 - Allow WebExtensions to clear IndexedDB by hostname. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D72450
2020-04-28 13:30:09 +00:00
Jean-Yves Avenard
73124de02c Bug 1633319 - Wait for load before resolving promise. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D72593
2020-04-27 22:42:25 +00:00
Shane Caraveo
7a6b1c9aa1 Bug 1444294 implement browser.permissions onAdded/Removed r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D71231
2020-04-27 16:20:12 +00:00
Atique Ahmed Ziad
6291a5d771 Bug 1603796 - support tabs.goForward and tabs.goBack r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D62964
2020-04-26 11:24:47 +00:00
Matt Woodrow
571e578bb0 Bug 1602318 - Fix race in browser_ext_tabs_onUpdated by installing the listener before adding the new tab. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D70622
2020-04-26 00:51:25 +00:00
Emilio Cobos Álvarez
028c627b91 Bug 1632641 - Fix flakyness in browser_ext_tabs_zoom.js r=aswan
This test was already a bit flaky it seems, see bug 1630399 for example.

But it has become much worse with my Fission zoom changes in bug 1612068, which
made the FullZoomChange events that this API relies on more async.

Properly wait for an event for the right tab instead of assuming that the last
zoom event was for the tab we happen to be waiting on.

Differential Revision: https://phabricator.services.mozilla.com/D72209
2020-04-24 14:10:37 +00:00
Cosmin Sabou
2312f42a0c Backed out 20 changesets (bug 1602318) for causing multiple types of failures. CLOSED TREE
Backed out changeset f71e3eff7a8c (bug 1602318)
Backed out changeset 0e0bdebf223b (bug 1602318)
Backed out changeset 44e82f4339a1 (bug 1602318)
Backed out changeset 5f341ebd8591 (bug 1602318)
Backed out changeset 088ea9d20617 (bug 1602318)
Backed out changeset 5de6321939f2 (bug 1602318)
Backed out changeset f5742e84912b (bug 1602318)
Backed out changeset 13bec3079540 (bug 1602318)
Backed out changeset 6c24ba022911 (bug 1602318)
Backed out changeset 5d0fc0102a7f (bug 1602318)
Backed out changeset fc4efd11e643 (bug 1602318)
Backed out changeset 028bd63e710d (bug 1602318)
Backed out changeset 21ad350f9617 (bug 1602318)
Backed out changeset 8f27319f2c34 (bug 1602318)
Backed out changeset db2832973382 (bug 1602318)
Backed out changeset 1756c7584491 (bug 1602318)
Backed out changeset 983e5a9abe02 (bug 1602318)
Backed out changeset a1b9429b3298 (bug 1602318)
Backed out changeset 7d1c0d968a09 (bug 1602318)
Backed out changeset a3b056ec6be3 (bug 1602318)
2020-04-24 11:15:12 +03:00
Matt Woodrow
590555fedb Bug 1602318 - Fix race in browser_ext_tabs_onUpdated by installing the listener before adding the new tab. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D70622
2020-04-24 06:57:50 +00:00
Daisuke Akatsuka
1a114dd5b6 Bug 1604211: Add test of target-switching for inspectedWindow. r=rpl
Depends on D67438

Differential Revision: https://phabricator.services.mozilla.com/D67439
2020-04-24 04:37:05 +00:00
Harry Twyford
c2c94fda74 Bug 1626946 - Remove search suggestions that dupe a search history result. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D71094
2020-04-22 17:41:00 +00:00
Noemi Erli
9244d47cbd Backed out 19 changesets (bug 1602318) for causing multiple failures
Backed out changeset 4b3345b2e33b (bug 1602318)
Backed out changeset 7240b27afe28 (bug 1602318)
Backed out changeset a7091729d8c9 (bug 1602318)
Backed out changeset e496ab6c0857 (bug 1602318)
Backed out changeset 184da6309f0c (bug 1602318)
Backed out changeset 79b540f8619d (bug 1602318)
Backed out changeset b298015ee960 (bug 1602318)
Backed out changeset 6d0783cd5e01 (bug 1602318)
Backed out changeset cbc308486b17 (bug 1602318)
Backed out changeset 94142944fb54 (bug 1602318)
Backed out changeset 7c1eeb299b78 (bug 1602318)
Backed out changeset 0fc27502503a (bug 1602318)
Backed out changeset 0fc27c2e09d9 (bug 1602318)
Backed out changeset b5e2aa4741b2 (bug 1602318)
Backed out changeset 57d568114c5a (bug 1602318)
Backed out changeset 8f7360d827dc (bug 1602318)
Backed out changeset 78930a97c2df (bug 1602318)
Backed out changeset 8015780587cd (bug 1602318)
Backed out changeset bc9da03cb3a3 (bug 1602318)
2020-04-21 03:46:41 +03:00
Matt Woodrow
576a5741bc Bug 1602318 - Fix race in browser_ext_tabs_onUpdated by installing the listener before adding the new tab. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D70622
2020-04-20 23:01:09 +00:00
Ciure Andrei
af8a055d98 Backed out changeset 894ebe92bdae (bug 1628052) for causing failure increase in bug 1358898 CLOSED TREE 2020-04-17 07:20:16 +03:00
William Durand
9280636ffa Bug 1613796 - Add test case to verify that browser.permissions.request() resolves in the expected order. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D69226
2020-04-16 19:37:44 +00:00
shweta
8b76762c98 Bug 1578710 Bug - 1578710 Don't show persistent storage permission on moz-extension pages. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D67780
2020-04-14 07:35:09 +00:00
Andrew McCreight
9a393dc4ee Bug 1628052 - Remove uses of dom.ipc.keepProcessesAlive.webIsolated.perOrigin to fix leaks. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D70076
2020-04-13 20:11:50 +00:00