Commit Graph

4087 Commits

Author SHA1 Message Date
Geoff Brown
8731a1e19e Bug 1638963 - Run 'mach geckoview-junit' with py3; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D84560
2020-07-22 18:08:02 +00:00
Geoff Brown
217bbab384 Bug 1654090 - Replace testing/mochitest/pywebsocket with pywebsocket3; r=jmaher
Update testing/mochitest/pywebsocket with the latest version available: pywebsocket3
is python 3 compatible. This keeps the basic structure of the old pywebsocket, but
changes the directory name to pywebsocket3 to reflect the project renaming.

Differential Revision: https://phabricator.services.mozilla.com/D84455
2020-07-22 02:06:38 +00:00
Bob Clary
ff94966627 Bug 1486004 - Part 10 - Update mochitest to support unrooted android devices using mozdevice 4.0.0, ? r=ahal
Depends on D82752

Differential Revision: https://phabricator.services.mozilla.com/D82753
2020-07-17 20:48:26 +00:00
Narcis Beleuzu
b1faa2872a Backed out 17 changesets (bug 1486004) for wrench bustage on android.py . CLOSED TREE
Backed out changeset cae730f105d7 (bug 1486004)
Backed out changeset e0094d50a315 (bug 1486004)
Backed out changeset 424425ed98c6 (bug 1486004)
Backed out changeset 551232749abe (bug 1486004)
Backed out changeset 505747095def (bug 1486004)
Backed out changeset 5b1c62c4a4d5 (bug 1486004)
Backed out changeset 0a1c8d50ee69 (bug 1486004)
Backed out changeset 6ef81c676859 (bug 1486004)
Backed out changeset 234e55153fb6 (bug 1486004)
Backed out changeset 2f33b309d746 (bug 1486004)
Backed out changeset 48947692c176 (bug 1486004)
Backed out changeset 473bac8eedd9 (bug 1486004)
Backed out changeset af6afed0a04a (bug 1486004)
Backed out changeset a0e2f91eb4d4 (bug 1486004)
Backed out changeset 138c987440c7 (bug 1486004)
Backed out changeset 6d2e305f4722 (bug 1486004)
Backed out changeset 1181ff03bb05 (bug 1486004)
2020-07-17 23:43:57 +03:00
Bob Clary
5c852eaa2f Bug 1486004 - Part 10 - Update mochitest to support unrooted android devices using mozdevice 4.0.0, ? r=ahal
Depends on D82752

Differential Revision: https://phabricator.services.mozilla.com/D82753
2020-07-16 21:32:54 +00:00
Narcis Beleuzu
1eb115035d Backed out 20 changesets (bug 1486004, bug 1653094) for wrench bustages. CLOSED TREE
Backed out changeset 120c64ebdea3 (bug 1486004)
Backed out changeset b10f105b1c36 (bug 1486004)
Backed out changeset 7f186e6bcccc (bug 1486004)
Backed out changeset cdda7b349cd8 (bug 1486004)
Backed out changeset 650c47e81402 (bug 1486004)
Backed out changeset 2bcca7cf3f1b (bug 1486004)
Backed out changeset e1df276f8a8d (bug 1486004)
Backed out changeset f6f5e7f2bd0a (bug 1486004)
Backed out changeset 1c56cb03ce53 (bug 1486004)
Backed out changeset 582cd190f174 (bug 1486004)
Backed out changeset 7c162e1b3a79 (bug 1486004)
Backed out changeset d1088e178216 (bug 1486004)
Backed out changeset 40763f4afd26 (bug 1486004)
Backed out changeset f20eb5b5a670 (bug 1486004)
Backed out changeset 6349ee0bd63f (bug 1486004)
Backed out changeset 7c23729053f6 (bug 1486004)
Backed out changeset 49586014bd29 (bug 1486004)
Backed out changeset 07971e82ae85 (bug 1653094)
Backed out changeset 47e7295e9c19 (bug 1653094)
Backed out changeset 57a25bbeec37 (bug 1653094)
2020-07-16 17:58:09 +03:00
Bob Clary
61125f6978 Bug 1486004 - Part 10 - Update mochitest to support unrooted android devices using mozdevice 4.0.0, ? r=ahal
Depends on D82752

Differential Revision: https://phabricator.services.mozilla.com/D82753
2020-07-15 20:59:47 +00:00
Mihai Alexandru Michis
a1d49fb98d Backed out 17 changesets (bug 1486004) for causing bustages in AccessCheck.h
CLOSED TREE

Backed out changeset 86a0855e1e45 (bug 1486004)
Backed out changeset 4fc98067edc5 (bug 1486004)
Backed out changeset 8ab3f1597fde (bug 1486004)
Backed out changeset b487e98320fb (bug 1486004)
Backed out changeset 4cba8e6bc515 (bug 1486004)
Backed out changeset d0db5eef2343 (bug 1486004)
Backed out changeset 50285a87de6b (bug 1486004)
Backed out changeset 9730c0303810 (bug 1486004)
Backed out changeset 140a9d2362f3 (bug 1486004)
Backed out changeset 9d1ce06f6039 (bug 1486004)
Backed out changeset 88a5a4ab39fa (bug 1486004)
Backed out changeset eb186c92232d (bug 1486004)
Backed out changeset 677f2129750e (bug 1486004)
Backed out changeset 81427a5f2103 (bug 1486004)
Backed out changeset 38d7def3d425 (bug 1486004)
Backed out changeset a9e73221c471 (bug 1486004)
Backed out changeset ebe8c2d5432e (bug 1486004)
2020-07-16 15:29:29 +03:00
Bob Clary
9534a42ba4 Bug 1486004 - Part 10 - Update mochitest to support unrooted android devices using mozdevice 4.0.0, ? r=ahal
Depends on D82752

Differential Revision: https://phabricator.services.mozilla.com/D82753
2020-07-15 20:59:47 +00:00
tkhan
75ea54bf01 Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 20:34:46 +00:00
Bogdan Tara
6faddf7d8f Backed out changeset 1a0f002865d3 (bug 1650919) for test_deprecated.html failures CLOSED TREE 2020-07-13 19:22:21 +03:00
tkhan
e50031dfc7 Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 13:01:43 +00:00
Kris Maglione
b6be72f351 Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81749
2020-07-10 23:58:30 +00:00
Kris Maglione
9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Matt Woodrow
6dade78e50 Bug 1649879 - Use webprogress events instead of waitForDocLoadAndStopIt in browser_progress_keyword_search_handling.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82803
2020-07-08 23:38:35 +00:00
Mihai Alexandru Michis
3a3aed428a Bug 1650155 - Fix allowMatchingRejectionsGlobally name in browser_uncaught_rejection_expected.js
CLOSED TREE
2020-07-03 21:03:27 +03:00
Julian Descottes
3ec6af87ab Bug 1650155 - Remove remaining mentions of whitelist in files using allowMatchingRejectionsGlobally r=Gijs
Depends on D82059

Differential Revision: https://phabricator.services.mozilla.com/D82061
2020-07-03 16:57:25 +00:00
Julian Descottes
3e1e4c22b6 Bug 1650155 - Rename PromiseTestUtils.whitelistRejectionsGlobally to allowMatchingRejectionsGlobally r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82059
2020-07-03 17:01:29 +00:00
Keefer Rourke
df2678e18f Bug 1642454: Promote worker testing functions to mochitest/tests/SimpleTest r=gbrown
This patch extracts some functions from OS.File tests to
mochitest/tests/SimpleTest to be more readily used by new code which needs to
run tests in ChromeWorkers.

Differential Revision: https://phabricator.services.mozilla.com/D80898
2020-07-02 22:30:53 +00:00
Narcis Beleuzu
2f11bc8165 Backed out 4 changesets (bug 1642454) for failures on dom/system/tests/test_ioutils_worker.xhtml . CLOSED TREE
Backed out changeset 13553531fc62 (bug 1642454)
Backed out changeset 7896b4315920 (bug 1642454)
Backed out changeset 1e68090eed0b (bug 1642454)
Backed out changeset dfb201663480 (bug 1642454)
2020-07-03 01:16:36 +03:00
Keefer Rourke
e37012f935 Bug 1642454: Promote worker testing functions to mochitest/tests/SimpleTest r=gbrown
This patch extracts some functions from OS.File tests to
mochitest/tests/SimpleTest to be more readily used by new code which needs to
run tests in ChromeWorkers.

Differential Revision: https://phabricator.services.mozilla.com/D80898
2020-07-02 20:16:49 +00:00
Sarah Bird
d1626da38c Bug 1647501 - Rename "test slave" -> "test machine", r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81908
2020-07-02 01:06:01 +00:00
Makoto Kato
0f09630e38 Bug 1599340 - Remote mochitest should consider host's suffix for ssltunnel. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D80588
2020-06-24 04:46:38 +00:00
Andrew Erickson
0a77ea61d7 Bug 1599342: add windows hostutils r=jmaher,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D80523
2020-06-23 01:21:51 +00:00
tkhan
b4821a1c8e Bug 1602668 - Enables xorigin iframe mode for mochitest-plain. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D70360
2020-06-22 19:10:30 +00:00
Agi Sferro
ad8f58b686 Bug 1646508 - Add --setenv to |mach geckoview-junit|. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D80077
2020-06-18 19:42:00 +00:00
Coroiu Cristina
d84bb71c40 Backed out changeset 8b56bdf1ba13 (bug 1646508) for gv-junit failures on a CLOSED TREE 2020-06-18 21:06:41 +03:00
Agi Sferro
41a329b57f Bug 1646508 - Add --setenv to |mach geckoview-junit|. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D80077
2020-06-18 16:22:04 +00:00
Gijs Kruitbosch
222e2d1158 Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D79202
2020-06-17 22:45:31 +00:00
Dave Townsend
e07f989e6c Bug 1620358: Gather telemetry on toolbar state. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D78393
2020-06-16 21:06:15 +00:00
Greg Tatum
f2fbbef862 Bug 1644942 - Fix broken --tag command for mochitests; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D79305
2020-06-11 15:53:45 +00:00
Geoff Brown
21fcb0c7bd Bug 1644165 - [mochitest] Guard against missing 'message' in 'log' messages; r=bc
Avoids infrequent intermittent failure.

Differential Revision: https://phabricator.services.mozilla.com/D79168
2020-06-10 19:34:30 +00:00
Johann Hofmann
157f7e64a5 Bug 1515073 - Part 4 - Add test for skipping pages without user interaction on back-forward. r=Gijs
Depends on D27587

Differential Revision: https://phabricator.services.mozilla.com/D27588
2020-06-09 14:50:25 +00:00
Greg Tatum
8dd17bbdd0 Bug 1644114 - Only symbolicate mochitests profiles when using --profiler; r=gbrown
This commit fixes an issue where the test harness can't find the profile to symbolicate.
MOZ_PROFILER_SHUTDOWN can take a relative address, which is relative to the CWD of the
Firefox binary. Rather than try to make this work, this patch instead outputs a message
suggesting that the user use the official flags. I did this because it was an easier
patch, but also I'm not sure what the user-intent is behind doing shutdown profiling
on their own.

Differential Revision: https://phabricator.services.mozilla.com/D78805
2020-06-09 04:32:19 +00:00
Geoff Brown
cc5e996863 Bug 1643400 - Tolerate more log formats when searching for mochitest summary counts; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D78401
2020-06-05 15:14:50 +00:00
Ricky Stewart
7f3fa0551b Bug 1641991 - Remove deprecated mochitest mach commands r=ahal
These commands were removed 5 years ago (with the exception of robocop, which was removed about a year ago). We're way past the point where anyone would glean useful info from keeping the stubs here with an error message.

Differential Revision: https://phabricator.services.mozilla.com/D77536
2020-05-29 20:43:05 +00:00
Masatoshi Kimura
b9a2ffc214 Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-31 03:41:03 +00:00
Rob Wu
66a434b9be Bug 1641541 - Remove generated SpecialPowers and mochikit addon at end of test r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D77249
2020-05-29 17:38:04 +00:00
Bob Clary
48722e157f Bug 1638175 - split valgrind args using shlex.split rather than str.split, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D77475
2020-05-29 15:48:45 +00:00
Andrei Cristian Petcu
5d95cff3bb Bug 249801 - Add a module to export logins to a CSV file. r=MattN,fluent-reviewers
The menu item is hidden until it requests re-authentication via Master Password.

Differential Revision: https://phabricator.services.mozilla.com/D75716
2020-05-29 07:14:03 +00:00
Magnus Melin
4e45f2ae87 Bug 1638333 - BrowserTestUtilsChild.jsm: handleEvent - don't assume the load event target is from a document. r=Yoric
In the case of a <body> location won't be set.

Differential Revision: https://phabricator.services.mozilla.com/D76137
2020-05-27 11:06:12 +00:00
Aaron Klotz
637ed6291c Bug 1640757: Use "-e testFile" to specify a junit test filter; r=gbrown
* We add a new command line option, `test-filter-file`, which allows the user
  to specify a line-delimited list of tests to run;
* When there multiple `test_filters` specified, we accumulate them into a
  temporary test filter file in the line-delimited format;
* We push that file to the device and specify it to `am instrument`;
* A single `test_filter` is still passed directly on the command line.

Differential Revision: https://phabricator.services.mozilla.com/D76873
2020-05-26 19:34:10 +00:00
Geoff Brown
c01036cf03 Bug 1624857 - Resolve intermittent mochitest AttributeError on with_traceback; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D76874
2020-05-26 19:26:05 +00:00
Tim Huang
3bfc60d466 Bug 1640259 - Add EPERM(Operation not permitted) as an expected error in isPidAlive() check. r=ahal
We could hit this error if we open and close too many processes during
the test. This could happen when Fission is enabled. The pid number
could roll back to 1 if the pid is counted over than 32767 in linux. If
this happened, we might check the pid which is opened by others. For
example, we open and close the pid 1000 and after that the pid rolls back
to 1  and the pid 1000 has been used by other process for any reasons.
If this happens, we would hit this error during killing zombie processes
in the end of the test.

To resolve this, we can add EPERM as an expected error since this
indicates that this pid has been used by other process, so the pid of the
original process is no longer alive.

Differential Revision: https://phabricator.services.mozilla.com/D76692
2020-05-26 19:23:29 +00:00
Andrew McCreight
bc30b464c9 Bug 1640974 - Remove unused --enable-cpow-warnings option. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D76872
2020-05-26 19:16:28 +00:00
Kershaw Chang
8ac1a956ac Bug 1602832 - P6: Make sure we don't launch socket process for xpcshell http server r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D76664
2020-05-26 14:30:54 +00:00
Butkovits Atila
f167b5c275 Backed out 6 changesets (bug 1602832) for causing perma failure at test_trr_case_sensitivity.js. CLOSED TREE
Backed out changeset 0e9c378df995 (bug 1602832)
Backed out changeset 534fedb3836e (bug 1602832)
Backed out changeset db012c05d64e (bug 1602832)
Backed out changeset ca0c207dca21 (bug 1602832)
Backed out changeset bea1f3aeea49 (bug 1602832)
Backed out changeset 2d54acd78124 (bug 1602832)
2020-05-26 13:09:07 +03:00
Kershaw Chang
8def6e94e6 Bug 1602832 - P6: Make sure we don't launch socket process for xpcshell http server r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D76664
2020-05-26 08:35:54 +00:00
Gijs Kruitbosch
2f983e6cfa Bug 1638373 - remove Cu.isCrossProcessWrapper now that CPOWs are dead, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D76597
2020-05-24 23:38:17 +00:00
egao
8e54528b9d Bug 1637463 - support loading of runtime information for a specific suite r=ahal
Changes:
  - permit existing code in chunking.py and mochitests/runtests.py to load manifest runtime information specifict to the suite

Differential Revision: https://phabricator.services.mozilla.com/D75592
2020-05-24 00:24:05 +00:00