323 Commits

Author SHA1 Message Date
Bob Clary
28542c1e10 Bug 1681096 - python3 - pylint --py3k - W1639: filter built-in referenced when not iterating (filter-builtin-not-iterating) r=marionette-reviewers,perftest-reviewers,gbrown,maja_zf,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D99091
2020-12-15 15:50:31 +00:00
Bob Clary
a9034d169d Bug 1681096 - python3 - pylint --py3k - W1610: reduce built-in referenced (reduce-builtin) r=marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D99080
2020-12-10 13:47:15 +00:00
Bob Clary
c35f5ec5c8 Bug 1681096 - python3 - pylint --py3k - W1655: dict.keys referenced when not iterating (dict-keys-not-iterating) r=marionette-reviewers,perftest-reviewers,jmaher,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D99056
2020-12-11 21:13:12 +00:00
Bob Clary
191a877dd1 Bug 1681096 - python3 - pylint --py3k - W1620: Calling a dict.iter*() method (dict-iter-method) r=marionette-reviewers,perftest-reviewers,jmaher,jgraham,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D99049
2020-12-09 09:02:22 +00:00
Sylvestre Ledru
c0f6fe8caf Bug 1562642 - Add missing license headers r=mhoye,marionette-reviewers,webdriver-reviewers,perftest-reviewers,tarek
Differential Revision: https://phabricator.services.mozilla.com/D97138
2020-11-17 02:06:54 +00:00
Csoregi Natalia
90dbb240a1 Backed out changeset 8050b4336680 (bug 1673786) as requested. CLOSED TREE 2020-11-12 00:19:28 +02:00
Henrik Skupin
313e0e2328 Bug 1673786 - [firefox-ui] Temporarily skip test_notification.py for debug and asan builds on Linux and Windows. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D95197
2020-10-29 20:08:35 +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
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
Tooru Fujisawa
2108f90fcf Bug 1623965 - Improve error message when binary not found while testing. r=glandium,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,Bebe,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D67726
2020-04-21 11:58:04 +00:00
Henrik Skupin
255a87c4a6 Bug 1573383 - [marionette] Remove firefox-puppeteer Python package. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61687

--HG--
extra : moz-landing-system : lando
2020-02-13 19:50:42 +00:00
Henrik Skupin
ef3e805957 Bug 1573383 - [fxui] Remove firefox-puppeteer dependency from sessionstore tests. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61686

--HG--
extra : moz-landing-system : lando
2020-02-13 19:48:56 +00:00
Henrik Skupin
3a71cd77ea Bug 1573383 - [fxui] Remove firefox-puppeteer dependency from safebrowsing tests. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61685

--HG--
extra : moz-landing-system : lando
2020-02-13 19:48:19 +00:00
Henrik Skupin
f11baee075 Bug 1573383 - [fxui] Remove no longer needed keyboard shortcut test. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61684

--HG--
extra : moz-landing-system : lando
2020-02-13 19:47:38 +00:00
Henrik Skupin
8a50d12dd6 Bug 1573641 - [fxui] Simplify test_ssl_status_after_restart.py. r=marionette-reviewers,johannh,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61511

--HG--
extra : moz-landing-system : lando
2020-02-14 13:38:58 +00:00
Henrik Skupin
6cd18518a4 Bug 1610014 - [marionette] Remove localization support from firefox-puppeteer. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D60906

--HG--
extra : moz-landing-system : lando
2020-01-24 17:46:26 +00:00
Masatoshi Kimura
ef626b5951 Bug 1448967 - Remove enablePrivilege. r=mccr8,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D57243

--HG--
rename : testing/firefox-ui/resources/security/enable_privilege.html => js/xpconnect/tests/mochitest/test_enable_privilege.html
extra : moz-landing-system : lando
2020-01-08 23:14:48 +00:00
Henrik Skupin
3af0c863ac Bug 1606335 - [marionette] Remove non-e10s support from Marionette harness. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58811

--HG--
extra : moz-landing-system : lando
2020-01-07 11:12:19 +00:00
Steven Englehardt
e6d6a4346d Bug 1605550 - Narrow the filter for Safebrowsing files to avoid collisions r=marionette-reviewers,dimi,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D58586

--HG--
extra : moz-landing-system : lando
2020-01-04 07:35:01 +00:00
Emma Malysz
57215abe07 Bug 1601094, rename the remaining .xul files in browser/ to .xhtml r=marionette-reviewers,whimboo,mossop
Differential Revision: https://phabricator.services.mozilla.com/D55751

--HG--
rename : browser/base/content/aboutDialog.xul => browser/base/content/aboutDialog.xhtml
rename : browser/base/content/newInstall.xul => browser/base/content/newInstall.xhtml
rename : browser/base/content/pageinfo/pageInfo.xul => browser/base/content/pageinfo/pageInfo.xhtml
rename : browser/base/content/safeMode.xul => browser/base/content/safeMode.xhtml
rename : browser/base/content/sanitize.xul => browser/base/content/sanitize.xhtml
rename : browser/base/content/titlebar-items.inc.xul => browser/base/content/titlebar-items.inc.xhtml
rename : browser/base/content/webext-panels.xul => browser/base/content/webext-panels.xhtml
rename : browser/base/content/webrtcIndicator.xul => browser/base/content/webrtcIndicator.xhtml
rename : browser/components/downloads/content/contentAreaDownloadsView.xul => browser/components/downloads/content/contentAreaDownloadsView.xhtml
rename : browser/components/migration/content/migration.xul => browser/components/migration/content/migration.xhtml
rename : browser/components/places/content/bookmarkProperties.xul => browser/components/places/content/bookmarkProperties.xhtml
rename : browser/components/places/content/bookmarksSidebar.xul => browser/components/places/content/bookmarksSidebar.xhtml
rename : browser/components/places/content/historySidebar.xul => browser/components/places/content/historySidebar.xhtml
rename : browser/components/places/content/places.xul => browser/components/places/content/places.xhtml
rename : browser/components/shell/content/setDesktopBackground.xul => browser/components/shell/content/setDesktopBackground.xhtml
extra : moz-landing-system : lando
2019-12-11 00:27:19 +00:00
Henrik Skupin
a5b86e1d96 Bug 1587627 - [fxui] Update firefox-puppeteer for removal of anonymous nodes. r=webdriver-reviewers,maja_zf
The patch removes the usage of elements based on anonymous nodes,
which are soon to be completely removed. Also code which is no longer
in use by Firefox-UI tests can simply be removed.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 18:24:57 +00:00
Dão Gottwald
f49de631fa Bug 1587800 - Remove the hidden-focus class. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D48845

--HG--
extra : moz-landing-system : lando
2019-10-11 13:35:52 +00:00
Rishi Gupta
e82a1cb23d bug 1354458 - Replacing self.wait_for_condition() with Wait().until() function r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D47666

--HG--
extra : moz-landing-system : lando
2019-10-02 14:04:33 +00:00
Zibi Braniecki
f39c0784bc Bug 1581204 - Move the test to use a different ID, because we're removing an unused DTD string. r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D45923

--HG--
extra : moz-landing-system : lando
2019-09-16 19:42:44 +00:00
Henrik Skupin
657225f099 Bug 1573393 - Remove deprecated Firefox UI security tests. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41833

--HG--
extra : moz-landing-system : lando
2019-08-15 07:42:27 +00:00
Henrik Skupin
0529daadd3 Bug 1573406 - Remove every trace of Firefox UI update tests. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D41834

--HG--
extra : moz-landing-system : lando
2019-08-14 11:08:45 +00:00
Johann Hofmann
88686d7850 Bug 1572936 - Flip security.identityblock.show_extended_validation to false to hide the ev indicators in the identity block. r=Gijs,whimboo
Apparently this didn't have any tests other than the ones in functional-ui (of which one is disabled),
but adding new ones for EV at the point where it's being disabled and eventually removed doesn't
really make sense to me.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 14:11:45 +00:00
Henrik Skupin
b21eb8eccc Bug 1214191 - [fxui] Re-enable testing/firefox-ui/tests/puppeteer/test_windows.py. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D41276

--HG--
extra : moz-landing-system : lando
2019-08-08 20:55:44 +00:00
Tom Ritter
78ec788506 Bug 1565818 - Disable the safebrowsing tests on MinGW clang builds r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D37985

--HG--
extra : moz-landing-system : lando
2019-07-24 13:41:19 +00:00
Dão Gottwald
5e619a09bf Bug 1567406 - Use ids instead of classes for urlbar-input and urlbar-scheme. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D38631

--HG--
extra : moz-landing-system : lando
2019-07-19 13:22:23 +00:00
Tim Huang
4a6b138b44 Bug 1562881 - Part 6: Update tests and add a test for insuring identity icon loads a correct image. r=johannh
This patch updates tests and adds a new test. This new test will
ensuring the identity icon will load a correct image with different
circumstances. For example, it should load a secure lock image if it is
a https page, an insecure lock image for http page and a brand image for
chrome page.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 13:25:03 +00:00
Dão Gottwald
6b7e2645f9 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 11:34:21 +00:00
Mihai Alexandru Michis
b7d205a80b Backed out changeset 3504c0b3f87c (bug 1513337) for marionette failures CLOSED TREE 2019-07-17 14:02:05 +03:00
Dão Gottwald
16f78d8e06 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 09:20:41 +00:00
Coroiu Cristina
0882dc9bf4 Backed out changeset cf34b2e8ac53 (bug 1513337) for test client failure 2019-07-17 12:12:21 +03:00
Dão Gottwald
9fce0b69a1 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 07:38:18 +00:00
Brindusan Cristian
ea007979ee Backed out changeset a7c14ebfcd4d (bug 1513337) for telemetry failures at test_event_ping.py. CLOSED TREE 2019-07-16 17:22:21 +03:00
Dão Gottwald
d4258708f3 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-16 10:26:04 +00:00
Brindusan Cristian
535145f197 Backed out 2 changesets (bug 1556789) on request from aryx for causing Bug 1565836. a=backout
Backed out changeset ca5fdf3a0ddd (bug 1556789)
Backed out changeset 19419ff4e756 (bug 1556789)
2019-07-13 20:52:45 +03:00
Shane Caraveo
36bce0da93 Bug 1556789 - Refactor extension install in searchservice to use promises r=robwu,daleharvey
This provides a set of promises that the searchservice resolves once the search engine has been configured

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

--HG--
extra : moz-landing-system : lando
2019-07-12 19:33:32 +00:00
Dão Gottwald
0e5e8bf0c3 Bug 1562274 - Remove the PopupAutoCompleteRichResult panel. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D37549

--HG--
extra : moz-landing-system : lando
2019-07-11 12:15:30 +00:00
Mihai Tabara
e6a44ee1a1 Bug 1559975 - Fix python2 lint issues on testing/firefox-ui r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35255

--HG--
extra : moz-landing-system : lando
2019-07-05 14:35:42 +00:00
dlee
d1ed4c245a Bug 1531354 - P5. Safe Browsing test entries are directly stored in LookupCache. r=gcp
Create test entries via update introduces performance overhead.
We can store them directly in LookupCache and do not save test entries
to disk.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 19:05:41 +00:00
Marco Castelluccio
41559f0e29 Bug 1559975 - Fix py3 lint issues in testing/firefox-ui and enable py3 linter r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35244

--HG--
extra : moz-landing-system : lando
2019-06-26 23:06:53 +00:00
Mihai Alexandru Michis
9852c55d11 Backed out 5 changesets (bug 1559982, bug 1559975) for cpp unit test failures due to unsupported operand type. CLOSED TREE
Backed out changeset 2309aac6cea3 (bug 1559975)
Backed out changeset bf5a6d853abd (bug 1559975)
Backed out changeset 0c36f78c971a (bug 1559975)
Backed out changeset 0560cf7df7dc (bug 1559975)
Backed out changeset 4cb64ca524e7 (bug 1559982)
2019-06-27 02:03:31 +03:00
Marco Castelluccio
cad5dfda57 Bug 1559975 - Fix py3 lint issues in testing/firefox-ui and enable py3 linter r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35244

--HG--
extra : moz-landing-system : lando
2019-06-26 18:25:18 +00:00
Ricky Rosario
c93b7f1009 Bug 1556867 - Remove the old about:private browsing code and pref r=fluent-reviewers,Mardak,Pike,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33711

--HG--
extra : moz-landing-system : lando
2019-06-10 17:01:54 +00:00