gecko-dev/testing/marionette
James Graham 027befb9ba Bug 1568991 - Ensure marionette event listeners are isolated from content, r=ato,bzbarsky
Internal marionette listeners should neither be visible to content
script, nor have their registation affected by changes made in
content. The evaluate method was breaking these constraints by
creating listeners in a sandbox with Xrays disabled, which is
appropriate to the injected script itself but not to the
harness-internal parts.

Use a different sandbox for the harness code compared to the injected
code, and move away from using onunload to using addEventListener for
the unload handler.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:48:50 +00:00
..
chrome Bug 1544916 - migrate dialog binding to Custom Element r=bgrins,whimboo 2019-06-04 17:28:16 +00:00
client Bug 1567824 - Add browser.contentblocking.introCount back to marionette.js and geckoinstance.py. r=whimboo 2019-07-22 07:57:25 +00:00
components Bug 1567824 - Add browser.contentblocking.introCount back to marionette.js and geckoinstance.py. r=whimboo 2019-07-22 07:57:25 +00:00
doc bug 1553544: marionette: improve links to client documentation; r=me a=doc 2019-05-27 12:20:18 +01:00
harness Backed out changeset 0eaeadceac47 (bug 1563040) requested by whimboo 2019-07-22 12:52:29 +03:00
prefs Backed out changeset 3e5aa7cb7460 (bug 1542244) for causing broken nightly builds a=backout 2019-05-27 17:17:26 +03:00
puppeteer/firefox Bug 1567406 - Use ids instead of classes for urlbar-input and urlbar-scheme. r=harry 2019-07-19 13:22:23 +00:00
test Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
.eslintrc.js Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8 2019-06-28 17:14:01 +02:00
accessibility.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
action.js Bug 1525338 - Limit context menu behavior to macOS. r=maja_zf 2019-07-20 14:46:39 +00:00
addon.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
assert.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
atom.js
browser.js Backed out changeset 0eaeadceac47 (bug 1563040) requested by whimboo 2019-07-22 12:52:29 +03:00
capabilities.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
capture.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
cert.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
cookie.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
dom.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
driver.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
element.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
error.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
evaluate.js Bug 1568991 - Ensure marionette event listeners are isolated from content, r=ato,bzbarsky 2019-07-29 08:48:50 +00:00
event.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
format.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
interaction.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
jar.mn
l10n.js Bug 467035 - Avoid leaking browser language via DTD r=Gijs,bzbarsky 2019-07-08 10:47:05 +00:00
legacyaction.js
listener.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
log.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
mach_commands.py Bug 1543725 Add marionette support to thunderbird r=ato,whimboo 2019-06-27 14:09:05 +00:00
mach_test_package_commands.py
message.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
modal.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
moz.build bug 1523962: marionette, geckodriver: fix published docs location; r=ahal 2019-02-04 13:28:47 +00:00
navigate.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
packets.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
prefs.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
proxy.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
README
reftest.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
reftest.xul Bug 1441308 - Core renderroot splitting changes r=kats,sotaro 2019-03-22 18:28:42 +00:00
server.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
stream-utils.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
sync.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
transport.js Bug 1561435 - Format testing/, a=automatic-formatting 2019-07-05 11:01:24 +02:00
wm.js

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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/