Commit Graph

1572 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
8918ef8375 Bug 1486399 - Teach the layout debugger about relative URIs. r=mats
It always bites me when I want to load a standalone test-case in there.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 15:35:56 +00:00
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
Ian Moody
4a3f7af1ea Bug 1467541 - Add a test for opening the layout debugger. r=dbaron
Summary:

Reviewers: dbaron

Reviewed By: dbaron

Bug #: 1467541

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

--HG--
extra : histedit_source : b23b7f9a8407bf460838d56f5d66bcf6fb347cc2
2018-08-09 10:53:01 +03:00
Ian Moody
dde3d69565 Bug 1467541 - Remove dead layout debug files. r=dbaron
Summary: No longer used since it stopped being built as an extension.

Reviewers: dbaron

Reviewed By: dbaron

Bug #: 1467541

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

--HG--
extra : histedit_source : a75301c90c962ce870b3c28dd0a79339ba81aa5d
2018-08-09 10:52:54 +03: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
Cameron McCormack
435a9bb766 Bug 1477897 - Fix layout debugger styling. r=bgrins,Gijs
MozReview-Commit-ID: GTEPR04HQ49

--HG--
extra : rebase_source : 705f0ebbfae24dd3a414cff0cf3f751975041dca
2018-07-24 14:32:33 +10: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
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Geoff Brown
ca43a015dc Bug 1454404 - Pass adb path from Android mach commands to test harnesses; r=jmaher 2018-04-16 14:05:32 -06:00
Kris Maglione
44ae2b5cde Bug 1420908: Remove telemetry experiments. r=gfritzsche
MozReview-Commit-ID: 6KEEZ6nKXrU

--HG--
extra : rebase_source : aeb2f66e7ffdba6ac438aaa3fee69b133d2fa2fd
extra : histedit_source : 15eaed2f9013357732660f8b63c28af13abbd870
2018-04-03 15:17:13 -07:00
Dão Gottwald
8b23aaae8b Bug 1453281 - Remove obsolete menubar binding and styling. r=bgrins,Paolo
MozReview-Commit-ID: Kao3jst0DBJ

--HG--
extra : rebase_source : bed74abc9910ec22295207fdced37f6bfc1648be
2018-04-11 17:29:27 +02:00
Ciure Andrei
3f4a118829 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-11 12:00:35 +03:00
Bob Clary
cc77040a96 Bug 1440714 - make sure to use root=True with chmod /sdcard/tests/, r=gbrown. 2018-04-10 23:12:28 -07:00
Coroiu Cristina
c22c3be855 Merge inbound to mozilla-central a=merge 2018-04-11 00:56:08 +03:00
Geoff Brown
e947c0c1e9 Bug 1452956 - Use newlines when dumping Android logcat to test log; r=jmaher 2018-04-10 13:26:08 -06:00
Henrik Skupin
71a6b2d154 Bug 1452913 - Prevent hang of reftests when reading test objects list fails. r=gbrown
For the promise as returned by "OS.File.read()" the catch handler
is missing, and as such the tests will never be started when
the call to "read()" triggers an exception. It also results in
a hang of the reftest harness.

To prevent this, the failure has to be handled and appropriately
reported.

MozReview-Commit-ID: IX9thgjjahS

--HG--
extra : rebase_source : 963cd0aeb593b7627603566d1ad08d5e0863142f
2018-04-10 14:20:02 +02:00
arthur.iakab
8fe9a4d75a Merge mozilla-central to autoland 2018-04-11 01:12:49 +03:00
Henrik Skupin
68abd19c16 Bug 1452957 - reftests should support preferences with Unicode strings. r=gbrown
Switching from {get|set}CharPref to {get|set}StringPref allows
the reftest extension to also support preferences with Unicode
strings.

MozReview-Commit-ID: FUBjhmr0VIS

--HG--
extra : rebase_source : 53e1a020f8e2875c35ce1dfc06aff41ea18ce127
2018-04-10 16:45:14 +02:00
Andrew Halberstadt
2ce99e8054 Backout hunk from a9c5a53970bf (bug 1451384) which accidentally turned off reftest run-by-manifest, r=me 2018-04-06 11:30:07 -04:00
Geoff Brown
146ff5998a Bug 1440714 - Convert Android mach commands to adb.py; r=bc 2018-04-05 12:50:29 -06:00
Matt Woodrow
bbc9200a88 Bug 1451384 - Check IsChanged on the old item during merging, since that's the one that might have a deleted frame. r=mstange
This happens when an nsIFrame* that builds an nsDisplayWrapList is deleted, but then the memory is immediately reused for another frame that builds the same type display item, within the same display list.

PreProcessDisplayLists chooses not to descend into the nsDisplayWrapList for the deleted frame, and so mOldItems remains uninitialized for the old sublist.
When adding the new instance, IsChanged returns false, since the pointers are the same, and we're checking HasDeletedFrame on the new instance (where it's never true), instead of the old. We then recurse into MergeDisplayLists, with an uninitialized mOldItems array, and crash.

I haven't added a test because I haven't yet figured out how to create a minimal testcase, and the test would rely on implementation details of the frame allocator to remain unchanged to be useful.

MozReview-Commit-ID: pHimEvfAND

--HG--
extra : rebase_source : 10baa8cabf1eca8d592f2be0eb7bc7c9461f9785
2018-04-05 12:20:32 +12:00
Hiroyuki Ikezoe
1c7db68b8d Bug 1447874 - Use flushLayoutWithoutThrottledAnimations in the state of STATE_WAITING_TO_FIRE_INVALIDATE_EVENT. r=birtles,kats
In the state of STATE_WAITING_TO_FIRE_INVALIDATE_EVENT, we flush all pending
styles and layout and wait for a MozAfterPaint that caused by the flush.  This
will be repeated until neither pending styles nor layout exists.  But if there
is any throttled animation, flush for the throttled animation might
cause a new MozAfterPaint.  That means that we will get stuck until the
throttled animation finished.

In this patch, to avoid this situation, we don't flush throttled animations in
the state of STATE_WAITING_TO_FIRE_INVALIDATE_EVENT.

MozReview-Commit-ID: LUz279w3Yoj

--HG--
extra : rebase_source : 9a1f0fa791645d46c3105c1ba56a2cf5914ffa9d
2018-04-02 18:01:41 +09:00
Geoff Brown
cf1401dff9 Bug 1448697 - Try to use force-stop instead of kill to end remote applications; r=bc
This is important for running browser tests on some non-privileged devices, where
kill may not be permitted.
2018-03-26 12:21:46 -06:00
Geoff Brown
6083932cff Bug 1440714 - Convert Android browser test harnesses to adb.py; r=bc
This affects Android robocop, mochitest (all flavors) and reftests (all flavors).
2018-03-23 18:06:27 -06:00
Timothy Guan-tin Chien
dd06be3f36 Bug 1446157 - Follow-up, Remove unused grippyhidden="true" attribute from Layout Debugger r=dbaron
MozReview-Commit-ID: 6Kbn7oB7svH

--HG--
extra : rebase_source : 6c5141c437389e2ff9802c10488d2d2ffc5ad850
2018-03-20 17:29:44 +08:00
Emilio Cobos Álvarez
e341b20ec4 Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez
5dd797f154 Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.

MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez
ca5ac79cca Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
Andreea Pavel
62b7a93603 Backed out 3 changesets (bug 1446157) for browser chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE
Backed out changeset 2491f8caeffa (bug 1446157)
Backed out changeset be65061c2d72 (bug 1446157)
Backed out changeset de560a993de1 (bug 1446157)
2018-03-22 18:49:31 +02:00
Timothy Guan-tin Chien
67c91ad718 Bug 1446157 - Follow-up, Remove unused grippyhidden="true" attribute from Layout Debugger r=dbaron
MozReview-Commit-ID: 6Kbn7oB7svH

--HG--
extra : rebase_source : c5b9e38f0db5f9cb10c5db7df954fd1059c02f8e
2018-03-20 17:29:44 +08:00
Emilio Cobos Álvarez
24cf27d33c Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 19:13:26 +01:00
Csoregi Natalia
d6c6d38406 Backed out 4 changesets (bug 1447611) for mass failures due to --enable-stylo removal. CLOSED TREE
Backed out changeset c6193142bbcf (bug 1447611)
Backed out changeset 01ada1c5a95f (bug 1447611)
Backed out changeset 86c9fed44da2 (bug 1447611)
Backed out changeset bb84ac6e1468 (bug 1447611)
2018-03-21 19:01:07 +02:00
Emilio Cobos Álvarez
330ddd82bf Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 17:24:41 +01:00
Emilio Cobos Álvarez
f20aea0edf Bug 1446954: Remove support for styloVsGecko reftests. r=xidorn
MozReview-Commit-ID: Ft2DyjdC04l
2018-03-20 11:29:47 +01:00
Emilio Cobos Álvarez
e9676561ce Bug 1446954: Remove support for running tests on automation without stylo configurations. r=froydnj
You can still run them on a --disable-stylo build, as long as that works
(presumably not for long).

I think I haven't missed anything, but please double-check.

MozReview-Commit-ID: 3BIAEjgTLo5
2018-03-20 11:29:08 +01:00
Bogdan Tara
7eb4cdd58d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-17 12:34:09 +02:00
Hiroyuki Ikezoe
b630dc38b3 Bug 1442063 - Don't call FlushRendering() after we reached the state of STATE_WAITING_TO_FINISH. r=dbaron
Once we reached the state of STATE_WAITING_TO_FINISH, we just need to wait for
the final MozAfterPaint which is corresponding to flushRendering() after
"reftest-wait" removal.

MozReview-Commit-ID: EJxDYUnqbmr

--HG--
extra : rebase_source : fdb5c30142def4c0138bc6af2c510d85f30ed7f3
2018-03-09 15:16:52 +09:00
Dão Gottwald
487924b63b Bug 1446414 - Remove underutilized browser.homePage and browser.goHome. r=enn 2018-03-16 16:31:59 +01:00
Kris Maglione
3bff085af2 Bug 1445551: Part 2 - Remove multiprocessCompatible flag. r=aswan
We no longer support legacy extensions with e10s shims, and the only remaining
uses that matter are in-tree test harnesses, which have been fixed. This flag
no longer serves a purpose.

MozReview-Commit-ID: EdCNqF4MttN

--HG--
extra : rebase_source : 0fef334354faa7541628614cb964a29faaa9df41
2018-03-13 19:02:42 -07:00
Geoff Brown
1ca8ea6a02 Bug 1443177 - Support 'verify' in reftest sandbox; r=jmaher 2018-03-05 14:39:53 -07:00
Geoff Brown
a3f200f8ab Bug 1442727 - Use symbols path correctly for Android reftests; r=jmaher 2018-03-05 08:33:51 -07:00
Mike Cooper
466bc9466e Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
MozReview-Commit-ID: 8i9Jrq8rj3W

--HG--
extra : rebase_source : 9fb6772a231d214659d024348a52997c74dd5523
extra : amend_source : 312164e67feb3ac43b6b760cad73a2ff6e1f601a
extra : source : 8ccf1c3f156f19293c8a692585a663c5f685d195
2018-03-02 11:18:59 -08:00
Gijs Kruitbosch
8fc45f6ac9 Bug 1370930 - remove DirectoryLinksProvider, r=Mardak
MozReview-Commit-ID: 4YcsNvRg7Hn

--HG--
extra : rebase_source : 15518736c9cc52cf18a0540417e6a38c9bed630a
2018-03-01 16:53:49 +00:00
Narcis Beleuzu
d970361c95 Backed out 2 changesets (bug 1436113) for bc failures on browser_about_studies.js
Backed out changeset 8ccf1c3f156f (bug 1436113)
Backed out changeset 18a7f08a6cdc (bug 1436113)

--HG--
rename : toolkit/components/normandy/content/AboutPages.jsm => browser/extensions/shield-recipe-client/content/AboutPages.jsm
rename : toolkit/components/normandy/content/about-studies/about-studies.css => browser/extensions/shield-recipe-client/content/about-studies/about-studies.css
rename : toolkit/components/normandy/content/about-studies/about-studies.html => browser/extensions/shield-recipe-client/content/about-studies/about-studies.html
rename : toolkit/components/normandy/content/about-studies/about-studies.js => browser/extensions/shield-recipe-client/content/about-studies/about-studies.js
rename : toolkit/components/normandy/content/about-studies/common.js => browser/extensions/shield-recipe-client/content/about-studies/common.js
rename : toolkit/components/normandy/content/about-studies/img/shield-logo.png => browser/extensions/shield-recipe-client/content/about-studies/img/shield-logo.png
rename : toolkit/components/normandy/content/about-studies/shield-studies.js => browser/extensions/shield-recipe-client/content/about-studies/shield-studies.js
rename : toolkit/components/normandy/content/shield-content-frame.js => browser/extensions/shield-recipe-client/content/shield-content-frame.js
rename : toolkit/components/normandy/content/shield-content-process.js => browser/extensions/shield-recipe-client/content/shield-content-process.js
rename : toolkit/components/normandy/docs/data-collection.rst => browser/extensions/shield-recipe-client/docs/data-collection.rst
rename : toolkit/components/normandy/docs/index.rst => browser/extensions/shield-recipe-client/docs/index.rst
rename : toolkit/components/normandy/jar.mn => browser/extensions/shield-recipe-client/jar.mn
rename : toolkit/components/normandy/lib/ActionSandboxManager.jsm => browser/extensions/shield-recipe-client/lib/ActionSandboxManager.jsm
rename : toolkit/components/normandy/lib/AddonStudies.jsm => browser/extensions/shield-recipe-client/lib/AddonStudies.jsm
rename : toolkit/components/normandy/lib/Addons.jsm => browser/extensions/shield-recipe-client/lib/Addons.jsm
rename : toolkit/components/normandy/lib/CleanupManager.jsm => browser/extensions/shield-recipe-client/lib/CleanupManager.jsm
rename : toolkit/components/normandy/lib/ClientEnvironment.jsm => browser/extensions/shield-recipe-client/lib/ClientEnvironment.jsm
rename : toolkit/components/normandy/lib/EventEmitter.jsm => browser/extensions/shield-recipe-client/lib/EventEmitter.jsm
rename : toolkit/components/normandy/lib/FilterExpressions.jsm => browser/extensions/shield-recipe-client/lib/FilterExpressions.jsm
rename : toolkit/components/normandy/lib/Heartbeat.jsm => browser/extensions/shield-recipe-client/lib/Heartbeat.jsm
rename : toolkit/components/normandy/lib/LogManager.jsm => browser/extensions/shield-recipe-client/lib/LogManager.jsm
rename : toolkit/components/normandy/lib/NormandyApi.jsm => browser/extensions/shield-recipe-client/lib/NormandyApi.jsm
rename : toolkit/components/normandy/lib/NormandyDriver.jsm => browser/extensions/shield-recipe-client/lib/NormandyDriver.jsm
rename : toolkit/components/normandy/lib/PreferenceExperiments.jsm => browser/extensions/shield-recipe-client/lib/PreferenceExperiments.jsm
rename : toolkit/components/normandy/lib/PreferenceFilters.jsm => browser/extensions/shield-recipe-client/lib/PreferenceFilters.jsm
rename : toolkit/components/normandy/lib/RecipeRunner.jsm => browser/extensions/shield-recipe-client/lib/RecipeRunner.jsm
rename : toolkit/components/normandy/lib/Sampling.jsm => browser/extensions/shield-recipe-client/lib/Sampling.jsm
rename : toolkit/components/normandy/lib/SandboxManager.jsm => browser/extensions/shield-recipe-client/lib/SandboxManager.jsm
rename : toolkit/components/normandy/lib/ShieldPreferences.jsm => browser/extensions/shield-recipe-client/lib/ShieldPreferences.jsm
rename : toolkit/components/normandy/lib/Storage.jsm => browser/extensions/shield-recipe-client/lib/Storage.jsm
rename : toolkit/components/normandy/lib/TelemetryEvents.jsm => browser/extensions/shield-recipe-client/lib/TelemetryEvents.jsm
rename : toolkit/components/normandy/lib/Uptake.jsm => browser/extensions/shield-recipe-client/lib/Uptake.jsm
rename : toolkit/components/normandy/lib/Utils.jsm => browser/extensions/shield-recipe-client/lib/Utils.jsm
rename : toolkit/components/normandy/moz.build => browser/extensions/shield-recipe-client/moz.build
rename : toolkit/components/normandy/skin/osx/Heartbeat.css => browser/extensions/shield-recipe-client/skin/osx/Heartbeat.css
rename : toolkit/components/normandy/skin/shared/Heartbeat.css => browser/extensions/shield-recipe-client/skin/shared/Heartbeat.css
rename : toolkit/components/normandy/skin/shared/heartbeat-icon.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-icon.svg
rename : toolkit/components/normandy/skin/shared/heartbeat-star-lit.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-star-lit.svg
rename : toolkit/components/normandy/skin/shared/heartbeat-star-off.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-star-off.svg
rename : toolkit/components/normandy/test/.eslintrc.js => browser/extensions/shield-recipe-client/test/.eslintrc.js
rename : toolkit/components/normandy/test/browser/.eslintrc.js => browser/extensions/shield-recipe-client/test/browser/.eslintrc.js
rename : toolkit/components/normandy/test/browser/action_server.sjs => browser/extensions/shield-recipe-client/test/browser/action_server.sjs
rename : toolkit/components/normandy/test/browser/browser.ini => browser/extensions/shield-recipe-client/test/browser/browser.ini
rename : toolkit/components/normandy/test/browser/browser_ActionSandboxManager.js => browser/extensions/shield-recipe-client/test/browser/browser_ActionSandboxManager.js
rename : toolkit/components/normandy/test/browser/browser_AddonStudies.js => browser/extensions/shield-recipe-client/test/browser/browser_AddonStudies.js
rename : toolkit/components/normandy/test/browser/browser_Addons.js => browser/extensions/shield-recipe-client/test/browser/browser_Addons.js
rename : toolkit/components/normandy/test/browser/browser_CleanupManager.js => browser/extensions/shield-recipe-client/test/browser/browser_CleanupManager.js
rename : toolkit/components/normandy/test/browser/browser_ClientEnvironment.js => browser/extensions/shield-recipe-client/test/browser/browser_ClientEnvironment.js
rename : toolkit/components/normandy/test/browser/browser_EventEmitter.js => browser/extensions/shield-recipe-client/test/browser/browser_EventEmitter.js
rename : toolkit/components/normandy/test/browser/browser_FilterExpressions.js => browser/extensions/shield-recipe-client/test/browser/browser_FilterExpressions.js
rename : toolkit/components/normandy/test/browser/browser_Heartbeat.js => browser/extensions/shield-recipe-client/test/browser/browser_Heartbeat.js
rename : toolkit/components/normandy/test/browser/browser_LogManager.js => browser/extensions/shield-recipe-client/test/browser/browser_LogManager.js
rename : toolkit/components/normandy/test/browser/browser_NormandyDriver.js => browser/extensions/shield-recipe-client/test/browser/browser_NormandyDriver.js
rename : toolkit/components/normandy/test/browser/browser_PreferenceExperiments.js => browser/extensions/shield-recipe-client/test/browser/browser_PreferenceExperiments.js
rename : toolkit/components/normandy/test/browser/browser_RecipeRunner.js => browser/extensions/shield-recipe-client/test/browser/browser_RecipeRunner.js
rename : toolkit/components/normandy/test/browser/browser_ShieldPreferences.js => browser/extensions/shield-recipe-client/test/browser/browser_ShieldPreferences.js
rename : toolkit/components/normandy/test/browser/browser_Storage.js => browser/extensions/shield-recipe-client/test/browser/browser_Storage.js
rename : toolkit/components/normandy/test/browser/browser_about_preferences.js => browser/extensions/shield-recipe-client/test/browser/browser_about_preferences.js
rename : toolkit/components/normandy/test/browser/browser_about_studies.js => browser/extensions/shield-recipe-client/test/browser/browser_about_studies.js
rename : toolkit/components/normandy/test/browser/browser_Normandy.js => browser/extensions/shield-recipe-client/test/browser/browser_bootstrap.js
rename : toolkit/components/normandy/test/browser/fixtures/addon-fixture/manifest.json => browser/extensions/shield-recipe-client/test/browser/fixtures/addon-fixture/manifest.json
rename : toolkit/components/normandy/test/browser/fixtures/normandy.xpi => browser/extensions/shield-recipe-client/test/browser/fixtures/normandy.xpi
rename : toolkit/components/normandy/test/browser/head.js => browser/extensions/shield-recipe-client/test/browser/head.js
rename : toolkit/components/normandy/test/unit/.eslintrc.js => browser/extensions/shield-recipe-client/test/unit/.eslintrc.js
rename : toolkit/components/normandy/test/unit/echo_server.sjs => browser/extensions/shield-recipe-client/test/unit/echo_server.sjs
rename : toolkit/components/normandy/test/unit/head_xpc.js => browser/extensions/shield-recipe-client/test/unit/head_xpc.js
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/api/v1/index.json => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/api/v1/index.json
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/api/v1/recipe/signed/index.json => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/api/v1/recipe/signed/index.json
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/normandy.content-signature.mozilla.org-20210705.dev.chain => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/normandy.content-signature.mozilla.org-20210705.dev.chain
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/console-log/implementation/sha384-RGx3rydrSq53UfmW9kFcK0mQYra67XIvZvr4MhmAe--ljiiMQOtgM7Cmca48um3v => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/console-log/implementation/sha384-RGx3rydrSq53UfmW9kFcK0mQYra67XIvZvr4MhmAe--ljiiMQOtgM7Cmca48um3v
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/console-log/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/console-log/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/opt-out-study/implementation/sha384-HM_avYcD00o27ufwU1V7PIBtiuMAXML6MMwlYrDEqDX-XzGVuOfL52RCM680JExN => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/opt-out-study/implementation/sha384-HM_avYcD00o27ufwU1V7PIBtiuMAXML6MMwlYrDEqDX-XzGVuOfL52RCM680JExN
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/opt-out-study/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/opt-out-study/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/preference-experiment/implementation/sha384-KQgG38GQ7KZAb2VIB48ANQO6nBcxZoLm2ORzUviRT5nAvSywyPjZ5cJIElw6iXIt => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/preference-experiment/implementation/sha384-KQgG38GQ7KZAb2VIB48ANQO6nBcxZoLm2ORzUviRT5nAvSywyPjZ5cJIElw6iXIt
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/preference-experiment/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/preference-experiment/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/show-heartbeat/implementation/sha384-dEGiyKPEln8Ns5cQHzGpMIGdirSAAX0X-Kwlu-U3sJ05yNbO-ANij_a6c5SyL7G4 => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/show-heartbeat/implementation/sha384-dEGiyKPEln8Ns5cQHzGpMIGdirSAAX0X-Kwlu-U3sJ05yNbO-ANij_a6c5SyL7G4
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/show-heartbeat/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/show-heartbeat/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/signed/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/signed/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/classify_client/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/classify_client/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/recipe/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/recipe/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/recipe/signed/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/recipe/signed/index.json
rename : toolkit/components/normandy/test/unit/mock_api/normandy.content-signature.mozilla.org-20210705.dev.chain => browser/extensions/shield-recipe-client/test/unit/mock_api/normandy.content-signature.mozilla.org-20210705.dev.chain
rename : toolkit/components/normandy/test/unit/query_server.sjs => browser/extensions/shield-recipe-client/test/unit/query_server.sjs
rename : toolkit/components/normandy/test/unit/test_NormandyApi.js => browser/extensions/shield-recipe-client/test/unit/test_NormandyApi.js
rename : toolkit/components/normandy/test/unit/test_Sampling.js => browser/extensions/shield-recipe-client/test/unit/test_Sampling.js
rename : toolkit/components/normandy/test/unit/test_SandboxManager.js => browser/extensions/shield-recipe-client/test/unit/test_SandboxManager.js
rename : toolkit/components/normandy/test/unit/test_Utils.js => browser/extensions/shield-recipe-client/test/unit/test_Utils.js
rename : toolkit/components/normandy/test/unit/utils.js => browser/extensions/shield-recipe-client/test/unit/utils.js
rename : toolkit/components/normandy/test/unit/xpcshell.ini => browser/extensions/shield-recipe-client/test/unit/xpcshell.ini
rename : toolkit/components/normandy/vendor/LICENSE_THIRDPARTY => browser/extensions/shield-recipe-client/vendor/LICENSE_THIRDPARTY
rename : toolkit/components/normandy/vendor/PropTypes.js => browser/extensions/shield-recipe-client/vendor/PropTypes.js
rename : toolkit/components/normandy/vendor/React.js => browser/extensions/shield-recipe-client/vendor/React.js
rename : toolkit/components/normandy/vendor/ReactDOM.js => browser/extensions/shield-recipe-client/vendor/ReactDOM.js
rename : toolkit/components/normandy/vendor/classnames.js => browser/extensions/shield-recipe-client/vendor/classnames.js
rename : toolkit/components/normandy/vendor/mozjexl.js => browser/extensions/shield-recipe-client/vendor/mozjexl.js
2018-03-01 06:44:44 +02:00
Mike Cooper
44cb9587b4 Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
This includes simplifiying the startup process, migrating to a new
pref namespace, renaming files, and updating references to the code.

MozReview-Commit-ID: A2cYpsjCOAE

--HG--
extra : rebase_source : a47e156160e2e0f85f0000703f2da24e781c727d
2018-02-21 15:02:04 -08:00
Hiroyuki Ikezoe
75bec9c5ea Bug 1441713 - Skip SynchronizeForSnapshot in the case of 'reftest-no-flush'. r=dbaron
Since updateLayerTree flushes styles.

MozReview-Commit-ID: 22NtsRTYTZe

--HG--
extra : rebase_source : eac867b236d398dbc65a5365674599101323ca42
2018-02-28 08:49:42 +09:00
Narcis Beleuzu
afbe720872 Backed out 2 changesets (bug 1436113) for ESlint failure on Normandy.jsm. CLOSED TREE
Backed out changeset 0a2b1c60cec5 (bug 1436113)
Backed out changeset 88dd78f248e2 (bug 1436113)

--HG--
rename : toolkit/components/normandy/content/AboutPages.jsm => browser/extensions/shield-recipe-client/content/AboutPages.jsm
rename : toolkit/components/normandy/content/about-studies/about-studies.css => browser/extensions/shield-recipe-client/content/about-studies/about-studies.css
rename : toolkit/components/normandy/content/about-studies/about-studies.html => browser/extensions/shield-recipe-client/content/about-studies/about-studies.html
rename : toolkit/components/normandy/content/about-studies/about-studies.js => browser/extensions/shield-recipe-client/content/about-studies/about-studies.js
rename : toolkit/components/normandy/content/about-studies/common.js => browser/extensions/shield-recipe-client/content/about-studies/common.js
rename : toolkit/components/normandy/content/about-studies/img/shield-logo.png => browser/extensions/shield-recipe-client/content/about-studies/img/shield-logo.png
rename : toolkit/components/normandy/content/about-studies/shield-studies.js => browser/extensions/shield-recipe-client/content/about-studies/shield-studies.js
rename : toolkit/components/normandy/content/shield-content-frame.js => browser/extensions/shield-recipe-client/content/shield-content-frame.js
rename : toolkit/components/normandy/content/shield-content-process.js => browser/extensions/shield-recipe-client/content/shield-content-process.js
rename : toolkit/components/normandy/docs/data-collection.rst => browser/extensions/shield-recipe-client/docs/data-collection.rst
rename : toolkit/components/normandy/docs/index.rst => browser/extensions/shield-recipe-client/docs/index.rst
rename : toolkit/components/normandy/jar.mn => browser/extensions/shield-recipe-client/jar.mn
rename : toolkit/components/normandy/lib/ActionSandboxManager.jsm => browser/extensions/shield-recipe-client/lib/ActionSandboxManager.jsm
rename : toolkit/components/normandy/lib/AddonStudies.jsm => browser/extensions/shield-recipe-client/lib/AddonStudies.jsm
rename : toolkit/components/normandy/lib/Addons.jsm => browser/extensions/shield-recipe-client/lib/Addons.jsm
rename : toolkit/components/normandy/lib/CleanupManager.jsm => browser/extensions/shield-recipe-client/lib/CleanupManager.jsm
rename : toolkit/components/normandy/lib/ClientEnvironment.jsm => browser/extensions/shield-recipe-client/lib/ClientEnvironment.jsm
rename : toolkit/components/normandy/lib/EventEmitter.jsm => browser/extensions/shield-recipe-client/lib/EventEmitter.jsm
rename : toolkit/components/normandy/lib/FilterExpressions.jsm => browser/extensions/shield-recipe-client/lib/FilterExpressions.jsm
rename : toolkit/components/normandy/lib/Heartbeat.jsm => browser/extensions/shield-recipe-client/lib/Heartbeat.jsm
rename : toolkit/components/normandy/lib/LogManager.jsm => browser/extensions/shield-recipe-client/lib/LogManager.jsm
rename : toolkit/components/normandy/lib/NormandyApi.jsm => browser/extensions/shield-recipe-client/lib/NormandyApi.jsm
rename : toolkit/components/normandy/lib/NormandyDriver.jsm => browser/extensions/shield-recipe-client/lib/NormandyDriver.jsm
rename : toolkit/components/normandy/lib/PreferenceExperiments.jsm => browser/extensions/shield-recipe-client/lib/PreferenceExperiments.jsm
rename : toolkit/components/normandy/lib/PreferenceFilters.jsm => browser/extensions/shield-recipe-client/lib/PreferenceFilters.jsm
rename : toolkit/components/normandy/lib/RecipeRunner.jsm => browser/extensions/shield-recipe-client/lib/RecipeRunner.jsm
rename : toolkit/components/normandy/lib/Sampling.jsm => browser/extensions/shield-recipe-client/lib/Sampling.jsm
rename : toolkit/components/normandy/lib/SandboxManager.jsm => browser/extensions/shield-recipe-client/lib/SandboxManager.jsm
rename : toolkit/components/normandy/lib/ShieldPreferences.jsm => browser/extensions/shield-recipe-client/lib/ShieldPreferences.jsm
rename : toolkit/components/normandy/lib/Storage.jsm => browser/extensions/shield-recipe-client/lib/Storage.jsm
rename : toolkit/components/normandy/lib/TelemetryEvents.jsm => browser/extensions/shield-recipe-client/lib/TelemetryEvents.jsm
rename : toolkit/components/normandy/lib/Uptake.jsm => browser/extensions/shield-recipe-client/lib/Uptake.jsm
rename : toolkit/components/normandy/lib/Utils.jsm => browser/extensions/shield-recipe-client/lib/Utils.jsm
rename : toolkit/components/normandy/moz.build => browser/extensions/shield-recipe-client/moz.build
rename : toolkit/components/normandy/skin/osx/Heartbeat.css => browser/extensions/shield-recipe-client/skin/osx/Heartbeat.css
rename : toolkit/components/normandy/skin/shared/Heartbeat.css => browser/extensions/shield-recipe-client/skin/shared/Heartbeat.css
rename : toolkit/components/normandy/skin/shared/heartbeat-icon.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-icon.svg
rename : toolkit/components/normandy/skin/shared/heartbeat-star-lit.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-star-lit.svg
rename : toolkit/components/normandy/skin/shared/heartbeat-star-off.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-star-off.svg
rename : toolkit/components/normandy/test/.eslintrc.js => browser/extensions/shield-recipe-client/test/.eslintrc.js
rename : toolkit/components/normandy/test/browser/.eslintrc.js => browser/extensions/shield-recipe-client/test/browser/.eslintrc.js
rename : toolkit/components/normandy/test/browser/action_server.sjs => browser/extensions/shield-recipe-client/test/browser/action_server.sjs
rename : toolkit/components/normandy/test/browser/browser.ini => browser/extensions/shield-recipe-client/test/browser/browser.ini
rename : toolkit/components/normandy/test/browser/browser_ActionSandboxManager.js => browser/extensions/shield-recipe-client/test/browser/browser_ActionSandboxManager.js
rename : toolkit/components/normandy/test/browser/browser_AddonStudies.js => browser/extensions/shield-recipe-client/test/browser/browser_AddonStudies.js
rename : toolkit/components/normandy/test/browser/browser_Addons.js => browser/extensions/shield-recipe-client/test/browser/browser_Addons.js
rename : toolkit/components/normandy/test/browser/browser_CleanupManager.js => browser/extensions/shield-recipe-client/test/browser/browser_CleanupManager.js
rename : toolkit/components/normandy/test/browser/browser_ClientEnvironment.js => browser/extensions/shield-recipe-client/test/browser/browser_ClientEnvironment.js
rename : toolkit/components/normandy/test/browser/browser_EventEmitter.js => browser/extensions/shield-recipe-client/test/browser/browser_EventEmitter.js
rename : toolkit/components/normandy/test/browser/browser_FilterExpressions.js => browser/extensions/shield-recipe-client/test/browser/browser_FilterExpressions.js
rename : toolkit/components/normandy/test/browser/browser_Heartbeat.js => browser/extensions/shield-recipe-client/test/browser/browser_Heartbeat.js
rename : toolkit/components/normandy/test/browser/browser_LogManager.js => browser/extensions/shield-recipe-client/test/browser/browser_LogManager.js
rename : toolkit/components/normandy/test/browser/browser_NormandyDriver.js => browser/extensions/shield-recipe-client/test/browser/browser_NormandyDriver.js
rename : toolkit/components/normandy/test/browser/browser_PreferenceExperiments.js => browser/extensions/shield-recipe-client/test/browser/browser_PreferenceExperiments.js
rename : toolkit/components/normandy/test/browser/browser_RecipeRunner.js => browser/extensions/shield-recipe-client/test/browser/browser_RecipeRunner.js
rename : toolkit/components/normandy/test/browser/browser_ShieldPreferences.js => browser/extensions/shield-recipe-client/test/browser/browser_ShieldPreferences.js
rename : toolkit/components/normandy/test/browser/browser_Storage.js => browser/extensions/shield-recipe-client/test/browser/browser_Storage.js
rename : toolkit/components/normandy/test/browser/browser_about_preferences.js => browser/extensions/shield-recipe-client/test/browser/browser_about_preferences.js
rename : toolkit/components/normandy/test/browser/browser_about_studies.js => browser/extensions/shield-recipe-client/test/browser/browser_about_studies.js
rename : toolkit/components/normandy/test/browser/browser_Normandy.js => browser/extensions/shield-recipe-client/test/browser/browser_bootstrap.js
rename : toolkit/components/normandy/test/browser/fixtures/addon-fixture/manifest.json => browser/extensions/shield-recipe-client/test/browser/fixtures/addon-fixture/manifest.json
rename : toolkit/components/normandy/test/browser/fixtures/normandy.xpi => browser/extensions/shield-recipe-client/test/browser/fixtures/normandy.xpi
rename : toolkit/components/normandy/test/browser/head.js => browser/extensions/shield-recipe-client/test/browser/head.js
rename : toolkit/components/normandy/test/unit/.eslintrc.js => browser/extensions/shield-recipe-client/test/unit/.eslintrc.js
rename : toolkit/components/normandy/test/unit/echo_server.sjs => browser/extensions/shield-recipe-client/test/unit/echo_server.sjs
rename : toolkit/components/normandy/test/unit/head_xpc.js => browser/extensions/shield-recipe-client/test/unit/head_xpc.js
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/api/v1/index.json => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/api/v1/index.json
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/api/v1/recipe/signed/index.json => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/api/v1/recipe/signed/index.json
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/normandy.content-signature.mozilla.org-20210705.dev.chain => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/normandy.content-signature.mozilla.org-20210705.dev.chain
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/console-log/implementation/sha384-RGx3rydrSq53UfmW9kFcK0mQYra67XIvZvr4MhmAe--ljiiMQOtgM7Cmca48um3v => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/console-log/implementation/sha384-RGx3rydrSq53UfmW9kFcK0mQYra67XIvZvr4MhmAe--ljiiMQOtgM7Cmca48um3v
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/console-log/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/console-log/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/opt-out-study/implementation/sha384-HM_avYcD00o27ufwU1V7PIBtiuMAXML6MMwlYrDEqDX-XzGVuOfL52RCM680JExN => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/opt-out-study/implementation/sha384-HM_avYcD00o27ufwU1V7PIBtiuMAXML6MMwlYrDEqDX-XzGVuOfL52RCM680JExN
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/opt-out-study/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/opt-out-study/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/preference-experiment/implementation/sha384-KQgG38GQ7KZAb2VIB48ANQO6nBcxZoLm2ORzUviRT5nAvSywyPjZ5cJIElw6iXIt => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/preference-experiment/implementation/sha384-KQgG38GQ7KZAb2VIB48ANQO6nBcxZoLm2ORzUviRT5nAvSywyPjZ5cJIElw6iXIt
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/preference-experiment/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/preference-experiment/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/show-heartbeat/implementation/sha384-dEGiyKPEln8Ns5cQHzGpMIGdirSAAX0X-Kwlu-U3sJ05yNbO-ANij_a6c5SyL7G4 => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/show-heartbeat/implementation/sha384-dEGiyKPEln8Ns5cQHzGpMIGdirSAAX0X-Kwlu-U3sJ05yNbO-ANij_a6c5SyL7G4
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/show-heartbeat/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/show-heartbeat/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/signed/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/signed/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/classify_client/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/classify_client/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/recipe/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/recipe/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/recipe/signed/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/recipe/signed/index.json
rename : toolkit/components/normandy/test/unit/mock_api/normandy.content-signature.mozilla.org-20210705.dev.chain => browser/extensions/shield-recipe-client/test/unit/mock_api/normandy.content-signature.mozilla.org-20210705.dev.chain
rename : toolkit/components/normandy/test/unit/query_server.sjs => browser/extensions/shield-recipe-client/test/unit/query_server.sjs
rename : toolkit/components/normandy/test/unit/test_NormandyApi.js => browser/extensions/shield-recipe-client/test/unit/test_NormandyApi.js
rename : toolkit/components/normandy/test/unit/test_Sampling.js => browser/extensions/shield-recipe-client/test/unit/test_Sampling.js
rename : toolkit/components/normandy/test/unit/test_SandboxManager.js => browser/extensions/shield-recipe-client/test/unit/test_SandboxManager.js
rename : toolkit/components/normandy/test/unit/test_Utils.js => browser/extensions/shield-recipe-client/test/unit/test_Utils.js
rename : toolkit/components/normandy/test/unit/utils.js => browser/extensions/shield-recipe-client/test/unit/utils.js
rename : toolkit/components/normandy/test/unit/xpcshell.ini => browser/extensions/shield-recipe-client/test/unit/xpcshell.ini
rename : toolkit/components/normandy/vendor/LICENSE_THIRDPARTY => browser/extensions/shield-recipe-client/vendor/LICENSE_THIRDPARTY
rename : toolkit/components/normandy/vendor/PropTypes.js => browser/extensions/shield-recipe-client/vendor/PropTypes.js
rename : toolkit/components/normandy/vendor/React.js => browser/extensions/shield-recipe-client/vendor/React.js
rename : toolkit/components/normandy/vendor/ReactDOM.js => browser/extensions/shield-recipe-client/vendor/ReactDOM.js
rename : toolkit/components/normandy/vendor/classnames.js => browser/extensions/shield-recipe-client/vendor/classnames.js
rename : toolkit/components/normandy/vendor/mozjexl.js => browser/extensions/shield-recipe-client/vendor/mozjexl.js
2018-03-01 00:37:47 +02:00
Mike Cooper
8688589946 Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
This includes simplifiying the startup process, migrating to a new
pref namespace, renaming files, and updating references to the code.

MozReview-Commit-ID: A2cYpsjCOAE

--HG--
extra : rebase_source : abf1f517b78952d42b0142ca458444eed61c939a
2018-02-21 15:02:04 -08:00
Florian Quèze
f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze
c546946f86 Bug 1433175 - remove by hands some variations of Cc,Ci,Cu definitions, r=Standard8. 2018-02-28 18:51:34 +01:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Andrew Halberstadt
608b69a9a4 Bug 1353461 - [reftest] Implement run-by-manifest for reftest, r=jmaher
Run-by-manifest is a mode where we restart Firefox between every manifest of
tests. It sacrifices a little bit of runtime for better test isolation and
improved stability.

This turns run-by-manifest on for all platforms except Android. It also skips
jsreftests and crashtests for now (mostly to limit the scope of what was
landing all at once). Follow-ups will be filed to get it turned on in those
places.

MozReview-Commit-ID: DmvozAIPE5Q

--HG--
extra : rebase_source : 67470894a7aa0b3189380a4874495395401909bb
2018-02-08 16:16:34 -05:00
Andrew Halberstadt
463bd10a62 Bug 1353461 - [reftest] remove the start-after-crash feature, r=jmaher
The point of start-after-crash was to resume running tests after a crash so we
don't miss out on test coverage when a crash happens. Now that we're close to
landing run-by-manifest, this feature is as necessary since only tests that
appear later in the same manifest as the crashing test will be skipped.

Another reason to remove it, is that it's current implementation is buggy. It
assumes tests have a unique ID (they don't), which means we could accidentally
get into an infinite loop if the wrong test happens to crash at the wrong time.

A third reason to remove it is that it adds a lot of complexity to the harness.
Especially now with run-by-manifest, supporting both would require handling a
lot of different edge cases and make things much more complicated than the
already are.

All that being said, it would still provide value. Not only would it allow us
to resume tests in the same manifest, but run-by-manifest isn't yet enabled on
Android, jsreftest or crashtest (though we hope to get it enabled in those
places in the future). So it may be worth re-implementing start-after-crash
again based on the new manifest parsing mechanism that run-by-manifest uses. It
should be possible to implement it a lot more cleanly now. This work will have
to be left to a follow-up.

MozReview-Commit-ID: P2hh5VecKW

--HG--
extra : rebase_source : 809d5103b8d513c709aa950b102d3efee28fb205
2018-02-05 14:24:49 -05:00
Andrew Halberstadt
adbe589f59 Bug 1353461 - [manifestparser] Implement a chunk_by_manifest algorithm, r=jmaher
This implements a chunk_by_manifest algorithm. It is similar to chunk_by_slice
in that it tries to make an even number of tests run in each chunk. However,
unlike chunk_by_slice it will guarantee that tests in the same manifest will
all run in the same chunk. This makes it suitable to use with run-by-manifest.

This means the chunks won't be perfect (as manifests are differnet sizes). It
is also prone to more randomization, similar to chunk-by-runtime.

In fact, this algorithm is nearly identical to the chunk-by-runtime one, so it
was refactored out to a base class.

MozReview-Commit-ID: HI2ByxW0i8V

--HG--
extra : rebase_source : e066c034b85222d26bafe6873a80366d5bd9df9e
2018-02-13 15:16:37 -05:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Geoff Brown
385ab244a3 Bug 1440674 - Simplify some code in remoteautomation.py; r=jmaher
remove RemoteAutomation._product and product options;
remove some unused code paths;
remove "blobber" references;
remove incorrect and/or unhelpful comments;
s/_devicemanager/_dm/ (shorter, improve readability)
2018-02-23 09:47:57 -07:00
James Willcox
a47a1c6678 Bug 1291387 - Make mochitest and reftest work against TestRunnerActivity r=gbrown,jchen
Pass --appname org.mozilla.geckoview.test to 'mach mochitest' or
'mach reftest'. This runs the tests without e10s currently.

MozReview-Commit-ID: 7TIvA3zRCw2
2018-02-22 09:18:37 -06:00
Geoff Brown
c86636e65f Bug 1433485 - Update test prefs for telemetry; r=mythmon,dexter
Set pref datareporting.healthreport.uploadEnabled=false during mochitests
and set pref toolkit.telemetry.server to a dummy server during reftests
(uploadEnabled was already false for reftest and the telemetry server was
already set for mochitests - now these prefs are consistent).

Some mochitests failed with this change; they are updated to
set datareporting.healthreport.uploadEnabled where required.
2018-02-21 10:57:04 -07:00
Geoff Brown
e6206ca070 Bug 1432246 - Update some safe-browsing prefs for reftests; r=jmaher 2018-02-15 07:55:13 -07:00
Brendan Dahl
5bcf337440 Bug 1434381 - Inline the layout debug overlay into browser menu bar. r=dbaron
This is part of the work to remove XUL overlays. This overlay is only
used once and can be inlined.

MozReview-Commit-ID: 1SE1nobgehE

--HG--
extra : rebase_source : 33d73fa8538da9af626feb53267278ac97554710
2018-01-30 11:18:48 -08:00
abhinav
7a69b1dac9 Bug 1434018 - Remove references to old (SeaMonkey) overlays from layoutdebug code. r=dbaron
--HG--
extra : rebase_source : a4d0bdae9b9c776707ebaa17aaa0d3e715233554
2018-01-30 18:13:00 +05:30
Geoff Brown
cd78045019 Bug 1434423 - Check for installation of correct test application when --app is passed to mach; r=jmaher 2018-02-09 14:34:20 -07:00
Mike Hommey
934828f009 Bug 1434765 - Properly reject invalid variables in #if{,n}def. r=froydnj,nalexander
The invalid variable test for #if{,n}def was only checking that the
first character in the variable was alphanumeric or underscore, not
the other characters.

More generally, preprocessor instructions were also cut out such that
whitespaces before and after arguments were part of the arguments.
Subtly, some legitimate strings end with what, in ISO-8859-1, is
considered as whitespaces, and because the preprocessor largely works
on byte strings (str), and because the regexps are using re.U, those
characters (e.g. 0xa0) that can legitimately appear in byte strings of
UTF-8 encoding, are treated as whitespaces. So we remove the re.U from
the instruction regexp, so that only plain ascii whitespaces only are
stripped out.

There's one place in layout/tools/reftest/manifest.jsm that was using
a broken pattern, making the test never true, which, once fixed, unveils
broken tests, so the branch that was never used is removed.

--HG--
extra : rebase_source : b695dec025c55aee0e50f2a0047278fe9c849c9e
2018-02-01 10:40:59 +09:00
Andrew Halberstadt
d8bcda3f29 Bug 1392391 - [reftest] Add debug statements to clarify which path in ReadTests is being used, r=jmaher
This is also to improve a race condition (bug 1416125), which can happen in the
manifest parsing code on Android jsreftests. For more details, see:
https://bugzilla.mozilla.org/show_bug.cgi?id=1392391#c39

MozReview-Commit-ID: 8qLm1t8agZG

--HG--
extra : rebase_source : 260cbfef9d3bf4be959783f750ca427b34e64486
2018-02-06 17:19:13 -05:00
Andrew Halberstadt
36e355c6d8 Bug 1392391 - [reftest] Perform chunking with manifestparser, r=jmaher
This replaces reftest's homebrewed chunking algorithm with the one that
all the other test harnesses use in manifestparser.

For now Android will continue to use the reftest based algorithm.

MozReview-Commit-ID: AfUBmQpx3Zz

--HG--
extra : rebase_source : ddc93e7f04e133668a98f050259559a58ff9923c
2018-01-25 17:46:46 -05:00
Andrew Halberstadt
2faf25828e Bug 1392391 - [reftest] Pre-parse the manifests in a separate Firefox instance, r=jmaher
Instead of parsing the manifests and running the tests all in one go, this will
spawn an extra Firefox instance at the beginning that does nothing but parse the
manifest and dump them to a file.

This will allow the python harness to load and manipulate the test objects, before
sending them back to the JS harness as a list of tests to run. The main motivation
for this change is to implement run-by-manifest, a mode where we restart the
browser in between every test manifest. But there are other benefits as well, like
sharing the chunking logic used by other harnesses and the ability for the python
harness to stuff arbitrary metadata into the test objects.

For now, Android will continue to parse the manifests and run the tests all in one
go. Converting Android to this new mechanism will be left to a follow-up bug.


MozReview-Commit-ID: AfUBmQpx3Zz

--HG--
extra : rebase_source : 82e611e8795150daf01d791ea16517ec1ffb2896
2018-02-01 14:18:00 -05:00
Andrew Halberstadt
f8c901da0f Bug 1392391 - [reftest] Parse manifests from a new ReadTests method, r=jmaher
Currently manifest parsing happens within the StartTests method. This method is
already quite large, and this commit series about to make the logic around
gathering tests a lot more complicated.

This commit pulls the manifest parsing out into a new 'ReadTests' method which
is responsible for retrieving the list of tests (however that may be) and then
calling StartTests.

MozReview-Commit-ID: 6ijOqhNaig

--HG--
extra : rebase_source : d494a8665d5019f73631ab8283b6d0c7759ac3bf
2018-02-01 16:24:25 -05:00
Andrew Halberstadt
d75648cfac Bug 1392391 - [reftest] Factor out code for creating nsIUri objects to isolated function, r=jmaher
This is a simple refactor of manifest.jsm.

We'd like to access the test objects from the parsed manifest in python. This
will allow us implement things like runByManifest (to improve intermittent
stability), share the chunking logic used by other harnesses, and much more.

To do this, we need to JSON serialize all of the test objects and dump them
to a file. The python side can then load the file, make modifications, and
send it back to the JS side to run.

The problem is that we turn the test urls into nsIURI objects as soon as they
are parsed, which isn't JSON serializable. This commit is a simple refactor to
delay this from happening. Instead, we will create the urls in reftest.jsm,
after the modified test objects have been loaded from python. This step will
be implemented by the next commit.

MozReview-Commit-ID: 6ijOqhNaig

--HG--
extra : rebase_source : fbfa259121a8d79bfc44695397d0d1ce08123558
2018-02-01 16:22:55 -05:00
Gurzau Raul
9c39f70c0f Backed out 5 changesets (bug 1392391) for frequently failing jsreftests on Android. a=backout
Backed out changeset 50df56a0cebf (bug 1392391)
Backed out changeset 406806a088d5 (bug 1392391)
Backed out changeset 6bd3abc55ea8 (bug 1392391)
Backed out changeset 846d50ea8403 (bug 1392391)
Backed out changeset b9e9374af9a1 (bug 1392391)
2018-02-07 02:20:38 +02:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Andrew Halberstadt
c7970b0b86 Bug 1392391 - [reftest] Perform chunking with manifestparser, r=jmaher
This replaces reftest's homebrewed chunking algorithm with the one that
all the other test harnesses use in manifestparser.

For now Android will continue to use the reftest based algorithm.

MozReview-Commit-ID: AfUBmQpx3Zz

--HG--
extra : rebase_source : cb513d1b3a54ddeb95ce5861d858aad4492de2a6
2018-01-25 17:46:46 -05:00
Andrew Halberstadt
00015fe0a8 Bug 1392391 - [reftest] Pre-parse the manifests in a separate Firefox instance, r=jmaher
Instead of parsing the manifests and running the tests all in one go, this will
spawn an extra Firefox instance at the beginning that does nothing but parse the
manifest and dump them to a file.

This will allow the python harness to load and manipulate the test objects, before
sending them back to the JS harness as a list of tests to run. The main motivation
for this change is to implement run-by-manifest, a mode where we restart the
browser in between every test manifest. But there are other benefits as well, like
sharing the chunking logic used by other harnesses and the ability for the python
harness to stuff arbitrary metadata into the test objects.

For now, Android will continue to parse the manifests and run the tests all in one
go. Converting Android to this new mechanism will be left to a follow-up bug.


MozReview-Commit-ID: AfUBmQpx3Zz

--HG--
extra : rebase_source : 955966c07bb650946c7c0e5706856f028335e850
2018-02-01 14:18:00 -05:00
Andrew Halberstadt
33d2269419 Bug 1392391 - [reftest] Parse manifests from a new ReadTests method, r=jmaher
Currently manifest parsing happens within the StartTests method. This method is
already quite large, and this commit series about to make the logic around
gathering tests a lot more complicated.

This commit pulls the manifest parsing out into a new 'ReadTests' method which
is responsible for retrieving the list of tests (however that may be) and then
calling StartTests.

MozReview-Commit-ID: 6ijOqhNaig

--HG--
extra : rebase_source : 16d4e2debcbe95765c4355b9964f62c7e7a417f1
2018-02-01 16:24:25 -05:00
Andrew Halberstadt
d01bc13f7f Bug 1392391 - [reftest] Factor out code for creating nsIUri objects to isolated function, r=jmaher
This is a simple refactor of manifest.jsm.

We'd like to access the test objects from the parsed manifest in python. This
will allow us implement things like runByManifest (to improve intermittent
stability), share the chunking logic used by other harnesses, and much more.

To do this, we need to JSON serialize all of the test objects and dump them
to a file. The python side can then load the file, make modifications, and
send it back to the JS side to run.

The problem is that we turn the test urls into nsIURI objects as soon as they
are parsed, which isn't JSON serializable. This commit is a simple refactor to
delay this from happening. Instead, we will create the urls in reftest.jsm,
after the modified test objects have been loaded from python. This step will
be implemented by the next commit.

MozReview-Commit-ID: 6ijOqhNaig

--HG--
extra : rebase_source : 06acb038a4d3e35b3a4158b81b361a9a0ae54337
2018-02-01 16:22:55 -05:00
Andrew Halberstadt
f354075c7a Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood
This is a new issue that gets linted with flake8 3.5.0. Basically you should
never use a blank except: statement.

This will catch all exceptions, including KeyboardInterrupt and SystemExit
(which is likely not intended). If a catch all is needed, use
`except: Exception`.  If you *really* mean to also catch KeyboardInterrupt et
al, use `except: BaseException`.

Of course, being specific is often better than a catch all.

MozReview-Commit-ID: FKx80MLO4RN

--HG--
extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
2018-01-31 14:32:08 -05:00
Gurzau Raul
1315ffda06 Merge inbound to mozilla-central. a=merge 2018-02-02 00:22:39 +02:00
Sebastian Hengst
0d4ebdcd4e Backed out changeset d4582a286d6a (bug 1434765) for breaking build of Catalan language pack due to altered output. a=backout 2018-02-01 23:04:25 +02:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Mike Hommey
355ab37a8f Bug 1434765 - Properly reject invalid variables in #if{,n}def. r=froydnj
The invalid variable test for #if{,n}def was only checking that the
first character in the variable was alphanumeric or underscore, not
the other characters.

More generally, preprocessor instructions were also cut out such that
whitespaces before and after arguments were part of the arguments.

There's one place in layout/tools/reftest/manifest.jsm that was using
a broken pattern, making the test never true, which, once fixed, unveils
broken tests, so the branch that was never used is removed.

--HG--
extra : rebase_source : d1fe8a299203a29c0906ff99054c326acd135000
2018-02-01 10:40:59 +09:00
Boris Zbarsky
c62e23596a Bug 1434318 part 2. Stop using nsIContentViewer::GetDOMDocument in C++. r=mystor
MozReview-Commit-ID: FoMoVgCngGR
2018-01-31 15:18:09 -05:00
Geoff Brown
b3a5f2f49c Bug 1434123 - Enable marionette trace log for reftests; r=whimboo
This should only add a little more logging on application startup. I am
hoping it will aid diagnosis of reftest startup hangs.
2018-01-30 17:45:59 -07:00
Sebastian Hengst
732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Andreas Tolfsen
7bcc9c5128 Bug 1434219 - Use current Marionette prefs in reftest harness. r=gbrown
The marionette.defaultPrefs.port and marionette.logging preferences
have been deprecated for some time.  We want to move the reftest
harness to use marionette.port and marionette.log.level.

All officially recognised preferences are listed in
testing/marionette/prefs/marionette.js.

MozReview-Commit-ID: H1MHO7Iik4X

--HG--
extra : rebase_source : 883ee2eed272f1a64015cbaaebcfa5dbb45d91bf
2018-01-30 14:01:58 +00:00
Kartikaya Gupta
d4774c8857 Bug 1429580 - Remove now-unnecessary inherited_status argument. r=dbaron
Because of the previous patch, the inherited_status is now always
EXPECTED_PASS so we don't need to actually pass it around.

MozReview-Commit-ID: pgMkLgNCOE

--HG--
extra : rebase_source : fce3c66ad7ccaf458befc7c41c9a2a4cdea87875
2018-01-11 09:53:10 -05:00
Kartikaya Gupta
01ae4bfffa Bug 1429580 - Change the semantics of skipping reftest includes. r=dbaron
Without this patch, putting something like
  skip-if(Android) include foo/reftest.list
behaves unexpectedly. Instead of skipping the foo/reftest.list file
on Android, it instead "inherits" the skip-if condition down into each
reftest inside foo/reftest.list. If any of those reftests then have a
fuzzy or fuzzy-if(Android,...) annotation, that will override the
skip-if annotation, and the test will still run.

Based on the occurrences of this pattern in the codebase, I believe the
more intuitive semantics of "skip the foo/reftest.list file completely,
on Android" is more desirable. This patch implements the change in
semantics. It also disallows inheriting other statuses down into
included reftest.list files, such as from a fails or fuzzy annotation on
the include statement. These cases don't currently exist in the tree,
but any attempt to do so will now throw an error.

MozReview-Commit-ID: HLJuSYNHvU5

--HG--
extra : rebase_source : d0d31ab63413aeee31d78226e55726836cd6bebf
2018-01-11 09:53:10 -05:00
Sylvestre Ledru
4b189b7baf Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX

--HG--
extra : rebase_source : 55ce6a6a72c36cbfdbeef08fe58d11f2053dc35f
2018-01-10 08:55:38 +01:00
Cosmin Sabou
81a8319b46 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
rename : dom/xul/templates/nsXULSortService.cpp => dom/xul/nsXULSortService.cpp
2018-01-03 23:59:59 +02:00
Geoff Brown
8e192994f8 Bug 1423771 - Suppress error when no reftests verified; r=jmaher
There are some edge cases in test verification where mozharness requests
reftest verification of a non-reftest. In this case, it is best for the
reftest harness to figure out that the requested file is not a test,
do no work and exit cleanly without complaint.
2018-01-03 09:29:32 -07:00
Andrew Halberstadt
5b6ee32372 Bug 1421799 - [reftest] Log 'GECKO(<pid>)' instead of 'ProcessReader' for process_output log actions r=gbrown
MozReview-Commit-ID: FsKg5Gtwx9Z

--HG--
extra : rebase_source : 9b29b44fcec93ade12bc7147a04226a234f1d730
2017-12-06 14:11:55 -05:00
Sebastian Hengst
e6dbbae0aa Backed out 5 changesets (bug 1421799) for failing firefox ui functional tests. r=backout on a CLOSED TREE
Backed out changeset f9f32474fdaf (bug 1421799)
Backed out changeset 18b4fa241936 (bug 1421799)
Backed out changeset 88dca5c8cfac (bug 1421799)
Backed out changeset 8c1f1ab754a5 (bug 1421799)
Backed out changeset e028f677bc80 (bug 1421799)
2018-01-03 20:21:28 +02:00
Andrew Halberstadt
0b44c941df Bug 1421799 - [reftest] Log 'GECKO(<pid>)' instead of 'ProcessReader' for process_output log actions r=gbrown
MozReview-Commit-ID: FsKg5Gtwx9Z

--HG--
extra : rebase_source : 0b012271e1673b641c4514714f0ab68b42d2bd0d
2017-12-06 14:11:55 -05:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Dorel Luca
61983e9ada Backed out 5 changesets (bug 1421799) for failing browser-chrome on Linux and OSX and for failing autophone-mochitest on Android r=backout on a CLOSED TREE
Backed out changeset 7fb20bced076 (bug 1421799)
Backed out changeset 629e467a07be (bug 1421799)
Backed out changeset 2de335c0287a (bug 1421799)
Backed out changeset afe14ec646ab (bug 1421799)
Backed out changeset bbe4d2292f86 (bug 1421799)
2017-12-14 15:41:22 +02:00
Andrew Halberstadt
b59244590b Bug 1421799 - [reftest] Log 'GECKO(<pid>)' instead of 'ProcessReader' for process_output log actions r=gbrown
MozReview-Commit-ID: FsKg5Gtwx9Z

--HG--
extra : rebase_source : 3bb118c510be08bb8716d553beeae09c7d60d82b
2017-12-06 14:11:55 -05:00
Andrew Halberstadt
3e46924759 Bug 1209463 - [test] Use a common logger across suites from |mach test| and other test commands, r=gbrown
In order for |mach test| and |mach mochitest| to log an overall summary,
every test harness invocation they make needs to use the same structured
logger (otherwise the affected suite will be missing from the summary).

MozReview-Commit-ID: 8LJw7r8SItk

--HG--
extra : rebase_source : 1417dce3817bae94ad61a5250065c6cbc35857e4
2017-11-23 13:04:19 -05:00
Andrew Halberstadt
7f664cfdaf Bug 1209463 - [test] Log suite names in test harnesses, r=gbrown
Suite names are currently only used by formatters to print out
an overall summary from |mach test| and |mach mochitest|. So
this doesn't need to be exact and can be tweaked further at a
later date.

If multiple test invocations have the same suite name, their
results will be merged in the overall summary. If a suite name
is missing, the summary will contain a placeholder name.

MozReview-Commit-ID: K1xpb9hUQRX

--HG--
extra : rebase_source : cc8cc8b36255d939dd5dffd3c5444c34951ac8e2
2017-11-27 17:20:06 -05:00
Xidorn Quan
85f0c3af39 Bug 1267890 part 2 - Add test for -moz-bool-pref(). r=emilio
MozReview-Commit-ID: AFTVgwbi9M

--HG--
extra : source : 8344dd1d7234e4950dd62aaed737dea8197c3406
2017-12-08 20:03:34 -06:00
Narcis Beleuzu
fd0b701b6f Backed out 4 changesets (bug 1417251) for reftest failures in abs-pos-non-replaced-vrl* on Windows and in box-sizing-replaced* on Android. r=backout a=backout
Backed out changeset 66d4e6df73d2 (bug 1417251)
Backed out changeset 5f8edbddf6b5 (bug 1417251)
Backed out changeset bf26cbb99b6a (bug 1417251)
Backed out changeset 2374657677b7 (bug 1417251)

--HG--
extra : amend_source : 9e00f8873f41a7aa6a98e6ccb6528e0c3c19eb05
2017-12-08 14:31:03 +02:00