gecko-dev/testing/marionette
James Graham e41402f389 Bug 1644395 - Marionette support for wpt print reftests, r=marionette-reviewers,hiro,maja_zf
Render print reftests to a PDF using the printing machinary, and use
pdf.js from gecko itself to convert the PDF to an image for pixel
comparisons.

For the surrounding reftest machinery, the main change here is that we
convert reftests to work in terms of lists of images rather than a
single image. For normal reftests we only have a single image in the
list; for print reftests we can have several (one per page). This is
implemented in terms of iterators to avoid unnecessary renders when
the test fails on an earlier page.

Differential Revision: https://phabricator.services.mozilla.com/D79081
2020-06-23 10:00:26 +00:00
..
chrome Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo 2020-06-17 22:45:31 +00:00
client Bug 1645763 - [marionette] Disable idle-daily notifications to avoid expensive operations. r=marionette-reviewers,maja_zf 2020-06-15 19:02:00 +00:00
components Bug 1643606 - Remove remnants of the toolkit.cosmeticAnimations.enabled pref. r=Gijs,remote-protocol-reviewers,marionette-reviewers,extension-reviewers,whimboo 2020-06-08 16:03:51 +00:00
doc Bug 1619500 - [marionette, geckodriver] Update docs for team changes. a=doc-only 2020-03-03 07:05:41 +00:00
harness Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo 2020-06-17 22:45:31 +00:00
test Bug 1606439 - [marionette] Add sameSite cookie support. r=whimboo,marionette-reviewers 2020-06-12 21:11:21 +00:00
.eslintrc.js Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
README
accessibility.js
action.js Bug 1417955 - Ensure we get the correct keyCode for a space character, r=marionette-reviewers,maja_zf 2020-03-25 19:36:54 +00:00
addon.js
assert.js Bug 1606439 - [marionette] Add sameSite cookie support. r=whimboo,marionette-reviewers 2020-06-12 21:11:21 +00:00
atom.js
browser.js Bug 1519335 - [marionette] Use the BrowsingContext id instead of outerWindowID. r=marionette-reviewers,maja_zf 2020-06-05 06:10:25 +00:00
capabilities.js Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
capture.js
cert.js
cookie.js Bug 1606439 - [marionette] Add sameSite cookie support. r=whimboo,marionette-reviewers 2020-06-12 21:11:21 +00:00
dom.js Bug 1631358 - remove CPOW handling in marionette r=marionette-reviewers,whimboo 2020-04-21 14:06:08 +00:00
driver.js Bug 1644395 - Marionette support for wpt print reftests, r=marionette-reviewers,hiro,maja_zf 2020-06-23 10:00:26 +00:00
element.js Bug 1632092 - Rename all XUL namespace variables to XUL_NS. r=Gijs,marionette-reviewers,whimboo 2020-04-24 09:23:52 +00:00
error.js Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub 2020-03-13 23:38:52 +00:00
evaluate.js
event.js Bug 1417955 - Ensure we get the correct keyCode for a space character, r=marionette-reviewers,maja_zf 2020-03-25 19:36:54 +00:00
format.js
interaction.js
jar.mn Bug 1638839 - Factor marionette print support into its own file, r=marionette-reviewers,whimboo 2020-05-25 19:02:52 +00:00
l10n.js
legacyaction.js Bug 1613903 - Enable ESLint for testing/marionette/harness and testing/marionette/legacyaction.js (automatic changes). r=whimboo,marionette-reviewers 2020-02-10 16:32:06 +00:00
listener.js Bug 1519335 - [marionette] Use the BrowsingContext id instead of outerWindowID. r=marionette-reviewers,maja_zf 2020-06-05 06:10:25 +00:00
log.js
mach_commands.py Bug 1623965 - Improve error message when binary not found while testing. r=glandium,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,Bebe,whimboo 2020-04-21 11:58:04 +00:00
mach_test_package_commands.py Bug 1641649 - Moar Python 3 support updates for Marionette harness. r=marionette-reviewers,whimboo 2020-06-04 14:13:01 +00:00
message.js
modal.js
moz.build
navigate.js
packets.js
prefs.js Bug 1632556 - [marionette] "navigator.webdriver" has to reflect the enabled state of Marionette. r=marionette-reviewers,maja_zf 2020-04-24 17:25:33 +00:00
print.js Bug 1642328. Marionette's print.printToFile takes a MozBrowser, not an nsIFrameLoader. r=jgraham,marionette-reviewers,whimboo 2020-06-02 18:42:26 +00:00
proxy.js
reftest.js Bug 1644395 - Marionette support for wpt print reftests, r=marionette-reviewers,hiro,maja_zf 2020-06-23 10:00:26 +00:00
reftest.xhtml
server.js
stream-utils.js Backed out 2 changesets (bug 1625500) for multiple failures on a CLOSED TREE 2020-04-17 15:36:05 +03:00
sync.js Bug 1619481 - [marionette] IdlePromise should not hang when underlying window gets closed. r=marionette-reviewers,maja_zf 2020-04-27 14:26:19 +00:00
transport.js
wm.js

README

Этот файл содержит неоднозначные символы Юникода!

Этот файл содержит неоднозначные символы Юникода, которые могут быть перепутаны с другими в текущей локали. Если это намеренно, можете спокойно проигнорировать это предупреждение. Используйте кнопку Экранировать, чтобы подсветить эти символы.

Marionette [ ˌmarɪəˈnɛt] is

  * a puppet worked by strings: the bird bobs up and down like
    a marionette;

  * a person who is easily manipulated or controlled: many officers
    dismissed him as the mayors marionette;

  * the remote protocol that lets out-of-process programs communicate
    with, instrument, and control Gecko-based browsers.

Marionette provides interfaces for interacting with both the internal
JavaScript runtime and UI elements of Gecko-based browsers, such
as Firefox and Fennec.  It can control both the chrome- and content
documents, giving a high level of control and ability to replicate,
or emulate, user interaction.

Head on to the Marionette documentation to find out more:

	https://firefox-source-docs.mozilla.org/testing/marionette/marionette/