зеркало из https://github.com/mozilla/gecko-dev.git
e41402f389
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 |
||
---|---|---|
.. | ||
chrome | ||
client | ||
components | ||
doc | ||
harness | ||
test | ||
.eslintrc.js | ||
README | ||
accessibility.js | ||
action.js | ||
addon.js | ||
assert.js | ||
atom.js | ||
browser.js | ||
capabilities.js | ||
capture.js | ||
cert.js | ||
cookie.js | ||
dom.js | ||
driver.js | ||
element.js | ||
error.js | ||
evaluate.js | ||
event.js | ||
format.js | ||
interaction.js | ||
jar.mn | ||
l10n.js | ||
legacyaction.js | ||
listener.js | ||
log.js | ||
mach_commands.py | ||
mach_test_package_commands.py | ||
message.js | ||
modal.js | ||
moz.build | ||
navigate.js | ||
packets.js | ||
prefs.js | ||
print.js | ||
proxy.js | ||
reftest.js | ||
reftest.xhtml | ||
server.js | ||
stream-utils.js | ||
sync.js | ||
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 mayor’s 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/