Andrew Halberstadt
4b124524c7
Bug 1550515 - [mochitest] Don't 'keep_open' a single mochitest when using --headless, r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D30536
--HG--
extra : moz-landing-system : lando
2019-05-09 19:07:57 +00:00
Nika Layzell
6eb2084136
Bug 1544811 - Use web processes on a per-site basis for fission-enabled windows, r=mconley
...
This patch introduces a new type of content process, which has a dynamic name.
This type of content process is labeled as `webIsolated=${SITE_ORIGIN}` and is
used within fission-enabled windows.
To enable this, additional information about the fission status of the target
window must be passed into E10SUtils. This was done by updating every call site
manually to pass an extra boolean. A better solution perhaps should be used in
the future.
With this patch enabled, we now perform process switches, but only when
navigating to HTTP URIs. If we navigate to a non-HTTP URI in an iframe with
fission enabled, it will not behave correctly. This must be done in a
follow-up.
Differential Revision: https://phabricator.services.mozilla.com/D29570
--HG--
extra : moz-landing-system : lando
2019-05-03 21:31:57 +00:00
Joel Maher
6611f95ab0
Bug 1546459 - remove subsuite=clipboard from manifests. r=ahal
...
remove subsuite=clipboard from manifests
Differential Revision: https://phabricator.services.mozilla.com/D28521
--HG--
extra : moz-landing-system : lando
2019-05-01 08:16:44 +00:00
Andrew Halberstadt
e108b019b8
Bug 1547983 - [mochitest] Fix running a single mochitest-plain-clipboard/gpu test locally, r=jmaher
...
This was a regression from bug 1546100
.
Differential Revision: https://phabricator.services.mozilla.com/D29390
--HG--
extra : moz-landing-system : lando
2019-04-30 21:09:16 +00:00
Gijs Kruitbosch
811c33eeca
Bug 1515204 - add mouseup after drop in EventUtils, r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D28749
--HG--
extra : moz-landing-system : lando
2019-04-30 12:55:23 +00:00
Jonas Allmann
a409257d6d
Bug 1546990 - Remove several files from eval()-assertion whitelist, r=ckerschb
...
Refactor several occurences of `setTimeout()` to avoid triggering the `eval()` assertion.
Differential Revision: https://phabricator.services.mozilla.com/D28851
--HG--
extra : moz-landing-system : lando
2019-04-29 11:20:37 +00:00
Andrew Halberstadt
060e1d37f0
Bug 1546100
- [mochitest] Error out when running 'a11y' or 'chrome' with e10s, r=jmaher
...
Previously we would silently change the value of "e10s" from False to True.
This can cause confusion and lead people to falsely think mochitest-chrome/a11y
work with e10s (they do not).
Now we explicitly error out in this case. This might be slightly less
convenient for the developer (e.g they might need to re-run the command), but
the downside of needing to rerun a test command is less than the risk of
misunderstanding what is being tested.
Note: when running |mach test| or |mach mochitest| on a directory that contains
both chrome/a11y and another suite, we'll still do the right thing and
implicitly set "e10s=False".
Differential Revision: https://phabricator.services.mozilla.com/D28538
--HG--
extra : moz-landing-system : lando
2019-04-26 18:25:21 +00:00
Andrew Halberstadt
b3e208c4af
Bug 1546100
- [mochitest] Use kwargs from moztest.resolve in mach mochitest, r=jmaher
...
These days 'moztest.resolve' is becoming the defacto place to define test harness
related metadata. Currently |mach test| uses it to find kwargs that need to get
set for mochitest commands, but |mach mochitest| does not. Instead, it grabs this
metadata from 'mochitest_options.py'.
This patch makes the kwargs used consistent between both |mach test| and |mach
mochitest|.
Differential Revision: https://phabricator.services.mozilla.com/D28537
--HG--
extra : moz-landing-system : lando
2019-04-26 12:45:38 +00:00
Dorel Luca
043307cbad
Backed out changeset 72ae3513844c (bug 1515204) for Mochitest failures in layout/base/tests/test_reftests_with_caret.html. CLOSED TREE
2019-04-25 21:01:40 +03:00
Gijs Kruitbosch
dc4531ece2
Bug 1515204 - add mouseup after drop in EventUtils, r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D28749
--HG--
extra : moz-landing-system : lando
2019-04-25 15:45:23 +00:00
Bob Clary
0bffbb3592
Bug 1544089 - [mochitest] - Configure ssltunnel to listen on loopback address for Desktop and any public address for Remote tests, r=gbrown.
...
Depends on D27722
Differential Revision: https://phabricator.services.mozilla.com/D27723
--HG--
extra : moz-landing-system : lando
2019-04-23 00:36:52 +00:00
Sylvestre Ledru
a1dce6440a
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D28329
--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Ian Moody
973a680c6b
Bug 1379466 - Add auxclick to mouse synthesis test code. r=smaug
...
Check that non-synthesised auxclicks get isHandlingUserInput == true.
Differential Revision: https://phabricator.services.mozilla.com/D26789
--HG--
extra : moz-landing-system : lando
2019-04-18 12:57:35 +00:00
Johann Hofmann
786db8c42d
Bug 1536454
- Part 5 - Add tests for permission prompt event telemetry. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D27907
--HG--
extra : moz-landing-system : lando
2019-04-18 13:43:38 +00:00
Brian Grinstead
36bfb3ba81
Bug 1544051 - Part 4 - Remove AddTask.js r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D27762
--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:42 +00:00
Brian Grinstead
381332c51e
Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
...
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672
Differential Revision: https://phabricator.services.mozilla.com/D27761
--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Brian Grinstead
7ab932d712
Bug 1544051 - Part 2 - Remove some references to AddTask.js that aren't caught by the script in part 3 r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D27760
--HG--
extra : moz-landing-system : lando
2019-04-18 16:50:39 +00:00
Brian Grinstead
87bc6e7b7a
Bug 1544051 - Part 1 - Move add_task into SimpleTest.js r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D27759
--HG--
extra : moz-landing-system : lando
2019-04-18 17:01:02 +00:00
Bob Clary
e263e174bf
Bug 1544089 - Allow the configuration of the ssltunnel listening address, r=mayhemer.
...
Differential Revision: https://phabricator.services.mozilla.com/D27722
--HG--
extra : moz-landing-system : lando
2019-04-17 14:37:28 +00:00
Brian Grinstead
911776d674
Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27458
--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead
ede8c44ef2
Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
...
This excludes dom/, otherwise the file size is too large for phabricator to handle.
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27456
--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Brian Grinstead
6515f97bcb
Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.
Differential Revision: https://phabricator.services.mozilla.com/D26812
--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Brian Grinstead
662c3bf371
Bug 1543841 - Remove newlines for the #content and #test nodes in `./mach addtest` templates r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D27188
--HG--
extra : moz-landing-system : lando
2019-04-12 05:04:50 +00:00
Brian Grinstead
8e0afeaab1
Bug 1543841 - Update `./mach addtest` templates to stop using [type] attribute on stylesheets r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D27181
--HG--
extra : moz-landing-system : lando
2019-04-12 05:04:14 +00:00
Brian Grinstead
74a00a54ae
Bug 1543300 - Update `./mach addtest` templates to stop using [type] attribute on script tags r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D26811
--HG--
extra : moz-landing-system : lando
2019-04-10 05:03:53 +00:00
Brian Grinstead
05f5ec26a4
Bug 1540285 - Add a test generator script into `./mach addtest` r=ahal
...
Instead of:
perl gen_template.pl -b=123456 --type=plain > path/to/test_bug123456.html
You can do:
./mach addtest --suite="mochitest-plain" > path/to/test_bug123456.html
But you can also pass in a new file path and let it guess the suite/doc:
```
# mochitest-chrome tests
./mach addtest js/xpconnect/tests/chrome/test_chrome.html
./mach addtest js/xpconnect/tests/chrome/test_chrome.xhtml
./mach addtest js/xpconnect/tests/chrome/test_chrome.xul
# mochitest-plain tests
./mach addtest js/xpconnect/tests/mochitest/test_plain.html
./mach addtest js/xpconnect/tests/mochitest/test_plain.xhtml
./mach addtest js/xpconnect/tests/mochitest/test_plain.xul
# mochitest-browser tests
./mach addtest browser/base/content/test/alerts/browser_foo.js
# xpcshell tests
./mach addtest browser/components/extensions/test/xpcshell/test_xpcshell.js
```
This also changes the mochitest template files in the following ways:
- removes the bug # boilerplate
- remove some unnecessary attributes in the template
- removes the th.template
- adds the browser.template for browser-chrome tests
Differential Revision: https://phabricator.services.mozilla.com/D25482
--HG--
rename : testing/mochitest/static/chrome.template.txt => testing/mochitest/static/chromehtml.template.txt
rename : testing/mochitest/static/test.template.txt => testing/mochitest/static/plainhtml.template.txt
rename : testing/mochitest/static/xhtml.template.txt => testing/mochitest/static/plainxhtml.template.txt
rename : testing/mochitest/static/xul.template.txt => testing/mochitest/static/plainxul.template.txt
extra : moz-landing-system : lando
2019-04-08 19:09:42 +00:00
Gijs Kruitbosch
d395728ea0
Bug 1537622 - fix various minor eslint issues in XUL files, r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D24297
--HG--
extra : moz-landing-system : lando
2019-04-05 12:18:24 +00:00
Ian Moody
24160ab0c5
Bug 1541025 - testing/ manual ESLint no-throw-literal fixes. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D25759
--HG--
extra : moz-landing-system : lando
2019-04-02 13:42:22 +00:00
Ian Moody
e179244140
Bug 1541025 - testing/ automated ESLint no-throw-literal fixes. r=jmaher
...
Result of running:
$ mach eslint -funix testing/ | sed -Ee 's/:.+//' - | xargs sed -E \
-e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
-e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
-e 's/throw \(/throw new Error(/g' -i
Differential Revision: https://phabricator.services.mozilla.com/D25758
--HG--
extra : moz-landing-system : lando
2019-04-02 13:44:16 +00:00
Kris Maglione
2751f398be
Bug 1540856: Part 3 - Ensure the default theme is enabled for browser mochitests. r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D25679
--HG--
extra : rebase_source : f8abe07c8d7457bf171f313eb2946d75da90269d
extra : histedit_source : 9c03cf7d02cbd1d19550770601dcd2a8b793418f
2019-04-01 15:37:12 -07:00
Edwin Gao
e7c6257344
Bug 1536221 - toggle crashreporter value in mozinfo.json to False for windows10-aarch64 r=jmaher
...
Set the `crashreporter` value in mozinfo to `False`.
This requires the setting of a new `options.crashreporter` value from `mochitest_options.py`, when it detects windows10-aarch64 configuration.
Differential Revision: https://phabricator.services.mozilla.com/D25503
--HG--
extra : moz-landing-system : lando
2019-04-01 16:37:51 +00:00
Kris Maglione
65d8090965
Bug 1539925: Part 4 - Remove stray mochitest install.rdf file. r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D25292
--HG--
extra : rebase_source : eab412777802efd9645bf4debff7a83900b97394
extra : histedit_source : e94be367d2c0f8cdf98c5ddf71e21913cc41932b
2019-03-28 12:56:17 -07:00
Rob Wu
420fe7e403
Bug 1540078 - Let pywebsocket listen at localhost in mochitests r=ahal
...
Not specifying an explicit host causes pywebsocket to listen on the
default address, which may be 0.0.0.0. This triggers the firewall
on macOS, and causes the following prompt to be shown when mochitests
are run:
> Do you want the application "Python.app"
> to accept incoming network connections?
The dialog is a nuisance because it is always on top. Since denying
the access does not change the outcome of tests, it should be safe
to only listen on localhost.
Differential Revision: https://phabricator.services.mozilla.com/D25364
--HG--
extra : moz-landing-system : lando
2019-03-29 14:11:13 +00:00
Mark Banner
dba6983e75
Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D23850
--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Masayuki Nakano
e35cfd926c
Bug 1536353 - part 3: Make nsIDOMWindowUtils.dispatchDOMEventViaPresShell() dispatch only trusted event r=smaug
...
In normal cases, `PresShell::EventHandler` won't receive untrusted event.
However, only `nsIDOMWindowUtils.dispatchDOMEventViaPresShell()` may send
untrusted event if its `aTrusted` is false. Currently, this is not used by
chrome so that we don't need to keep supporting it for dispatching untrusted
events.
This patch removes `aTrusted` argument from it.
Differential Revision: https://phabricator.services.mozilla.com/D24870
--HG--
extra : moz-landing-system : lando
2019-03-26 10:10:22 +00:00
Geoff Brown
e8ee36fad6
Bug 1536640
- Improve MOZ_LOG support in Android mochitest harness; r=bc
...
Unifies the mochitest MOZ_LOG file naming and archiving across desktop/android.
Notably the inclusion of pid and uuid for android log files helps generate
appropriate files for e10s on geckoview.
Differential Revision: https://phabricator.services.mozilla.com/D24262
--HG--
extra : moz-landing-system : lando
2019-03-25 14:55:20 +00:00
Gijs Kruitbosch
5e05f6c9c9
Bug 1353013 - move new tab preload browser tracking into a separate module, r=dthayer
...
Differential Revision: https://phabricator.services.mozilla.com/D21126
--HG--
extra : moz-landing-system : lando
2019-03-19 17:29:14 +00:00
shindli
a7af1edc71
Backed out 3 changesets (bug 1353013) for a11y failures in accessible/tests/mochitest/relations/test_tabbrowser.xul CLOSED TREE
...
Backed out changeset af8bce2330e9 (bug 1353013)
Backed out changeset a3d1302b06c0 (bug 1353013)
Backed out changeset 976afd1adf84 (bug 1353013)
2019-03-18 18:21:16 +02:00
Gijs Kruitbosch
b7a741e6cb
Bug 1353013 - move new tab preload browser tracking into a separate module, r=dthayer
...
Differential Revision: https://phabricator.services.mozilla.com/D21126
--HG--
extra : moz-landing-system : lando
2019-03-12 14:34:04 +00:00
Thomas Nguyen
26bd1e060c
Bug 1528695 - Part 2 : Use referrerInfo in openWindow, contextmenu and openLinkIn r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D21911
--HG--
extra : moz-landing-system : lando
2019-03-15 05:10:17 +00:00
Geoff Brown
eea10fc31e
Bug 1533445 - Make android tests shutdown faster when device unresponsive; r=bc
...
Differential Revision: https://phabricator.services.mozilla.com/D22610
--HG--
extra : moz-landing-system : lando
2019-03-07 22:45:13 +00:00
Florian Quèze
a65779bd47
Bug 1529000 - add a way to provide environment variables to use at startup in mochitest manifests, r=ahal.
...
Differential Revision: https://phabricator.services.mozilla.com/D21726
--HG--
extra : moz-landing-system : lando
2019-03-06 19:03:51 +00:00
Jan Henning
50c69a3713
Bug 1529863 - Remove remnants of unused browser.firstrun and browser.snippets prefs. r=geckoview-reviewers,whimboo,esawin
...
"browser.firstrun.*" seems to have been unused since the end of XUL-based
Fennec, whereas the code referencing the "browser.snippets.*" prefs was removed
in bug 1482836.
Differential Revision: https://phabricator.services.mozilla.com/D20862
--HG--
extra : moz-landing-system : lando
2019-03-06 14:59:46 +00:00
Felipe Gomes
96dfb4e813
Bug 827976 - Teach leaks.py to ignore the hidden window. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21089
--HG--
extra : moz-landing-system : lando
2019-03-04 20:21:31 +00:00
Geoff Brown
a908bb5504
Bug 1531611 - Check for ANR and tombstone files in all android tests; r=bc
...
The existing ANR and tombstone checks in remoteautomation are used
by mochitests and reftests but are awkward for other harnesses like cppunit
that do not use remoteautomation...and easily missed. This patch moves that
code to the mozharness AndroidMixin, treating ANRs and tombstones like the
logcat: Make sure any old logs are deleted when the mozharness script starts,
then move any logs found at the end of the run to the upload directory.
https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=f3de1e9836da2b0c9232f5d92c751b979459e19b
demonstrates tombstone artifacts for the Android 7.0 cppunit tests.
Differential Revision: https://phabricator.services.mozilla.com/D21774
--HG--
extra : moz-landing-system : lando
2019-03-05 14:22:45 +00:00
Cosmin Sabou
a706bb3916
Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
...
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Felipe Gomes
85cb541ba6
Bug 827976 - Teach leaks.py to ignore the hidden window. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21089
--HG--
extra : moz-landing-system : lando
2019-03-01 21:07:41 +00:00
James Willcox
61ca9441b1
Bug 1525959 - Skip some mochitests tests under GeckoView r=geckoview-reviewers,esawin
...
There are few things that are either Fennec-specific or don't work
currently under GeckoView w/ e10s under TestRunnerActivity. Disable
these so we can get some testing going in automation.
This also replaces 'isFennec' with the more correct 'is_fennec'.
Differential Revision: https://phabricator.services.mozilla.com/D19016
--HG--
extra : moz-landing-system : lando
2019-02-27 15:01:43 +00:00
Byron Campen [:bwc]
e1a33816af
Bug 1521879 - Part 7: Create new CI jobs for media mochitests with socket process enabled. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D17942
--HG--
extra : moz-landing-system : lando
2019-02-25 21:52:13 +00:00
Gurzau Raul
e6740c75fc
Backed out 10 changesets (bug 1521879) for causing bug 1530107. a=backout
...
Backed out changeset f597a73a6eac (bug 1521879)
Backed out changeset 0bb76534f207 (bug 1521879)
Backed out changeset abcb8be12adf (bug 1521879)
Backed out changeset ed6c8d3bbfde (bug 1521879)
Backed out changeset 1addf1e15b55 (bug 1521879)
Backed out changeset 6b709cd9a479 (bug 1521879)
Backed out changeset 07747027c59c (bug 1521879)
Backed out changeset a6105ccc188c (bug 1521879)
Backed out changeset 48c9c643e7bb (bug 1521879)
Backed out changeset d4004105a04a (bug 1521879)
2019-02-25 12:12:15 +02:00
Byron Campen [:bwc]
ee86d56d40
Bug 1521879 - Part 7: Create new CI jobs for media mochitests with socket process enabled. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D17942
--HG--
extra : moz-landing-system : lando
2019-02-21 20:26:33 +00:00
Brindusan Cristian
136394135f
Backed out 9 changesets (bug 1521879) for flake failures at /transforms/tests.py. CLOSED TREE
...
Backed out changeset baac167868b3 (bug 1521879)
Backed out changeset 54ac1b47b736 (bug 1521879)
Backed out changeset 94b62c6f22e2 (bug 1521879)
Backed out changeset d44f15fd4529 (bug 1521879)
Backed out changeset 761fca0514fb (bug 1521879)
Backed out changeset 0b85b1a7c1ce (bug 1521879)
Backed out changeset 5dc76e863a02 (bug 1521879)
Backed out changeset 604b9a007fe5 (bug 1521879)
Backed out changeset c414d82a5325 (bug 1521879)
2019-02-21 19:32:31 +02:00
Edwin Gao
98a7e83120
Bug 1525743 - extend timeout for mochitest on aarch64 r=gbrown
...
Changes:
- if windows and aarch64, extend timeout to 4x self.DEFAULT_TIMEOUT (default: 60.0)
Basis for selecting `4` as the value: https://hg.mozilla.org/try/rev/60636025b42be3ee3c7cccba00f45295029364ca
Differential Revision: https://phabricator.services.mozilla.com/D19882
--HG--
extra : moz-landing-system : lando
2019-02-20 16:57:36 +00:00
Byron Campen [:bwc]
597c5c6ed9
Bug 1521879 - Part 7: Create new CI jobs for media mochitests with socket process enabled. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D17942
--HG--
extra : moz-landing-system : lando
2019-02-21 15:32:59 +00:00
Kris Maglione
dbadd05b1e
Bug 1524687 - Part 0: Fix more dodgy component mocking code. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D18395
--HG--
extra : rebase_source : dc3fb410f84a488f99476cf1c52489eb9558327e
extra : source : e96e61bd282f3f6261709ba6cdc473713dadacb7
2019-01-31 12:27:15 -08:00
Csoregi Natalia
ecd94d6986
Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE
...
Backed out changeset 68a001a42406 (bug 1524687)
Backed out changeset 328de611bcd3 (bug 1524688)
Backed out changeset 68cffca6927a (bug 1524687)
Backed out changeset 81dc12cc9257 (bug 1524688)
Backed out changeset c7c49f64048f (bug 1524688)
Backed out changeset fb23a0271da0 (bug 1524688)
Backed out changeset 0c1d1248e59e (bug 1524688)
Backed out changeset 9e9ec7de4160 (bug 1524688)
Backed out changeset de0b9993bd5d (bug 1524688)
Backed out changeset 92877cf4fe33 (bug 1524688)
Backed out changeset b4938f2ff8fd (bug 1524688)
Backed out changeset 230d2feaf941 (bug 1524688)
Backed out changeset 6c63bc240972 (bug 1524688)
Backed out changeset 0ad5465eace1 (bug 1524688)
Backed out changeset 1e75ce91029b (bug 1524688)
Backed out changeset 34a978503b1d (bug 1524688)
Backed out changeset 183602e8a30b (bug 1524688)
Backed out changeset 12a9135dc005 (bug 1524688)
Backed out changeset 978ef5dac9db (bug 1524688)
Backed out changeset 28105bf7bf6a (bug 1524688)
Backed out changeset a9fb74beaf2b (bug 1524688)
Backed out changeset fe106b369a72 (bug 1524688)
Backed out changeset e657e77d4271 (bug 1524688)
Backed out changeset 09f626870ad0 (bug 1524688)
Backed out changeset fe9b6695212e (bug 1524688)
Backed out changeset 995ea188bc31 (bug 1524688)
Backed out changeset 01c4d3edb1b0 (bug 1524688)
Backed out changeset 1bb7dfbb9f48 (bug 1524688)
Backed out changeset 56c61e0a1f45 (bug 1524688)
Backed out changeset c819943ff466 (bug 1524688)
Backed out changeset a1dd5cec066e (bug 1524688)
Backed out changeset 517838ee0c3c (bug 1524688)
Backed out changeset f509a5759fdf (bug 1524688)
Backed out changeset 56f5c8f0d708 (bug 1524688)
Backed out changeset 5746311ef859 (bug 1524688)
Backed out changeset df02f7d25212 (bug 1524688)
Backed out changeset c9846136d105 (bug 1524688)
Backed out changeset 2bd48db9cd0f (bug 1524688)
Backed out changeset ff120b4eeb79 (bug 1524688)
Backed out changeset fe583e7aae8d (bug 1524688)
Backed out changeset 18f156d6355a (bug 1524688)
Backed out changeset f4eaebbe2e0f (bug 1524688)
Backed out changeset bf6b18e23f69 (bug 1524688)
Backed out changeset dd89eb7e9b0d (bug 1524688)
Backed out changeset 4cbbb367ba0b (bug 1524688)
Backed out changeset 4ed0cf6be580 (bug 1524688)
Backed out changeset d8efb5ed62b1 (bug 1524688)
Backed out changeset ea347d57d73a (bug 1524688)
Backed out changeset 911689ef9f33 (bug 1524688)
Backed out changeset 28670fdc418d (bug 1524688)
Backed out changeset 38e1e42a0fb0 (bug 1524688)
Backed out changeset 35a5f031dd1e (bug 1524688)
Backed out changeset b586d55d76d5 (bug 1524688)
Backed out changeset 6dcacead1746 (bug 1524688)
Backed out changeset 9895239d8ac6 (bug 1524688)
Backed out changeset 25f982fd53bd (bug 1524688)
Backed out changeset 4fb0f0a59fe2 (bug 1524688)
Backed out changeset fdc6c4ed241a (bug 1524688)
Backed out changeset 5ce5986068f0 (bug 1524688)
Backed out changeset ab64ed7388ae (bug 1524688)
Backed out changeset 56607c5a301a (bug 1524688)
Backed out changeset 6b3684e7d8f9 (bug 1524688)
Backed out changeset ee28258a5724 (bug 1524688)
Backed out changeset 9201a7ea3c54 (bug 1524688)
Backed out changeset d5dca413e2da (bug 1524688)
Backed out changeset 68eb174a337b (bug 1524688)
Backed out changeset 625f71135038 (bug 1524687)
Backed out changeset 46e13c453538 (bug 1524687)
Backed out changeset 614be688767f (bug 1524687)
Backed out changeset 9c24919ac5c2 (bug 1524687)
Backed out changeset b9862758b98c (bug 1524687)
Backed out changeset 92d9e927deec (bug 1524687)
Backed out changeset f4ee175bc5bd (bug 1524687)
Backed out changeset 191afe83da2e (bug 1524687)
Backed out changeset c58caf41bb94 (bug 1524687)
Backed out changeset df95a56dae04 (bug 1524687)
Backed out changeset 10c69df4444d (bug 1524687)
Backed out changeset 219b84a58f50 (bug 1524687)
Backed out changeset e96e61bd282f (bug 1524687)
--HG--
rename : browser/components/migration/360seProfileMigrator.jsm => browser/components/migration/360seProfileMigrator.js
rename : browser/components/migration/ChromeProfileMigrator.jsm => browser/components/migration/ChromeProfileMigrator.js
rename : browser/components/migration/EdgeProfileMigrator.jsm => browser/components/migration/EdgeProfileMigrator.js
rename : browser/components/migration/FirefoxProfileMigrator.jsm => browser/components/migration/FirefoxProfileMigrator.js
rename : browser/components/migration/IEProfileMigrator.jsm => browser/components/migration/IEProfileMigrator.js
rename : browser/components/migration/ProfileMigrator.jsm => browser/components/migration/ProfileMigrator.js
rename : browser/components/migration/SafariProfileMigrator.jsm => browser/components/migration/SafariProfileMigrator.js
rename : browser/components/newtab/AboutNewTabService.jsm => browser/components/newtab/aboutNewTabService.js
rename : browser/components/BrowserContentHandler.jsm => browser/components/nsBrowserContentHandler.js
rename : browser/components/BrowserGlue.jsm => browser/components/nsBrowserGlue.js
rename : browser/components/payments/PaymentUIService.jsm => browser/components/payments/paymentUIService.js
rename : browser/components/protocolhandler/WebProtocolHandlerRegistrar.jsm => browser/components/protocolhandler/WebProtocolHandlerRegistrar.js
rename : devtools/startup/AboutDebuggingNewRegistration.jsm => devtools/startup/aboutdebugging-new-registration.js
rename : devtools/startup/AboutDebuggingRegistration.jsm => devtools/startup/aboutdebugging-registration.js
rename : devtools/startup/aboutdevtools/AboutDevToolsRegistration.jsm => devtools/startup/aboutdevtools/aboutdevtools-registration.js
rename : devtools/startup/AboutDevToolsToolboxRegistration.jsm => devtools/startup/aboutdevtoolstoolbox-registration.js
rename : devtools/startup/DevToolsStartup.jsm => devtools/startup/devtools-startup.js
rename : dom/base/ProcessSelector.jsm => dom/base/ProcessSelector.js
rename : dom/base/SlowScriptDebug.jsm => dom/base/SlowScriptDebug.js
rename : dom/base/ContentAreaDropListener.jsm => dom/base/contentAreaDropListener.js
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
rename : dom/console/ConsoleAPIStorage.jsm => dom/console/ConsoleAPIStorage.js
rename : dom/html/HTMLMenuBuilder.jsm => dom/html/htmlMenuBuilder.js
rename : dom/media/PeerConnection.jsm => dom/media/PeerConnection.js
rename : dom/notification/NotificationStorage.jsm => dom/notification/NotificationStorage.js
rename : dom/presentation/PresentationDataChannelSessionTransport.jsm => dom/presentation/PresentationDataChannelSessionTransport.js
rename : dom/presentation/PresentationNetworkHelper.jsm => dom/presentation/PresentationNetworkHelper.js
rename : dom/presentation/provider/AndroidCastDeviceProvider.jsm => dom/presentation/provider/AndroidCastDeviceProvider.js
rename : dom/presentation/provider/PresentationControlService.jsm => dom/presentation/provider/PresentationControlService.js
rename : dom/push/Push.jsm => dom/push/Push.js
rename : dom/push/PushComponents.jsm => dom/push/PushComponents.js
rename : dom/system/NetworkGeolocationProvider.jsm => dom/system/NetworkGeolocationProvider.js
rename : layout/tools/recording/RecordingCmdLine.jsm => layout/tools/recording/recording-cmdline.js
rename : netwerk/dns/mdns/libmdns/DNSServiceDiscovery.jsm => netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.js
rename : netwerk/protocol/http/UAOverridesBootstrapper.jsm => netwerk/protocol/http/UAOverridesBootstrapper.js
rename : netwerk/protocol/http/WellKnownOpportunisticUtils.jsm => netwerk/protocol/http/WellKnownOpportunisticUtils.js
rename : services/fxaccounts/FxAccountsPush.jsm => services/fxaccounts/FxAccountsPush.js
rename : services/settings/RemoteSettingsComponents.jsm => services/settings/RemoteSettingsComponents.js
rename : services/sync/Weave.jsm => services/sync/Weave.js
rename : toolkit/components/asyncshutdown/nsAsyncShutdown.jsm => toolkit/components/asyncshutdown/nsAsyncShutdown.js
rename : toolkit/components/backgroundhangmonitor/BHRTelemetryService.jsm => toolkit/components/backgroundhangmonitor/BHRTelemetryService.js
rename : toolkit/components/captivedetect/CaptiveDetect.jsm => toolkit/components/captivedetect/captivedetect.js
rename : toolkit/components/cleardata/ClearDataService.jsm => toolkit/components/cleardata/ClearDataService.js
rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
rename : toolkit/components/crashes/CrashService.jsm => toolkit/components/crashes/CrashService.js
rename : toolkit/components/crashmonitor/nsCrashMonitor.jsm => toolkit/components/crashmonitor/nsCrashMonitor.js
rename : toolkit/components/downloads/DownloadLegacy.jsm => toolkit/components/downloads/DownloadLegacy.js
rename : toolkit/components/gfx/SanityTest.jsm => toolkit/components/gfx/SanityTest.js
rename : toolkit/components/mozintl/mozIntl.jsm => toolkit/components/mozintl/mozIntl.js
rename : toolkit/components/mozprotocol/MozProtocolHandler.jsm => toolkit/components/mozprotocol/mozProtocolHandler.js
rename : toolkit/components/normandy/ShieldContentProcess.jsm => toolkit/components/normandy/shield-content-process.js
rename : toolkit/components/DefaultCLH.jsm => toolkit/components/nsDefaultCLH.js
rename : toolkit/components/passwordmgr/LoginInfo.jsm => toolkit/components/passwordmgr/nsLoginInfo.js
rename : toolkit/components/passwordmgr/LoginManager.jsm => toolkit/components/passwordmgr/nsLoginManager.js
rename : toolkit/components/passwordmgr/LoginManagerPrompter.jsm => toolkit/components/passwordmgr/nsLoginManagerPrompter.js
rename : toolkit/components/places/ColorAnalyzer.jsm => toolkit/components/places/ColorAnalyzer.js
rename : toolkit/components/places/PageIconProtocolHandler.jsm => toolkit/components/places/PageIconProtocolHandler.js
rename : toolkit/components/places/PlacesCategoriesStarter.jsm => toolkit/components/places/PlacesCategoriesStarter.js
rename : toolkit/components/places/UnifiedComplete.jsm => toolkit/components/places/UnifiedComplete.js
rename : toolkit/components/places/PlacesExpiration.jsm => toolkit/components/places/nsPlacesExpiration.js
rename : toolkit/components/places/TaggingService.jsm => toolkit/components/places/nsTaggingService.js
rename : toolkit/components/processsingleton/ContentProcessSingleton.jsm => toolkit/components/processsingleton/ContentProcessSingleton.js
rename : toolkit/components/processsingleton/MainProcessSingleton.jsm => toolkit/components/processsingleton/MainProcessSingleton.js
rename : toolkit/components/prompts/src/Prompter.jsm => toolkit/components/prompts/src/nsPrompter.js
rename : toolkit/components/remotebrowserutils/RemoteWebNavigation.jsm => toolkit/components/remotebrowserutils/RemoteWebNavigation.js
rename : toolkit/components/satchel/FormHistoryStartup.jsm => toolkit/components/satchel/FormHistoryStartup.js
rename : toolkit/components/satchel/FormAutoComplete.jsm => toolkit/components/satchel/nsFormAutoComplete.js
rename : toolkit/components/satchel/InputListAutoComplete.jsm => toolkit/components/satchel/nsInputListAutoComplete.js
rename : toolkit/components/search/SearchService.jsm => toolkit/components/search/nsSearchService.js
rename : toolkit/components/search/SearchSuggestions.jsm => toolkit/components/search/nsSearchSuggestions.js
rename : toolkit/components/search/Sidebar.jsm => toolkit/components/search/nsSidebar.js
rename : toolkit/components/telemetry/TelemetryStartup.jsm => toolkit/components/telemetry/TelemetryStartup.js
rename : toolkit/components/terminator/TerminatorTelemetry.jsm => toolkit/components/terminator/nsTerminatorTelemetry.js
rename : toolkit/components/thumbnails/PageThumbsStorageService.jsm => toolkit/components/thumbnails/PageThumbsStorageService.js
rename : toolkit/components/timermanager/UpdateTimerManager.jsm => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/components/tooltiptext/TooltipTextProvider.jsm => toolkit/components/tooltiptext/TooltipTextProvider.js
rename : toolkit/components/url-classifier/UrlClassifierHashCompleter.jsm => toolkit/components/url-classifier/nsUrlClassifierHashCompleter.js
rename : toolkit/components/url-classifier/UrlClassifierLib.jsm => toolkit/components/url-classifier/nsUrlClassifierLib.js
rename : toolkit/components/url-classifier/UrlClassifierListManager.jsm => toolkit/components/url-classifier/nsUrlClassifierListManager.js
rename : toolkit/components/urlformatter/URLFormatter.jsm => toolkit/components/urlformatter/nsURLFormatter.js
rename : toolkit/components/utils/SimpleServices.jsm => toolkit/components/utils/simpleServices.js
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/XULStore.js
rename : toolkit/mozapps/downloads/HelperAppDlg.jsm => toolkit/mozapps/downloads/nsHelperAppDlg.js
rename : toolkit/mozapps/extensions/amContentHandler.jsm => toolkit/mozapps/extensions/amContentHandler.js
rename : toolkit/mozapps/extensions/amInstallTrigger.jsm => toolkit/mozapps/extensions/amInstallTrigger.js
rename : toolkit/mozapps/extensions/amWebAPI.jsm => toolkit/mozapps/extensions/amWebAPI.js
rename : toolkit/mozapps/handling/ContentDispatchChooser.jsm => toolkit/mozapps/handling/nsContentDispatchChooser.js
rename : toolkit/mozapps/update/UpdateService.jsm => toolkit/mozapps/update/nsUpdateService.js
rename : toolkit/mozapps/update/UpdateServiceStub.jsm => toolkit/mozapps/update/nsUpdateServiceStub.js
rename : uriloader/exthandler/WebHandlerApp.jsm => uriloader/exthandler/nsWebHandlerApp.js
2019-02-14 11:50:23 +02:00
Kris Maglione
9ac7ac8e31
Bug 1524687 - Part 0: Fix more dodgy component mocking code. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D18395
--HG--
extra : rebase_source : 7b77e0b58bcc29d83bb389ec1fb1516375a6ebbd
2019-01-31 12:27:15 -08:00
Ryan Hunt
66a23e9a90
Bug 1500257 part 9 - Add basic tests for out-of-process iframes. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D17449
--HG--
extra : source : 335ddf6a213a17764262041f46a51605fc931276
extra : intermediate-source : 6097503e630061a02f36b68b69e41769e26c7cb2
extra : histedit_source : 2b04a93d75951494687da6b77c480979a05fe5c5
2019-01-23 11:08:40 -06:00
Marco Bonardo
12675bb16f
Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D19017
--HG--
extra : moz-landing-system : lando
2019-02-09 13:29:21 +00:00
arthur.iakab
ddeb2146e9
Backed out changeset bac51381060d (bug 1519538) for causing multiple failures on Windows CLOSED TREE
2019-02-08 19:34:20 +02:00
Marco Bonardo
c8cf4c2695
Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D19017
--HG--
extra : moz-landing-system : lando
2019-02-08 16:43:58 +00:00
Noemi Erli
c2aec081be
Backed out changeset bac51381060d (bug 1519538) for Linting failure in config.py
2019-02-08 18:32:01 +02:00
Marco Bonardo
65f6d086f4
Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D19017
--HG--
extra : moz-landing-system : lando
2019-02-08 14:10:08 +00:00
Gijs Kruitbosch
b58acd745d
Bug 1445739 - stop invalidating the startup cache when extensions change, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D18356
--HG--
extra : moz-landing-system : lando
2019-02-08 08:55:27 +00:00
Nathan Froyd
ffde3c272c
Bug 1247453 - part 2 - be more stringent in checking for live pids; r=gbrown
...
We're seeing a lot of cases where our "check for zombie child processes"
check is finding live processes, but the minidumps that we get from such
processes are nonsense, and don't even feature Firefox symbols.
The working theory at this point, courtesy of bobowen, is that child
processes that we launch are getting closed during the test runs,
completely normally, and then we are finding other (non-Firefox) live
processes with the PIDs that were used for Firefox child processes at
the end of the test run. This scenario is plausible due to Windows's
aggressive reuse of PIDs. We don't see the same behavior on our Unix
test machines because Linux (and OS X, apparently) are not nearly as
aggressive in reusing PIDs.
Since we should be ensuring that any live processes are actually Firefox
processes anyway, let's add the appropriate check. If the check works
to reduce the incidence of zombiecheck failures, that's great! If not,
we've at least made our test runner more robust and can investigate
other possibilities for these intermittent failures.
2019-02-04 11:19:35 -05:00
Geoff Brown
7c8f4e8f58
Bug 1522689 - Update command line help for several android test commands; r=bc
2019-02-01 07:18:05 -07:00
shindli
dc35f3b972
Merge mozilla-central to autoland. a=merge CLOSED TREE
...
--HG--
extra : rebase_source : 44b5c3aa6b6562ada42dd6c60e3522a8bc97993b
2019-01-31 23:51:27 +02:00
Mike Conley
fb0883e923
Bug 1522546 - Properly handle preferred remote types in BrowserTestUtils.waitForNewWindow. r=bobowen
...
This is to fix some of our tests that use BrowserTestUtils.waitForNewWindow, where
the browser that ends up being passed to it doesn't actually need to flip
remoteness.
For example, in the file:// URI case, we allow the first browse to an HTTP
URI to run within the same process. This means that the preferred remote
type is "file", despite the URI normally mapping to the "web" type of
content process.
Differential Revision: https://phabricator.services.mozilla.com/D18226
--HG--
extra : moz-landing-system : lando
2019-01-31 19:54:33 +00:00
Blake Kaplan
536c7ae38c
Bug 1517406 - Remove leftover service workers automatically. r=asuth
...
Summary:
Currently, if a test fails to clean up a service worker, we report every test
that runs after it as having failed to clean up their service workers as well.
That fills up the logs and makes it harder to figure out what's going on. This
patch removes the left-over service workers automatically, reducing the log
output and pointing the finger more precisely to the failing test.
I believe this patch is correct because afterCleanup is responsible for
continuing the test run by calling a function (either
`parentRunner.testFinished` or `SimpleTest.showReport`). Therefore, we can
safely make it async and wait if we need to clean up after a poorly-written
test.
Reviewers: asuth
Reviewed By: asuth
Bug #: 1517406
Differential Revision: https://phabricator.services.mozilla.com/D15638
--HG--
extra : rebase_source : 6ff8033ab2ea291a57ae717d03575feed5820899
2019-01-29 15:41:25 -05:00
Blake Kaplan
595db9a8ba
Bug 1517406 - Enable most of these tests now that they pass. r=asuth
...
Summary:
Most of these tests pass now, so enable them and only disable the tests that
don't pass. This should make driving these tests to all passing easier to do
and prevent regressions.
Reviewers: asuth
Reviewed By: asuth
Bug #: 1517406
Differential Revision: https://phabricator.services.mozilla.com/D15636
--HG--
extra : rebase_source : 252502cb5d8d43fd8a2e7b50a97ea4d64e2ef07d
2019-01-29 15:41:08 -05:00
Myk Melez
25349d2601
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
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
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
Julian Descottes
260b1e16a3
Bug 1467712 - Fail if SimpleTest ok() is called with more than 2 arguments;r=Standard8
...
Depends on D10417
Differential Revision: https://phabricator.services.mozilla.com/D10418
--HG--
extra : moz-landing-system : lando
2018-11-01 13:50:27 +00:00
Julian Descottes
079a123093
Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D10416
--HG--
extra : moz-landing-system : lando
2018-11-01 13:48:48 +00:00
Csoregi Natalia
faba2c8c15
Backed out 4 changesets (bug 1467712) for multiple failures with: Too many arguments passed to ok. CLOSED TREE
...
Backed out changeset 9ce0ac2b9d71 (bug 1467712)
Backed out changeset 026eb1f6dc6e (bug 1467712)
Backed out changeset 0088a09d869a (bug 1467712)
Backed out changeset 1b19ea76aad6 (bug 1467712)
2018-11-01 15:22:52 +02:00
Julian Descottes
8e101fd73a
Bug 1467712 - Fail if SimpleTest ok() is called with more than 2 arguments;r=Standard8
...
Depends on D10417
Differential Revision: https://phabricator.services.mozilla.com/D10418
--HG--
extra : moz-landing-system : lando
2018-11-01 11:12:37 +00:00
Julian Descottes
b50a5ba4dc
Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D10416
--HG--
extra : moz-landing-system : lando
2018-11-01 11:09:48 +00:00
Gurzau Raul
424b125b93
Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout
2018-11-01 15:27:30 +02:00