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

3631 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 3b1edf526b Merge mozilla-central to mozilla-inbound.
--HG--
rename : toolkit/modules/Task.jsm => toolkit/modules/tests/modules/Task.jsm
extra : rebase_source : 52141f691cc72d4a80c7c5d4d35aad67a51b660d
2019-01-04 18:38:34 +02:00
Geoff Brown 310d40b967 Bug 1111188 - Remove temporary workaround for ssltunnel in mochitest; r=emk 2019-01-04 09:21:49 -07:00
Mark Banner 8e9e4602f8 Bug 1517456 - Make Task.jsm a test-only module. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D15647

--HG--
rename : toolkit/modules/Task.jsm => toolkit/modules/tests/modules/Task.jsm
extra : moz-landing-system : lando
2019-01-04 08:41:58 +00:00
Geoff Brown 77eaff507a Bug 1517170 - Ensure correct url on multi-scheme mochitest runs; r=bc
Also log the http/https scheme for the run.
2019-01-02 09:50:37 -07:00
Jan Henning 0455f90365 Bug 1478776 - Part 2: Add utility class for counting events. r=botond,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D14039

--HG--
extra : moz-landing-system : lando
2018-12-20 21:34:50 +00:00
Razvan Maries f658ebcbab Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
Jeff Walden ed23151bd7 Bug 1492937 - Make the JS subscript loader load scripts exclusively as UTF-8, with no way to specify any other encoding, and adjust a bunch of existing tests to use UTF-8 directly, rather than Unicode escape sequences or similar. (This also changes the encoding of .sjs scripts and all mochitest-browser tests in the tree from Latin-1 to UTF-8.) r=yzen, r=MattN, r=jimb, r=kmag 2018-12-19 13:46:20 -08:00
Geoff Brown e5e351a5a2 Bug 1515189 - Consolidate ADBDevice and ADBAndroid classes; r=bc 2018-12-19 14:04:02 -07:00
James Willcox ccd5376cdd Bug 1514349 - Add 'is_emulator' to mochitest info r=gbrown
This lets us skip tests when we're running on Android emulators.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 22:15:06 +00:00
Jan de Mooij 618fd67694 Bug 1512655 part 3 - Fix assertion in Cu.permitCPOWsInScope and ensure test globals that use it are in a separate compartment. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D14780

--HG--
extra : moz-landing-system : lando
2018-12-18 18:42:56 +00:00
shindli 3841c4f8cd Backed out 3 changesets (bug 1512655) for bustages in s/xpconnect/src/XPCComponents.cpp:2001 CLOSED TREE
Backed out changeset 2593c7d67f51 (bug 1512655)
Backed out changeset da21d7e91e19 (bug 1512655)
Backed out changeset ccb15a086148 (bug 1512655)
2018-12-18 14:55:53 +02:00
Jan de Mooij 76238bc575 Bug 1512655 part 3 - Fix assertion in Cu.permitCPOWsInScope and ensure test globals that use it are in a separate compartment. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D14780

--HG--
extra : moz-landing-system : lando
2018-12-18 00:31:08 +00:00
Geoff Lankow cc6b70c96c Bug 1506715 - Adapt Mochitest so it can run on Thunderbird r=darktrojan 2018-12-14 10:43:22 +13:00
James Willcox 560b503540 Bug 1511133 - Add 'isFennec' to mochitest info r=gbrown
This allows us to skip tests on GeckoView but not Fennec.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 20:56:33 +00:00
inspiro 89f1fb7652 Bug 1204247: Remove code supporting metro under testing/ r=jmaher
Bug 1204247: Remove code supporting metro under testing/

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

--HG--
extra : moz-landing-system : lando
2018-12-13 10:57:04 +00:00
Jan de Mooij eee34e39b3 Bug 1513277 part 2 - Use the scripted caller's global in mozJSComponentLoader::FindTargetObject. r=kmag
We have a few places where C++ calls ChromeUtils::Import directly.
I fixed these to pass the target object directly instead of an empty Optional<>.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 21:30:04 +00:00
Mark Banner 0304564ac7 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
Csoregi Natalia 9e970681f2 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Csoregi Natalia 354257650e Merge mozilla-central to autoland. CLOSED TREE 2018-12-11 18:29:02 +02:00
Mark Banner 1abdc8687f Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:44 +00:00
Geoff Brown 4e8eb29338 Bug 1512492 - Improve support for unicode logcat content in android test logs; r=bc 2018-12-10 13:37:22 -07:00
James Graham 13499e559e Bug 1352355 - Convert mozleak to structured logging, , r=ahal,mccr8
Moves mozleak to use structured logging. The logger gets two new
actions, mozleak_object to indicate the name of an object that leaked
in a specific process and mozleak_total to indicate the total number
of bytes leaked in a process.

The output from the TBPL formatter is
expected to remain near-identical to the previous output from the
logger, so there shouldn't be any effect on the ability to fail jobs
if there are leaks.

Additional features required by web-platform-tests are also added
here; the leak thresholds are passed to the logger for mozleak_total
and a list of any objects allowed to leak are passed for
mozleak_object, so that a log consumer may decide whether a leak is
unexpected. In addition, the scope attribute is used to specify the
set of tests (or other tasks) running at the time of the leak, which
may be used to associate a leak with a specific set of files.

MozReview-Commit-ID: 19FsMxVQExH

Depends on D12408

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

--HG--
extra : moz-landing-system : lando
2018-12-04 22:18:23 +00:00
Michael Froman a94c2df4cc Bug 1512023 - fixes for mochitest failures when RDD pref'd on for Win/OSX. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D13734

--HG--
extra : moz-landing-system : lando
2018-12-04 20:43:56 +00:00
Noemi Erli c9261f8a58 Backed out changeset b3c8a3a052ea (bug 1452146) for mochitest automation.py failures 2018-12-03 05:13:57 +02:00
Nils Ohlmeier [:drno] 31d3bd0b33 Bug 1452146 - flip av1 and rdd on for OSX and Win. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D13638

--HG--
extra : moz-landing-system : lando
2018-12-02 15:23:37 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Geoff Brown 1ec332e1cb Bug 1511101 - Enable a few android 7.0 x86 mochitest; r=me,a=test-only 2018-11-29 11:03:05 -07:00
Geoff Brown 27c0a1415f Bug 1507207 - Improve support for e10s mode testing on Android; r=bc 2018-11-27 09:41:13 -07:00
Daniel Varga ef4c0efcc4 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-27 07:36:22 +02:00
Geoff Brown 829a65fd2e Bug 1483478 - Store memory dump artifacts in awsy-lite; r=glandium 2018-11-26 17:59:05 -07:00
Alex Gaynor dda9947e2d Bug 1508342 - fixed a deprecation warning due to including an old header; r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D12325

--HG--
extra : moz-landing-system : lando
2018-11-21 22:29:54 +00:00
Blake Kaplan 7c8c896ff5 Bug 1469036 - Stop using the ServiceWorkerManager in the child. r=asuth
With parent intercept enabled, the source of truth for ServiceWorker
registrations lives in the parent process. In order to avoid sync messages or
having to wait after every test, we count the number of active registrations
in the parent and inform the children when there is or isn't a registration.

In non-parent-intercept mode, the parent finds out about new service worker
registrations too late, so we have to keep the old code hanging around for the
time being.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:39:13 +00:00
arthur.iakab e46aa1cd0c Backed out changeset b876444d90a6 (bug 1469036) for causing mochitest failures on test_console_serviceworker_cached.html and test_devtools_track_serviceworker_time.html a=backout 2018-11-20 10:18:02 +02:00
alwu 3752749336 Bug 1507615 - part2 : add synthesizeTouch() for BrowserTestUtils and test. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D12334

--HG--
extra : moz-landing-system : lando
2018-11-20 01:19:18 +00:00
Blake Kaplan d3667cf5f0 Bug 1469036 - Stop using the ServiceWorkerManager in the child. r=asuth
With parent intercept enabled, the source of truth for ServiceWorker
registrations lives in the parent process. In order to avoid sync messages or
having to wait after every test, we count the number of active registrations
in the parent and inform the children when there is or isn't a registration.

In non-parent-intercept mode, the parent finds out about new service worker
registrations too late, so we have to keep the old code hanging around for the
time being.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 19:47:24 +00:00
Andreea Pavel bbe17004a9 Backed out 2 changesets (bug 1507615) for failing ES lint on a CLOSED TREE
Backed out changeset 8ad653a7a5d6 (bug 1507615)
Backed out changeset a7c904c9581f (bug 1507615)
2018-11-20 02:55:08 +02:00
alwu 789ac1144c Bug 1507615 - part2 : add synthesizeTouch() for BrowserTestUtils and test. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D12334

--HG--
extra : moz-landing-system : lando
2018-11-19 21:28:37 +00:00
Andreea Pavel ee6cbfb346 Backed out changeset daffe63f1a1f (bug 1503756) for failing multiple android tests on a CLOSED TREE
--HG--
extra : amend_source : 0105169a95695dce6d1432f6166d939a222e0add
2018-11-15 03:30:47 +02:00
Gregory Szorc 6b90fb923c Bug 1503756 - Change name of media device; r=achronop
Regenerating the ubuntu1604-test Docker image pulls in a new
package version that changes the name of a media device. This media
device name is currently hard coded in the mochitest test harness.

This commit makes a change to force regeneration of the Docker image
and updates the hardcoded device name to reflect the new version.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 20:02:57 +00:00
Paolo Amadini f6b106efb2 Bug 1496827 - Remove the "notification" binding. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11650

--HG--
rename : browser/components/customizableui/content/.eslintrc.js => browser/components/translation/content/.eslintrc.js
rename : browser/components/translation/jar.mn => browser/components/translation/content/jar.mn
rename : browser/components/translation/microsoft-translator-attribution.png => browser/components/translation/content/microsoft-translator-attribution.png
rename : browser/components/customizableui/content/moz.build => browser/components/translation/content/moz.build
rename : browser/components/translation/translation-infobar.xml => browser/components/translation/content/translation-notification.js
extra : rebase_source : 598396d2da96b04782413946976f7bb9fb6be75f
2018-11-13 12:56:42 +00:00
Paolo Amadini cdb5b4eb19 Bug 1471403 - Part 4 - Convert "notificationbox" to a custom class. r=bgrins
As part of the conversion, support for notificationsHidden and children that are not notifications is also removed.

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

--HG--
rename : toolkit/content/widgets/notification.xml => toolkit/content/widgets/notificationbox.js
extra : rebase_source : 36a5412e1e9a9dc591fd486d1123c1f763a6f173
2018-11-09 14:58:18 +00:00
Paolo Amadini ce13039af3 Bug 1471403 - Part 2 - Lazify the creation of "notificationbox" elements. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D10892

--HG--
extra : rebase_source : f66fe90d780c3d446f4a065c0397cbb37f43cb0c
2018-11-09 14:38:49 +00:00
Gurzau Raul 59e4d470eb Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-08 21:16:11 +02:00
Paolo Amadini 4270e25239 Bug 1505791 - Separate the browser panel from the notification box. r=dao,bgrins
This clarifies the intention of each caller, and opens up the possibility of converting the notificationbox element to a class that creates the DOM nodes on demand.

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

--HG--
extra : rebase_source : e311dd7144cf9f7cd513761f97bb3dd0a35dce71
extra : source : 9532194794ba9c87025da92cf70f76c21a277220
2018-11-08 15:31:37 +00:00
Andrew Halberstadt 4157983d1f Bug 1460914 - [xpcshell] Add --setpref to the command line, r=ted
Depends on D9796

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

--HG--
extra : moz-landing-system : lando
2018-11-08 14:50:32 +00:00
Andrew Halberstadt ecadfa3e3d Bug 1460914 - [mozprofile] Move mochitest's 'parseKeyValue' function into mozprofile.cli, r=ted
Parsing prefs and env on the command line is a common task performed by our harnesses, let's
move it into mozbase.

Depends on D9717

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

--HG--
extra : moz-landing-system : lando
2018-11-08 14:51:26 +00:00
Jonathan Kingston 4248b4c554 Bug 1490257 - Pass triggeringPrincipal to test code. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10882

--HG--
extra : moz-landing-system : lando
2018-11-05 14:05:47 +00:00
Geoff Brown f663d7586d Bug 1504447 - Grant runtime permissions to test app before running geckoview-junit; r=bc 2018-11-03 14:22:50 -06:00
Daniel Varga 77036132f7 Merge autoland to mozilla-central. a=merge 2018-11-02 00:26:12 +02:00
Jan Henning ae407ebe3b Bug 1502135 - Make resource://testing-common available for Robocop JS tests. r=gbrown
The code is simply a copy of the corresponding code in runtestsremote.py.

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

--HG--
extra : moz-landing-system : lando
2018-11-01 17:45:07 +00:00