Commit Graph

2728 Commits

Author SHA1 Message Date
Tom Schuster
164ba1fe83 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
88ece2d4ce 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
beb7584870 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
f6849f1603 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
fb10e8cf92 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
dfe10b4ab8 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
c224333cd1 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
bae1a13cae 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
259c103ad1 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
2660e429f3 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
394bba0c73 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
06594f9b87 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
e9d904c316 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
56336e8de2 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
4031b3230e 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
3dfd969748 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
d431c8029c 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
28030a12ee 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
1eb7203c26 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
4132331572 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
f5c6155926 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
dd05ed4f4e 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
31b8ca9716 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
64176c986d 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
612312a64c 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
065d2eb893 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
dc6c624799 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
95b44c982f Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
43baed3c18 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
8debd64190 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
8c2c851d6a 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
dae078ac27 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
f2f3dbccf6 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
e73ff9ddf8 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
6f93d6f391 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
095be27963 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
818e6103c8 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
9b9f8495d2 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
96e347488a Backed out changeset 737f0e3e2f94 (bug 1660057) for xpcshell perma failures. CLOSED TREE 2020-09-24 23:25:54 +03:00
Kris Maglione
ab4a388891 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
19e7e62bab 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
ab0b2ce306 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
c6b5919720 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
69735bae44 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
dd19e738b2 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
1915d587ea 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
feb1c92084 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
449977dd81 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
2460093427 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
6c1385c575 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