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

1284 Коммитов

Автор SHA1 Сообщение Дата
Boris Chiou 06a4323ee0 Bug 1246764 - Part 5: Tests. r=jwatt
Add some chrome-only reftests.

Differential Revision: https://phabricator.services.mozilla.com/D3637
2018-08-24 11:37:58 -07:00
Kris Maglione 3a5c05e76f Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3733

--HG--
extra : rebase_source : c0fac176d7b3d840c4dbb14f8d95ccfc7f83a5a8
extra : histedit_source : a92c40117d0808a3ad68c972f622a7a42c9ae8ba
2018-08-18 18:13:14 -07:00
L. David Baron d18f22d0cc Bug 1369941 - Provide more advice about how to write fuzzy() annotations on reftests. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D3940

--HG--
extra : moz-landing-system : lando
2018-08-22 02:14:06 +00:00
L. David Baron a9494a1ce5 Bug 1369941 - Remove ability to specify fuzzy()/fuzzy-if() in reftest manifests without ranges. r=dholbert
I'm removing this no-longer-used feature because it promotes a behavior
(using the default 0 minimum) that means we never see reports of
unexpected passes when the bugs are fixed, and thus aren't protected
from the bugs regressing again.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 02:14:03 +00:00
Bob Clary 9456060271 Bug 1482893 - Enable unstructured logging before calling adb in reftests, r=gbrown. 2018-08-18 10:47:12 -07:00
Bob Clary 07865d3126 Bug 1482882 - Remove redundant definition of copyExtraFilesToProfile in remotereftest.py, r=gbrown. 2018-08-18 10:47:12 -07:00
Andreas Tolfsen 719b4c5e30 Bug 1482829 - Track Marionette logger verbosity with Log#manageLevelFromPref. r=whimboo
This patch adopts Logger#managerLevelFromPref from Log.jsm to set
and keep track of the Marionette logger's verbosity.

This has the advantage that we do not have to roll separate
implementations of Log for the child- and parent processes.  It also
has the upside that the log level will be reflected when changed
at runtime through the use of an observer.
2018-08-17 12:55:33 +01:00
Jeremy Lempereur 96d35f35bd Bug 1471708 - Rename the "scroll-position clamping scroll port size" to "visual viewport size". r=botond
MozReview-Commit-ID: IWPzXSF5jfR

--HG--
extra : rebase_source : f67d64ef18a643077d5019048399e68acc722337
2018-07-22 21:49:38 +02:00
Cosmin Sabou 7cf1ac297e Backed out changeset 542243f5f600 (bug 1471708) for failling reftest on gfx/layers/apz/test/reftest/async-scrollbar-1. 2018-08-05 07:57:50 +03:00
Jeremy Lempereur e591a6945a Bug 1471708 - Rename the "scroll-position clamping scroll port size" to "visual viewport size". r=botond
MozReview-Commit-ID: IWPzXSF5jfR

--HG--
extra : rebase_source : 9d13a680ebf76a5f86c9040a5a16981514435dc8
2018-07-22 21:49:38 +02:00
Boris Zbarsky d4993da381 Bug 1476142 part 4. Remove some unnecessary QIs on window in various parts of the tree. r=kmag
The crashtest was not testing anything useful, because getInterface is no longer exposed to web content.
2018-08-02 15:26:48 -04:00
Chris AtLee 182e3f8445 Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743

--HG--
extra : moz-landing-system : lando
2018-08-01 16:00:03 +00:00
Kris Maglione 031076f2f3 Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : source : fcfb99baa0f0fb60a7c420a712c6ae7c72576871
extra : histedit_source : 5be9b7b29a52a4b8376ee0bdfc5c08b12e3c775a
2018-05-21 16:58:23 -07:00
Kris Maglione 02ba563399 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : source : 0d69b4fb1ed43751cfcbc0b4f2fe3b6a49bc0494
extra : histedit_source : d0ce31513ffaae2fd7f01f6567a97b6d2d96b797%2Cfff837de7a00fa90809d2c3e755097180dfd56d8
2018-05-20 18:10:16 -07:00
Narcis Beleuzu 561ccb2ceb Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione cb1ee1e34d Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6
2018-05-21 16:58:23 -07:00
Kris Maglione 636f1839e5 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : rebase_source : 36565ef5e74360aad14062005e5bdab2939e888b
2018-05-20 18:10:16 -07:00
Bob Clary 745c5ff6c2 Bug 1477807 - Distinguish ADBTimeoutErrors from other exceptions in Android remote tests, r=gbrown. 2018-07-27 08:27:16 -07:00
Andrew Halberstadt 15c53b6d46 Bug 1468812 - [ci] Support MOZ_FETCHES and fetch-content in run-task r=gps
This removes the 'use-artifacts' mechanism in favour of fetches. There are a
few pieces here that need to land atomically:

1. Remove use-artifact related code
2. Call 'fetch-content' from the run-task script
3. Convert existing tasks on top of fetches (jsshell, python unittest)
4. Stop calling 'fetch-content' from toolchain setup tasks (as this now gets handled in run-task)

Depends on D2166.

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

--HG--
extra : moz-landing-system : lando
2018-07-26 17:13:39 +00:00
Sebastian Hengst 943a6cf31a Backed out changeset 61f33f8c8750 (bug 1468812) for Linux ccov mass failures (bug 1478211). a=backout 2018-07-25 18:05:09 +03:00
Boris Zbarsky 75abc43e0d Bug 1476145 part 8. Stop using getInterface(nsIDOMWindowUtils) in various test code. r=kmag 2018-07-24 19:47:43 -04:00
Andrew Halberstadt a3174ac509 Bug 1468812 - [ci] Support MOZ_FETCHES and fetch-content in run-task r=gps
This removes the 'use-artifacts' mechanism in favour of fetches. There are a
few pieces here that need to land atomically:

1. Remove use-artifact related code
2. Call 'fetch-content' from the run-task script
3. Convert existing tasks on top of fetches (jsshell, python unittest)
4. Stop calling 'fetch-content' from toolchain setup tasks (as this now gets handled in run-task)

Depends on D2166.

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

--HG--
extra : moz-landing-system : lando
2018-07-24 13:11:25 +00:00
Bharat Raghunathan ed18aadb0f Bug 1476135 - Remove unused FileUtils.jsm import from layout/tools/reftest/bootstrap.js r=marco
MozReview-Commit-ID: HbvvS4xY8TN

--HG--
extra : rebase_source : eeef72c3f8c15447d760b26a103ae1ca16c4610e
2018-07-18 22:22:33 +05:30
Marco Castelluccio b4d232663f Bug 1471575 - Reset/dump gcov counters before/after reftest tests. r=sparky
--HG--
extra : rebase_source : 2c8175ef472caf72c3216d4e12301f6eab03f20b
2018-07-17 10:07:50 +02:00
Emilio Cobos Álvarez b7c5c14e27 Bug 1474877: Fix mach reftest --repeat N. r=jmaher
We need to call ReadTests because otherwise we wouldn't recompute `g.urls`.

Similarly, we don't want to throw when there are no remaining reftests, since we
handle that case properly.

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

--HG--
extra : moz-landing-system : lando
2018-07-12 09:06:28 +00:00
Bogdan Tara 6eafe1c00b Backed out changeset 9c75cab2e322 (bug 733530) for breaking artifact builds 2018-07-04 14:50:22 +03:00
Chris AtLee 8745339529 Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743

--HG--
extra : moz-landing-system : lando
2018-07-03 18:33:02 +00:00
Andrew Halberstadt 9435736ade Bug 1471620 - Skip python-tests locally that don't run with python 3 in CI r=davehunt
This will make sure that when running |mach python-test --python 3| locally,
we only run the tests that also run in CI with python 3 (and therefore pass
presumably).

MozReview-Commit-ID: 3OBr9yLSlSq

--HG--
extra : rebase_source : 456340d0ecdddf1078f2b5b4ebb1eddf3813b26a
2018-06-27 11:10:02 -04:00
Steve Fink c4fedd185f Bug 1468677 - [reftest] remove dummy reftest.manifests entry used for global filter, r=ahal
--HG--
extra : topic : gcstats.thresh
extra : rebase_source : 3412664711287a0862bdc4d0c3323367f650c624
2018-06-13 21:28:26 -07:00
shindli 47e680690d Merge inbound to mozilla-central. a=merge 2018-06-19 00:40:13 +03:00
Geoff Brown d89dd9593e Bug 1416125 - Prevent intermittent timeouts during reftest manifest parsing; r=ahal
Periodic debug logging avoids no-output timeouts during manifest parsing on
slow platforms (Android/debug emulator).
2018-06-18 06:47:29 -06:00
Joel Maher 894c3e47af Bug 1468771 - fix reftest manifest parsing to support test cases with ? in the name. r=ahal
Reftest manifest parsing fails to recognize individual tests with ? in the name.  We missed this as in aou

Tes Plan:

Differential Revision: https://phabricator.services.mozilla.com/D1667
2018-06-18 13:46:27 +00:00
Kartikaya Gupta 1fb51dfb2b Bug 1461311 - Undo reftest/harness changes from bug 1437036 as they are not needed any more. r=hiro
MozReview-Commit-ID: 3YvyZPNOCzF

--HG--
extra : rebase_source : f49e09dda2924b99dbf6b63a958086b934e23523
2018-06-07 08:23:17 -04:00
Emilio Cobos Álvarez 774cb3e39f Bug 1465107: Remove stylo from the reftest manifest parser. r=xidorn
MozReview-Commit-ID: BiZcNvrXBAJ
2018-05-30 10:04:04 +02:00
Chris AtLee 6ced44821e Bug 1237182: Fix python unitests r=bustage on a CLOSED TREE
--HG--
extra : rebase_source : 1e118ab5aed8251dfff28f6c3c4f885e1de24a04
extra : histedit_source : 635a7aa2a4fb47ff1b3b28f0ce099948d6f1101a
2018-05-25 13:42:58 -04:00
Csoregi Natalia acd92af57e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-23 01:02:30 +03:00
Kris Maglione 6b12d08f7d Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
MozReview-Commit-ID: Iv4T1MVAF5

--HG--
extra : rebase_source : 1c518883d082884db7f9323a5acc20361228c26b
extra : histedit_source : 70a73c23d1199d3bfbb5379c78930401166c094b
2018-05-19 20:17:45 -07:00
Joel Maher 5b3afd93d3 backout 3 patches (1ee5b2531836, cac593a84f72, 95ccdb87f63f) from bug 1392106 for not fixing font rendering problems.
--HG--
extra : rebase_source : 30b2aa771eeaa978a8e3af18009f22562d764831
2018-05-18 06:40:00 +03:00
Dorel Luca 9769f2300a Merge mozilla-inbound to mozilla-central. a=merge 2018-05-18 12:56:07 +03:00
Andrew Halberstadt 57cafcba8c Bug 1460912 - [reftest] Use base profiles in reftest r=gbrown
This moves reftest-preferences.js to:
testing/profiles/reftest/user.js

Developers can also now add extensions to:
testing/profiles/reftest/extensions

MozReview-Commit-ID: IVLsT5MWtcJ

--HG--
rename : layout/tools/reftest/reftest-preferences.js => testing/profiles/reftest/user.js
extra : rebase_source : 1725627d439998d92545e0d4693fbb76a266945f
2018-05-07 16:10:29 -04:00
Geoff Brown 02e2a58e26 Bug 1462182 - Dump less device info during Android test-verify; r=jmaher 2018-05-17 16:19:02 -06:00
Kartikaya Gupta 849bc9d409 Bug 1437036 - Stop the reftest harness from waiting for MozAfterPaint during infinite/superlong animations. r=hiro
These tests rely on an optimization within Gecko where it stops firing
MozAfterPaint events if there was no visible change to the generated
layers. This allows the reftest harness to exit the
waiting-for-MozAfterPaint loop and proceed with the test. However, with
webrender, this optimization does not exist and so the loop never exits.
In order to solve this problem, this patch adds an explicit mechanism to
exit the loop by means of a class attribute on the root element of the
test page.

MozReview-Commit-ID: 17ta5kLPDr9

--HG--
extra : rebase_source : 96ea462274724c6c65f1186f473bc1767253fd6b
2018-05-14 08:53:52 -04:00
Andrew Halberstadt 4296f8c8f5 Bug 1461980 - [taskgraph] Use run-task's 'use-artifacts' key to setup artifacts in mochitest and reftest selftests, r=dustin
Instead of downloading the build artifacts (rather hackily) in moztest.fixtures, this now happens
directly in the taskgraph module via the run-task script.

For now extraction and setup happens in the task's command key. It might be a good idea to figure
out a syntax to tell run-task to do this extraction, e.g something like:

run:
    using-artifacts:
        build:
            target.tar.bz2:
                extract: true
                path: /home/worker/build
                name: firefox

But for now I wanted to avoid this extra complexity, so maybe it could be done in a follow-up.

MozReview-Commit-ID: KOhFFpFdP7Y

--HG--
extra : rebase_source : dcea36661fa9c6442c76c850ccc67f8f6d924fda
2018-05-18 08:22:36 -04:00
Joel Maher 04ca7ca5ef Bug 1392106 - add a --run-slow mode to reftest to add extra time for win7 font rendering. r=ahal 2018-04-12 13:30:17 -04:00
Joel Maher 91721cfdc5 Bug 1455316 - sometimes when test-verify finds a failure, all future tests are marked as failing also. r=gbrown 2018-05-01 14:04:24 -04:00
Andreea Pavel 959a710440 Backed out changeset afbec9a6802c (bug 1455316) for breaking sy jobs 2018-05-02 23:46:23 +03:00
Joel Maher 08e964fd73 Bug 1455316 - sometimes when test-verify finds a failure, all future tests are marked as failing also. r=gbrown 2018-05-01 14:04:24 -04:00
Chris Manchester 22900f8fb9 Bug 1372381 - Generate automation.py with GENERATED_FILES rather than Makefile.in r=mshal
This commit also removes "DEFAULT_APP", which is unused.

MozReview-Commit-ID: 5YYaC5LJqUn

--HG--
extra : rebase_source : 45f0f8f11698890fae0dcca71174f88dbdb412c8
2018-04-30 11:08:59 -07:00
arthur.iakab 5bf85a2548 Backed out 4 changesets (bug 1372381) for artifact build bustages
Backed out changeset 56c7ffeaa9fd (bug 1372381)
Backed out changeset 4e0f7fe818d0 (bug 1372381)
Backed out changeset 92a96d6b599b (bug 1372381)
Backed out changeset 620bdfafd42f (bug 1372381)

--HG--
extra : rebase_source : f3f465077a9a4198c88caf8977a02b384ccbef01
2018-05-01 01:39:08 +03:00
Chris Manchester d0a6e686c9 Bug 1372381 - Generate automation.py with GENERATED_FILES rather than Makefile.in r=mshal
This commit also removes "DEFAULT_APP", which is unused.

MozReview-Commit-ID: 5YYaC5LJqUn

--HG--
extra : rebase_source : 11a5264758ab3b2d8faef1e50a666981988457f2
2018-04-30 11:08:59 -07:00