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

3825 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell 5ce2b25357 Bug 1584271 - Add a 'Running with fission:' log message to runtests.py, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47296

--HG--
extra : moz-landing-system : lando
2019-09-26 19:58:12 +00:00
Kris Maglione e57df5ef8b Bug 1583386: Part 2 - Enable DocumentChannel in mochitest Fission runs. r=mattwoodrow,ahal
Differential Revision: https://phabricator.services.mozilla.com/D47009

--HG--
extra : moz-landing-system : lando
2019-09-26 20:02:44 +00:00
Kris Maglione 790387cced Bug 1583386: Part 1 - Enable serviceworker rewrite in mochitest Fission runs. r=mattwoodrow,ahal
Differential Revision: https://phabricator.services.mozilla.com/D47008

--HG--
extra : moz-landing-system : lando
2019-09-26 19:51:28 +00:00
Christoph Kerschbaumer 30285b4a58 Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D46950

--HG--
extra : moz-landing-system : lando
2019-09-26 16:22:41 +00:00
Andrew Halberstadt 898dfb96b4 Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45417

--HG--
extra : moz-landing-system : lando
2019-09-24 14:44:01 +00:00
Geoff Brown bd569c8e85 Bug 1580832 - Remove robocop test and support files; r=snorp
Removes all the robocop test files and most robocop support. @RobocopTarget annotations and some build configuration is intentionally left untouched at this time, in case there is additional risk involved; a good task for follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 15:10:21 +00:00
Matthew Noorenberghe 0b4eb51041 Bug 1550631 - Record telemetry for direct navigation to about:logins. r=jaws
Also remove empty `filter` query params.

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

--HG--
extra : moz-landing-system : lando
2019-09-22 15:15:29 +00:00
Kris Maglione 685d91c901 Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45828

MANUAL PUSH: Cannot update reopened Phabricator revisions.

--HG--
extra : source : 86b3d469b4ff9f22e5757f83450b956a4c769785
extra : histedit_source : 2bf945343632b15eb79cf6b2ddd3ce097ddf70de%2Caec93d9f11bc1c802b63793cd5818530b64e9b4b
2019-09-20 10:18:15 -07:00
Rob Wu 64ad4811f6 Bug 1570715 - Treat (deprecation) warnings as errors r=rpl
Add new preference `extensions.webextensions.warnings-as-errors` that
defaults to `true` in tests. Tests that expect warnings are modified
to briefly flip the pref for the specific part of the test that needs
an exception.

As part of the refactor, log entries for schema entries that contain
`"onError": "warn"` will now be prefixed by "Warning" instead of
"Error", to be consistent with the change from bug 1495908.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 16:35:59 +00:00
Narcis Beleuzu 1cb9dbb638 Backed out 2 changesets (bug 1570715) for causing tp6m raptor failures
Backed out changeset e7364a10a663 (bug 1570715)
Backed out changeset 51824b1dda97 (bug 1570715)
2019-09-14 16:00:00 +03:00
Rob Wu 75fd473720 Bug 1570715 - Treat (deprecation) warnings as errors r=rpl
Add new preference `extensions.webextensions.warnings-as-errors` that
defaults to `true` in tests. Tests that expect warnings are modified
to briefly flip the pref for the specific part of the test that needs
an exception.

As part of the refactor, log entries forschema entries that contain
`"onError": "warn"` will now be prefixed by "Warning" instead of
"Error", to be consistent with the change from bug 1495908.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 21:39:51 +00:00
Geoff Brown 56ca134785 Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc
Remove test manifest annotations that specifically target fennec,
or likely target the android 4.3 emulator.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 16:51:10 +00:00
Gijs Kruitbosch 9f3a3e9669 Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648

--HG--
extra : moz-landing-system : lando
2019-09-04 22:12:39 +00:00
Gurzau Raul f96e9cd73f Backed out changeset 887d125d7f59 (bug 1578709) for failing at test_bug427744.html on a CLOSED TREE. 2019-09-04 21:34:11 +03:00
Gijs Kruitbosch bb899238e7 Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648

--HG--
extra : moz-landing-system : lando
2019-09-04 17:28:02 +00:00
Edwin Takahashi 3607d54634 Bug 1565332 - add new dockerfile for debian 10 (buster) test image and add necessary piping without switching the main CI pipeline from ubuntu 16.04 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D42597

--HG--
extra : moz-landing-system : lando
2019-08-31 09:59:43 +00:00
Jared Wein 5041c8bd69 Bug 1576735 - Canceling the create login form when no logins are in the list should revert to the previous view. r=MattN
If there are no stored logins, the Cancel button is hidden.
If there are visible stored logins, clicking the Cancel button will exit and move to the first login in the list.
If there are no visible stored logins, clicking the Cancel button will reset the search filter, exit, and move to the first login in the list.

This patch also fixes a race condition where we could end up with multiple observer notifications if about:logins was loaded multiple times very quickly.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 15:44:25 +00:00
Sylvestre Ledru d264b841c9 Bug 1576502 - Fix some wording issues r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D43363

--HG--
extra : moz-landing-system : lando
2019-08-27 15:38:58 +00:00
Tim Huang 02045f09e3 Bug 1574930 - Part 3: Add a test case for making sure that the track counter displays properly and fix an issue for BrowserTestUtils.waitForAttribute(). r=nhnt11,johannh
This patch adds a test case to check the visibility of the track counter
is correct in different situations, including zero tracker, one tracker
and multiple trackers.

Also, this patch fixes an issue that the
BrowserTestUtils.waitForAttributes() won't work if the waiting
attributes doesn't have a value or has an empty string as its value.
We check the value of the observing attribute to verify if it is
existing, however an empty string will be treated as a false, so it
won't pass the check if the attribute doesn't have a value. Hence, we
should use hasAttribute() instead of getAttribute() to check the
existence of the attribute.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 09:48:59 +00:00
Mark Banner a05a7163d5 Bug 1551829 - Upgrade to ESLint 6.1.0. r=mossop
This picks up various improvements, especially to how configurations are handled and some new rules.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 19:08:44 +00:00
Kris Maglione a7bea0cda2 Bug 1574296: Support assertions in nested SpecialPowers.span calls. r=mccr8
Prior to this patch, assertions in SpecialPowers.spawn callbacks only work
when the caller was in a window with a SimpleTest harness.

This patch fixes that by registering a default assertion handler at the start
of a test, and sending assertions from any task without its own harness to
said default handler.

MANUAL PUSH: Contains complex rename operations that I don't trust Lando to
handle correctly.

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

--HG--
extra : rebase_source : b0b72ce166647621a50aad0af8f130c0d89e3829
extra : source : 41b6d03a870caa7c4be2146ce8c8d84efdb20e79
2019-08-15 14:21:37 -07:00
Kris Maglione 214bc6110f Bug 1561705: Part 3 - Get rid of remaining ChromePowers.js consumers. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42180

--HG--
extra : rebase_source : 4992d6ec6926e9052c2760765fb2f1a07f4a46d0
extra : source : cbe56a9fce5238a9bfdd0a2d226dc319380490b4
2019-08-14 16:18:32 -07:00
Kris Maglione 467bd404f5 Bug 1561705: Part 2 - Use regular SpecialPowers actor for browser chrome tests. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42179

--HG--
extra : rebase_source : 319e389d7c38d919b2c5d474aa8417f443f94fb4
extra : source : 080ff558e41aad0cf05ca896c7f98bf4c9a2e7e9
2019-08-14 16:14:02 -07:00
mcrawford 2dc8fda553 Bug 1550165 - Footer advertising links to Lockwise mobile apps. r=fluent-reviewers,Pike,MattN
Differential Revision: https://phabricator.services.mozilla.com/D34370

--HG--
extra : moz-landing-system : lando
2019-08-16 14:43:37 +00:00
Abdoulaye O. Ly cbbacc1e6a Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-08-15 19:51:42 +00:00
Abdoulaye O. Ly c671c61e37 Bug 1559244 - Step 1: make BrowserTestUtils@crashBrowser function work with JSWindowActor. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37318

--HG--
extra : moz-landing-system : lando
2019-08-15 19:28:16 +00:00
Oana Pop Rus 8f85c499fe Backed out 3 changesets (bug 1559244) for browser chrome failure in browser_background_tab_crash.js on a CLOSED TREE
Backed out changeset 1ce7d9bbe7a1 (bug 1559244)
Backed out changeset dced8cea7b23 (bug 1559244)
Backed out changeset dabda4e90259 (bug 1559244)
2019-08-15 22:21:26 +03:00
Oana Pop Rus 1c6c6b2040 Backed out changeset 9a0528095590 (bug 1550165) for browser chrome failures in browser_all_files_referenced.js on a CLOSED TREE 2019-08-15 21:32:12 +03:00
Abdoulaye O. Ly 8aec5ed540 Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-08-15 17:16:26 +00:00
Abdoulaye O. Ly e029a89c66 Bug 1559244 - Step 1: make BrowserTestUtils@crashBrowser function work with JSWindowActor. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37318

--HG--
extra : moz-landing-system : lando
2019-08-15 17:01:45 +00:00
mcrawford 3ead3c1106 Bug 1550165 - Footer advertising links to Lockwise mobile apps. r=fluent-reviewers,Pike,MattN
Differential Revision: https://phabricator.services.mozilla.com/D34370

--HG--
extra : moz-landing-system : lando
2019-08-15 15:14:18 +00:00
Tarek Ziadé 03685b73e1 Bug 1556637 - Replace all mozDumpDebugInfo calls r=jya,jib
Replaces mozDumpDebugInfo with mozRequestDebugInfo

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

--HG--
extra : moz-landing-system : lando
2019-08-14 20:32:31 +00:00
arthur.iakab 71d7431c74 Backed out changeset fc5ca772497d (bug 1550165) for causing build bustages. CLOSED TREE 2019-08-14 21:02:41 +03:00
mcrawford e9b944d54b Bug 1550165 - Footer advertising links to Lockwise mobile apps. r=fluent-reviewers,Pike,MattN
Differential Revision: https://phabricator.services.mozilla.com/D34370

--HG--
extra : moz-landing-system : lando
2019-08-14 17:31:20 +00:00
Abdoulaye O. Ly 3404406db0 Bug 1370046 - Ensure preloaded browser has finished loading in browser/components/sessionstore/test/browser_background_tab_crash.js before crashing it. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D40451

--HG--
extra : moz-landing-system : lando
2019-08-02 19:27:12 +00:00
Geoff Brown da36fe7c54 Bug 1569982 - Respect verify annotations when running tests in mach with --verify; r=bc
Test manifest annotations like "skip-if = verify" are normally handled in mozharness:
When a TV task finds a modified test that needs verification, but that test is skipped
in verify mode, mozharness discards the test from the list of tests to be run.
When running tests locally (mach mochitest, etc), these annotations should also be
respected, and are currently handled in wpt and reftest harnesses, but not in
mochitest or xpcshell -- rectified by this patch. mochitest and xpcshell had
neglected to set mozinfo["verify"] when running in verify mode -- easily corrected.
It should be noted that when running tests locally and a single test is requested,
most test harnesses run the requested test even if it is skip-annotated. Thus,
"mach test <test> --verify" will continue to run tests annotated "skip-if = verify"
and this patch only changes the mochitest/xpcshell behavior of verify-skipped
tests when run with "mach test <directory> --verify" -- a long-running test mode
with complex logging never used in continuous integration.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 22:13:50 +00:00
Andrew Halberstadt 81055ad7a7 Bug 1567264 - [mochitest] Ensure --enable-fission sets the pref to 'true' instead of '1', r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D40811

--HG--
extra : moz-landing-system : lando
2019-08-06 17:37:58 +00:00
Csoregi Natalia f34cf8012f Backed out changeset 4afd3ec36843 (bug 1569982) for failures on runxpcshelltests.py. CLOSED TREE 2019-08-05 23:48:18 +03:00
Geoff Brown b2e6f93a11 Bug 1569982 - Respect verify annotations when running tests in mach with --verify; r=bc
Test manifest annotations like "skip-if = verify" are normally handled in mozharness:
When a TV task finds a modified test that needs verification, but that test is skipped
in verify mode, mozharness discards the test from the list of tests to be run.
When running tests locally (mach mochitest, etc), these annotations should also be
respected, and are currently handled in wpt and reftest harnesses, but not in
mochitest or xpcshell -- rectified by this patch. mochitest and xpcshell had
neglected to set mozinfo["verify"] when running in verify mode -- easily corrected.
It should be noted that when running tests locally and a single test is requested,
most test harnesses run the requested test even if it is skip-annotated. Thus,
"mach test <test> --verify" will continue to run tests annotated "skip-if = verify"
and this patch only changes the mochitest/xpcshell behavior of verify-skipped
tests when run with "mach test <directory> --verify" -- a long-running test mode
with complex logging never used in continuous integration.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 18:24:52 +00:00
Geoff Brown f7b0420fd4 Bug 1570051 - Minor updates to android mach commands; r=bc
Various cleanup:
 - remove extraneous calls to grant_runtime_permissions
 - remove unused legacy jimdb support code
 - remove "This may take a while" logging
 - emphasize x86/x86_64 capabilities of emulator

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

--HG--
extra : moz-landing-system : lando
2019-08-03 01:52:39 +00:00
Edwin Gao 5d0a507d0c Bug 1559975 - convert testing/mochitest to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37096

--HG--
extra : moz-landing-system : lando
2019-08-02 19:44:34 +00:00
Geoff Brown 2c32a72538 Bug 1569688 - Use e10s by default for geckoview mochitest; r=jmaher
The default, options.app == None, implies geckoview, with e10s.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 17:54:25 +00:00
Andrew Halberstadt 429fb9a444 Bug 1567264 - [mochitest] Add a convenience --enable-fission argument r=gbrown
This argument is an alias for '--setpref="fission.autostart=1"'.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 17:49:33 +00:00
Julian Descottes acb7fed127 Bug 1569235 - Ensure subtest name is a string when parsing test lines r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39527

--HG--
extra : moz-landing-system : lando
2019-07-29 11:08:12 +00:00
Bogdan Tara 35bb05e6e9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-27 00:41:55 +03:00
Gurzau Raul 65d132301f Backed out changeset 54629c24e7c3 (bug 1569235) for UnicodeEncodeError on a CLOSED TREE. 2019-07-26 22:35:27 +03:00
Kris Maglione 87884612c0 Bug 1568035: Part 4 - Update test expections for Fission. r=mccr8
Some failures crept in and out after my last sets of annotations landed. This
patch updates most of the annotations to deal with them.

MANUAL PUSH: Lando won't let me land.

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

--HG--
extra : rebase_source : 4cfccf95c5bb2521533a9f5c4c25d67f414fb6f5
extra : histedit_source : c19187a3b3002e0eebdd809738b57641e1e432cd
2019-07-24 13:06:57 -07:00
Julian Descottes b33e28722b Bug 1569235 - Ensure subtest name is a string when parsing test lines r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39527

--HG--
extra : moz-landing-system : lando
2019-07-26 18:27:03 +00:00
Edwin Gao a1cc4534a7 Bug 1519369 - support 'debugger' parser argument for mach test command r=ahal,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39229

--HG--
extra : moz-landing-system : lando
2019-07-26 15:18:18 +00:00
Andreea Pavel fc92f585e2 Backed out 3 changesets (bug 1559244) for causing bug 1370046
Backed out changeset de76712278a6 (bug 1559244)
Backed out changeset 467caef2ef9c (bug 1559244)
Backed out changeset 17ab0c52dca0 (bug 1559244)
2019-07-25 17:42:32 +03:00