Brian Grinstead
b7ba45940c
Bug 1522921 - Set the devtools chrome debugging prefs to true by default in mochitests and wpt r=ahal,miker
...
Differential Revision: https://phabricator.services.mozilla.com/D17671
--HG--
extra : moz-landing-system : lando
2019-01-30 03:25:17 +00:00
Cosmin Sabou
599a15d354
Merge mozilla-inbound to mozilla-central. a=merge
2019-01-29 12:01:56 +02:00
Brian Grinstead
de5d4965bb
Bug 1522916 - Add --jsconsole argument to mochitest
r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D17669
--HG--
extra : moz-landing-system : lando
2019-01-28 21:31:18 +00:00
Dorel Luca
e1e5c4c775
Backed out 4 changesets (bug 1521191) for causing leaks on multiple tests
...
Backed out changeset 138e162d2778 (bug 1521191)
Backed out changeset 3782d011cc9f (bug 1521191)
Backed out changeset 38d3da4804d7 (bug 1521191)
Backed out changeset d6ce4b187195 (bug 1521191)
2019-01-26 03:23:40 +02:00
Andrew McCreight
ac257016f5
Bug 1521191, part 4 - Add a test for producing an error if there's a negative leak. r=ahal
...
Depends on D17536
Differential Revision: https://phabricator.services.mozilla.com/D17537
--HG--
extra : moz-landing-system : lando
2019-01-24 20:36:48 +00:00
Andrew McCreight
16351e63ce
Bug 1521191, part 2 - Ensure missing leak logs cause mozharness to fail. r=ahal
...
Depends on D17534
Differential Revision: https://phabricator.services.mozilla.com/D17535
--HG--
extra : moz-landing-system : lando
2019-01-25 20:27:34 +00:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Kris Maglione
2fe0de01dc
Bug 1519596: Part 1 - Remove several unnecessary/unused ChromeUtils.import() calls. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D16377
--HG--
extra : rebase_source : 6c4311387d25de425806aeb6c4691e12c9fcb855
2019-01-11 16:59:23 -08:00
Matthew Noorenberghe
123e86924e
Bug 1269039 - Make test_master_password.html work with e10s. r=dolske
...
MozReview-Commit-ID: 2LZ4EjI8MHW
--HG--
extra : rebase_source : 4c3d4dc1f6aaaee7702a43dfde0544ed785e1541
2016-04-29 17:26:59 -07:00
Ciure Andrei
c035ee7d3a
Merge inbound to mozilla-central. a=merge
2019-01-24 05:44:33 +02:00
Andrea Marchesini
ae7e7d4c3a
Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod
2019-01-23 19:19:19 +01:00
Andrea Marchesini
dc777dc7a6
Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh
2019-01-23 19:19:18 +01:00
Razvan Maries
7ccb4bf803
Backed out 2 changesets (bug 1521051) for xpcshell fails on extensions/cookie/test/unit/test_cookies_thirdparty.js. CLOSED TREE
...
Backed out changeset 90bb620dd870 (bug 1521051)
Backed out changeset 483fa314e45e (bug 1521051)
2019-01-23 22:09:32 +02:00
Andrea Marchesini
8e0c688733
Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod
2019-01-23 19:19:19 +01:00
Andrea Marchesini
fb5e2a4f57
Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh
2019-01-23 19:19:18 +01:00
Andrew McCreight
51bc2fd37b
Bug 1521223, part 2 - Update the leakcheck test to work on a real leak log. r=ahal
...
Depends on D17310
Differential Revision: https://phabricator.services.mozilla.com/D17311
--HG--
extra : moz-landing-system : lando
2019-01-23 17:03:20 +00:00
Mark Banner
15b881a65f
Bug 1521707 - Move promisePopupEvent to BrowserTestUtils.jsm. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D17259
--HG--
extra : moz-landing-system : lando
2019-01-23 14:04:46 +00:00
Mark Banner
d13fd4f699
Bug 1521707 - Move waitForDocLoadAndStopIt to BrowserTestUtils. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D17258
--HG--
extra : moz-landing-system : lando
2019-01-23 14:04:30 +00:00
Ehsan Akhgari
4137a92662
Bug 1514340
- Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Geoff Brown
63f6350aba
Bug 1519477 - Try to detect networking connectivity problems before running local tests on android; r=bc
...
--HG--
extra : rebase_source : 6e84bd061bec5a77dd0ae31b2baa6978db1c1264
2019-01-16 14:59:35 -07:00
Paolo Amadini
8df9d6843c
Bug 1501411 - Make sure that copying preference values from the new "about:config" page preserves whitespace. r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D16056
--HG--
extra : rebase_source : de02625fed68f99e5daa6b3a9e783f9b985897eb
2019-01-15 14:21:07 +00:00
Christoph Kerschbaumer
6756032512
Bug 1513241: Update frontend consumers of loadURI and pass loadURIOptions dictionary. r=gijs
2019-01-11 12:44:20 +01:00
Nathan Froyd
def9e5efca
Bug 1514043 - change gecko media plugin process name; r=mccr8,bobowen,haik,chutten
...
The only visible change from this change is that telemetry will be
discontinuous. The owners for the relevant telemetry probes have
reviewed this and indicated that this discontinuity is OK.
2019-01-10 10:52:51 -05:00
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