Граф коммитов

166 Коммитов

Автор SHA1 Сообщение Дата
Mihai Alexandru Michis 4afbc20031 Bug 1672003 - Fix black python reformat lint failure on base/moz.build. a=lint-fix
CLOSED TREE
2020-10-27 18:09:08 +02:00
Doug Thayer 41a8b060c3 Bug 1672003 - Create basic test for skeleton UI registry values r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D94111
2020-10-27 15:07:07 +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
Bogdan Tara f6fed09e36 Backed out changeset d87480ebae7e (bug 1672003) for browser_preXULSkeletonUIRegistry failures CLOSED TREE 2020-10-26 18:02:43 +02:00
Doug Thayer 0c6cc8ff79 Bug 1672003 - Create basic test for skeleton UI registry values r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D94111
2020-10-23 22:58:48 +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
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
Cameron McCormack 4352fb7b0d Bug 1662839 - Set author style disabled state correctly on newly created iframes. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D90953
2020-10-04 03:25:16 +00:00
alwu 3771e88831 Bug 1656414 - part2 : add a test under a new created folder for tab media indicator. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D91368
2020-10-02 03:56:02 +00:00
Narcis Beleuzu 7cf9da23d5 Backed out 2 changesets (bug 1656414) for bc failure on browser_TabUnloader.js
Backed out changeset 210ab3a4f6d3 (bug 1656414)
Backed out changeset 576f1ac1fd81 (bug 1656414)
2020-09-25 23:38:38 +03:00
alwu 54bb48bb13 Bug 1656414 - part2 : add a test under a new created folder for tab media indicator. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D91368
2020-09-25 06:28:06 +00:00
Bogdan Tara d88ac68590 Backed out changeset 1bfa83880712 (bug 1662839) for browser_disable_author_style_oop.js failures CLOSED TREE 2020-09-24 05:55:25 +03:00
Cameron McCormack fc16d8bc27 Bug 1662839 - Set author style disabled state correctly on newly created iframes. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D90953
2020-09-24 01:24:57 +00:00
Tarek Ziadé 3021e5b216 Bug 1662706 - add a fuzzy runner r=sparky,necko-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D89123
2020-09-11 08:13:27 +00:00
Narcis Beleuzu f837964009 Backed out 3 changesets (bug 1661809, bug 1662706, bug 1663417) for SM bustages. CLOSED TREE
Backed out changeset 96e69574f7ee (bug 1662706)
Backed out changeset a584b11a503a (bug 1663417)
Backed out changeset 655ce94f20f3 (bug 1661809)
2020-09-11 01:50:09 +03:00
Tarek Ziadé 282632b3a0 Bug 1662706 - add a fuzzy runner r=sparky,necko-reviewers,rstewart DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89123
2020-09-10 11:36:29 +00:00
pbz ffd9bba19b Bug 1660951 - Focus TabDialogBox top dialog when switching tabs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88437
2020-08-28 12:36:00 +00:00
Rob Wu 070087f72c Bug 1657992 - Handle middle-click on long-press backForwardMenu only once + tests r=dao
Differential Revision: https://phabricator.services.mozilla.com/D86784
2020-08-12 14:50:42 +00:00
Gijs Kruitbosch 8909e119d0 Bug 1642725 - use sets of known message identifiers to limit possible error titles and messages instead of consulting fluent, r=zbraniecki,prathiksha,fluent-reviewers,Pike
Differential Revision: https://phabricator.services.mozilla.com/D82135
2020-07-06 11:12:08 +00:00
Mike Conley 7ef149ee09 Bug 1639997 - Split out WebRTC browser mochitests into a variation that runs with the legacy behaviour. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D76737
2020-05-26 18:01:18 +00:00
alexuwa 99c257d3e6 Bug 1564801 - Consolidate b/b/c/test/trackingUI and b/b/c/test/siteProtections into b/b/c/test/protectionsUI. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D68073

--HG--
rename : browser/base/content/test/siteProtections/.eslintrc.js => browser/base/content/test/protectionsUI/.eslintrc.js
rename : browser/base/content/test/trackingUI/benignPage.html => browser/base/content/test/protectionsUI/benignPage.html
rename : browser/base/content/test/siteProtections/browser.ini => browser/base/content/test/protectionsUI/browser.ini
rename : browser/base/content/test/siteProtections/browser_protections_UI.js => browser/base/content/test/protectionsUI/browser_protectionsUI.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_3.js => browser/base/content/test/protectionsUI/browser_protectionsUI_3.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_animation.js => browser/base/content/test/protectionsUI/browser_protectionsUI_animation.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_animation_2.js => browser/base/content/test/protectionsUI/browser_protectionsUI_animation_2.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_background_tabs.js => browser/base/content/test/protectionsUI/browser_protectionsUI_background_tabs.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_categories.js => browser/base/content/test/protectionsUI/browser_protectionsUI_categories.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_cookies_subview.js => browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_cryptominers.js => browser/base/content/test/protectionsUI/browser_protectionsUI_cryptominers.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_fetch.js => browser/base/content/test/protectionsUI/browser_protectionsUI_fetch.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_fingerprinters.js => browser/base/content/test/protectionsUI/browser_protectionsUI_fingerprinters.js
rename : browser/base/content/test/siteProtections/browser_protections_UI_milestones.js => browser/base/content/test/protectionsUI/browser_protectionsUI_milestones.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_open_preferences.js => browser/base/content/test/protectionsUI/browser_protectionsUI_open_preferences.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_pbmode_exceptions.js => browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_report_breakage.js => browser/base/content/test/protectionsUI/browser_protectionsUI_report_breakage.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_shield_visibility.js => browser/base/content/test/protectionsUI/browser_protectionsUI_shield_visibility.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_socialtracking.js => browser/base/content/test/protectionsUI/browser_protectionsUI_socialtracking.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_state.js => browser/base/content/test/protectionsUI/browser_protectionsUI_state.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_state_reset.js => browser/base/content/test/protectionsUI/browser_protectionsUI_state_reset.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_telemetry.js => browser/base/content/test/protectionsUI/browser_protectionsUI_telemetry.js
rename : browser/base/content/test/trackingUI/browser_trackingUI_trackers_subview.js => browser/base/content/test/protectionsUI/browser_protectionsUI_trackers_subview.js
rename : browser/base/content/test/trackingUI/containerPage.html => browser/base/content/test/protectionsUI/containerPage.html
rename : browser/base/content/test/trackingUI/cookiePage.html => browser/base/content/test/protectionsUI/cookiePage.html
rename : browser/base/content/test/trackingUI/cookieServer.sjs => browser/base/content/test/protectionsUI/cookieServer.sjs
rename : browser/base/content/test/trackingUI/cookieSetterPage.html => browser/base/content/test/protectionsUI/cookieSetterPage.html
rename : browser/base/content/test/trackingUI/embeddedPage.html => browser/base/content/test/protectionsUI/embeddedPage.html
rename : browser/base/content/test/trackingUI/file_trackingUI_fetch.html => browser/base/content/test/protectionsUI/file_protectionsUI_fetch.html
rename : browser/base/content/test/trackingUI/file_trackingUI_fetch.js => browser/base/content/test/protectionsUI/file_protectionsUI_fetch.js
rename : browser/base/content/test/trackingUI/file_trackingUI_fetch.js^headers^ => browser/base/content/test/protectionsUI/file_protectionsUI_fetch.js^headers^
rename : browser/base/content/test/siteProtections/head.js => browser/base/content/test/protectionsUI/head.js
rename : browser/base/content/test/trackingUI/trackingAPI.js => browser/base/content/test/protectionsUI/trackingAPI.js
rename : browser/base/content/test/trackingUI/trackingPage.html => browser/base/content/test/protectionsUI/trackingPage.html
extra : moz-landing-system : lando
2020-03-31 08:05:22 +00:00
Gijs Kruitbosch f1a04bd343 Bug 1618188 - remove XML backend for plugin and add-on blocklisting, r=mconley,perftest-reviewers,whimboo
This removes the obsolete backend. Notes on some of the less obvious changes
made as part of this patch:

- some of the gFoo style getters in Blocklist.jsm were only used by the XML
  version of the blocklist; I've removed them and tried to remove spurious
  settings of those properties in the remaining tests.
- some utility methods (e.g. distribution information getters) were also only
  used for the XML version (for the update URL).
- it's no longer necessary to test switching implementations.
- in browser/base/content/test/plugins/, we ran some tests from two manifests
  in order to run them with both blocklist backends. The simplest way of
  reducing this back down to one was to remove the remote-settings one. If I'd
  been more future-oriented when I created the duplication, perhaps I would
  have moved the XML version out into a different manifest instead, but I
  didn't, so now it looks like we're removing the modern one, whereas really
  we're going to be running the modern one as part of the "normal" tests and
  we're no longer running the "old" tests.
- removed all mentions I could see of extensions.blocklist.url which is no
  longer used for anything.
- per https://bugzilla.mozilla.org/show_bug.cgi?id=1016555#c23, updated
  references for the OneCRL timing and how it relates to blocklist updates.

Differential Revision: https://phabricator.services.mozilla.com/D64933

--HG--
extra : moz-landing-system : lando
2020-03-09 12:02:17 +00:00
Neil Deakin 40c0674780 Bug 1616352, add a general out-of-process frames test that verifies the frame structure and that the right process is used for each frame. This will further be used for future tests, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D63237

--HG--
extra : moz-landing-system : lando
2020-03-02 15:53:57 +00:00
Morgan Reschenberg 6274ebbf20 Bug 1590485: Add UI/UX and global zoom functionality. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50845

--HG--
extra : moz-landing-system : lando
2019-12-24 01:56:32 +00:00
Noemi Erli cc63a32cca Backed out changeset c8040f57cb4a (bug 1590485) fot failures in browser_default_zoom_multitab.js 2019-12-20 09:51:31 +02:00
Morgan Reschenberg 2895fb8739 Bug 1590485: Add UI/UX and global zoom functionality. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50845

--HG--
extra : moz-landing-system : lando
2019-12-20 05:09:43 +00:00
Noemi Erli c220488775 Backed out changeset a8e371771008 (bug 1590485) for failing in browser_default_zoom.js 2019-12-13 00:11:08 +02:00
Morgan Reschenberg be77302b4e Bug 1590485: Add UI/UX and global zoom functionality. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50845

--HG--
extra : moz-landing-system : lando
2019-12-12 17:24:12 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
harry 4399f1cef6 Bug 1551233 - Remove legacy urlbar mochitests. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D36346

--HG--
extra : moz-landing-system : lando
2019-07-09 21:48:05 +00:00
Brindusan Cristian d8c1441d3e Backed out changeset 07d42b08b863 (bug 1551232) for bc failures at browser_action_searchengine.js. 2019-07-09 06:06:45 +03:00
harry d705204f7f Bug 1551232 - Removes legacy-urlbar binding, simplifies gURLBarHandler, and removes ini file with legacy-urlbar tests. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36231

--HG--
extra : moz-landing-system : lando
2019-07-08 18:46:47 +00:00
Paul Zuehlcke 8c37629c74 Bug 1557041 - Leave DOM full-screen when identity-popup is shown. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D35234

--HG--
extra : moz-landing-system : lando
2019-06-27 11:15:17 +00:00
Nihanth Subramanya 3f694138c2 Bug 1551902 - Add a test for the toggle switch in the protections panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32982

--HG--
extra : moz-landing-system : lando
2019-06-06 15:18:27 +00:00
Daniel Varga 80149d9771 Backed out 4 changesets (bug 1551902) for browser-chrome failure at browser/base/content/test/trackingUI/browser_trackingUI_cryptominers.js. On a CLOSED TREE
Backed out changeset 762ba28bc409 (bug 1551902)
Backed out changeset 4c8afa61cbec (bug 1551902)
Backed out changeset 212cfe3c1893 (bug 1551902)
Backed out changeset 29cbb321a610 (bug 1551902)
2019-06-05 02:48:37 +03:00
Nihanth Subramanya 523e69c325 Bug 1551902 - Add a test for the toggle switch in the protections panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32982

--HG--
extra : moz-landing-system : lando
2019-06-04 21:48:43 +00:00
Gurzau Raul e016dca453 Backed out 4 changesets (bug 1551902) for failing at browser_protections_UI.js
Backed out changeset 974fd62d4135 (bug 1551902)
Backed out changeset 5dc18a9c4af8 (bug 1551902)
Backed out changeset 4eeb898f69f2 (bug 1551902)
Backed out changeset 9b7d5885e1db (bug 1551902)
2019-06-04 17:15:51 +03:00
Nihanth Subramanya 667a8a2991 Bug 1551902 - Add a test for the toggle switch in the protections panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32982

--HG--
extra : moz-landing-system : lando
2019-06-04 13:10:56 +00:00
Brian Grinstead f801c5b675 Bug 1553188 - Part 2 - Remove the ability to use browser.xul;r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D33206
2019-05-30 11:24:17 -07:00
Gijs Kruitbosch b49196046b Bug 1549548 - update browser tests for plugin blocking, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D31346

--HG--
rename : browser/base/content/test/plugins/browser.ini => browser/base/content/test/plugins/browser-rs-blocklist.ini
extra : moz-landing-system : lando
2019-05-22 14:48:04 +00:00
Brian Grinstead eb97e60e6c Bug 1534407 - Enable browser.xhtml by default r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D26599

--HG--
extra : moz-landing-system : lando
2019-05-16 16:34:20 +00:00
Brendan Dahl 07099d0812 Bug 1552058 - Don't include browser.xhtml in package. r=mossop
MOZ_BROWSER_XHTML=0 was accidentally being set causing us to include
browser.xhtml when it wasn't actually enabled.

Differential Revision: https://phabricator.services.mozilla.com/D31367

--HG--
extra : moz-landing-system : lando
2019-05-16 04:22:54 +00:00
Florian Quèze 2bbe7b0f62 Bug 1549723 - disable browser_startup_mainthreadio.js and browser_startup_content_mainthreadio.js mochitests for debug builds, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D30220

--HG--
extra : moz-landing-system : lando
2019-05-08 08:56:26 +00:00
Mihai Alexandru Michis bd960ef22c Backed out 3 changesets (bug 1540135, bug 1547018, bug 1549723) for causing leaks
Backed out changeset 72723e7257b1 (bug 1549723)
Backed out changeset 5c597a3f82bd (bug 1547018)
Backed out changeset eb8757f9586f (bug 1540135)
2019-05-08 11:16:35 +03:00
Florian Quèze aaddea8ae3 Bug 1549723 - disable browser_startup_mainthreadio.js and browser_startup_content_mainthreadio.js mochitests for debug builds, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D30220

--HG--
extra : moz-landing-system : lando
2019-05-07 17:15:43 +00:00
Johann Hofmann 4f767264a5 Bug 1532203 - Add a basic test for clearing network cache with ClearDataService. r=baku
This also moves SiteDataTestUtils to have it available in toolkit.

Differential Revision: https://phabricator.services.mozilla.com/D26248

--HG--
rename : browser/base/content/test/sanitize/SiteDataTestUtils.jsm => toolkit/components/cleardata/SiteDataTestUtils.jsm
extra : moz-landing-system : lando
2019-04-05 09:57:00 +00:00
Jonathan Kingston d1d4db5320 Bug 1535378 - Adding a test for the serialization of principals r=ckerschb,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D23554

--HG--
extra : moz-landing-system : lando
2019-03-18 16:29:51 +00:00
Soeren Hentzschel 6da0e18dfe Bug 1522856 - Add an "import" option to the file menu to make browser migration discoverable. r=MattN,felipe
Differential Revision: https://phabricator.services.mozilla.com/D19274

--HG--
extra : rebase_source : 7289825a0a5fa83082d6bd2908d3debb06793bb6
extra : amend_source : 1d8799059a50555a516e3949efecdac7810b05da
extra : histedit_source : 47fa2b61fc1d41cf249957762fbb0717c9ead1e1%2C63e64f6cfc61f67cc4914a8b77a6e7983bbc503c
2019-03-04 15:29:03 -08:00