gecko-dev/layout
James Graham a7e4a9aded Bug 1363428 - Add reftest-specific endpoints to Marionette, r=ato
This adds commands to start a reftest session, run a test, and end the
session. It as assumed that after you start a reftest session you will
just run reftests until you end the session. When starting a session
the user provides a string indicating when screenshots should be
taken, and an object mapping urls to a count of the number of times
that url is expected to be used in the session, to help with
caching. Running the tests takes a url to a test, an expected status,
a timeout, and a nested list of possible references, in which each
entry at a specific level is combined by OR and nested references are
combined by AND.

The implementation is heavilly inspired by the existing reftest
harness, starting a minimal window with no tabs, and loading the urls
directly in there. In order to get a screenshot in the e10s case we
have to pass the DRAW_VIEW and USE_WIDGET_LAYERS flags when taking the
screenshot.

For performance we heavily cache canvases; for references that will be
repeated we cache the full canvas with image, and we also cache a
single canvas to use for all other screenshots to avoid the overhead
of repeatedly creating a new canvas element.

MozReview-Commit-ID: JOFvtmH7tg
2017-06-21 11:25:57 +01:00
..
base Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-20 21:44:11 -07:00
build Bug 1252211 - Convert XUL template builders to WebIDL. r=bz. 2017-05-24 11:51:10 +02:00
doc
forms Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-20 21:44:11 -07:00
generic Backed out changeset 8fe074cf9ebf (bug 1367987) 2017-06-21 12:22:06 +02:00
inspector Backout bug 1291457 and bug 1370034 for bustage. 2017-06-19 13:55:15 +08:00
ipc Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-20 21:44:11 -07:00
mathml Bug 1373095 - Devirtualize GetRowSpan/GetColSpan. r=bz 2017-06-17 02:49:09 +02:00
media
painting Bug 1374236 - Refactor MaybeSetupTransactionIdAllocator to avoid passing nsView*. r=mats 2017-06-19 18:58:42 +03:00
printing Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-20 21:44:11 -07:00
reftests Backed out changeset 64e6fcbd8642 (bug 1367987) 2017-06-21 12:22:04 +02:00
style Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-20 21:44:11 -07:00
svg Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-20 21:44:11 -07:00
tables Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-20 21:44:11 -07:00
tools Bug 1363428 - Add reftest-specific endpoints to Marionette, r=ato 2017-06-21 11:25:57 +01:00
xul Backed out changeset 64e6fcbd8642 (bug 1367987) 2017-06-21 12:22:04 +02:00
moz.build