2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2012-03-22 19:19:57 +04:00
|
|
|
marionette.jar:
|
|
|
|
% content marionette %content/
|
2015-03-20 00:12:58 +03:00
|
|
|
content/server.js (server.js)
|
|
|
|
content/driver.js (driver.js)
|
2016-02-03 22:25:28 +03:00
|
|
|
content/action.js (action.js)
|
2016-10-26 20:04:48 +03:00
|
|
|
content/legacyaction.js (legacyaction.js)
|
2016-05-10 15:29:21 +03:00
|
|
|
content/browser.js (browser.js)
|
2016-02-03 22:15:54 +03:00
|
|
|
content/interaction.js (interaction.js)
|
2016-01-15 00:12:13 +03:00
|
|
|
content/accessibility.js (accessibility.js)
|
2015-03-24 00:32:03 +03:00
|
|
|
content/listener.js (listener.js)
|
2016-02-03 22:14:10 +03:00
|
|
|
content/element.js (element.js)
|
2015-03-24 00:32:03 +03:00
|
|
|
content/simpletest.js (simpletest.js)
|
2016-02-03 22:28:02 +03:00
|
|
|
content/frame.js (frame.js)
|
2016-11-06 21:03:31 +03:00
|
|
|
content/cert.js (cert.js)
|
2016-02-03 21:56:45 +03:00
|
|
|
content/event.js (event.js)
|
2015-03-17 17:27:20 +03:00
|
|
|
content/error.js (error.js)
|
2015-09-26 19:12:01 +03:00
|
|
|
content/message.js (message.js)
|
2015-03-17 17:49:27 +03:00
|
|
|
content/dispatcher.js (dispatcher.js)
|
2015-03-20 18:46:46 +03:00
|
|
|
content/modal.js (modal.js)
|
2015-04-28 16:25:37 +03:00
|
|
|
content/proxy.js (proxy.js)
|
2015-10-13 18:52:26 +03:00
|
|
|
content/capture.js (capture.js)
|
2015-11-13 16:35:22 +03:00
|
|
|
content/cookies.js (cookies.js)
|
2016-02-03 22:00:46 +03:00
|
|
|
content/atom.js (atom.js)
|
2016-02-29 21:52:30 +03:00
|
|
|
content/evaluate.js (evaluate.js)
|
Bug 1123506 - Evaluate scripts in content with lasting side-effects; r=automatedtester
In order to achieve WebDriver parity, Marionette needs the ability to
evaluate scripts in content space with lasting side-effects. This means
that state modifications should affect behaviour and state of the browsing
context, and such transgress the boundaries of the sandbox.
This patch brings a new script evaluation module that is shared between
code in chrome- and content space. This brings the number of unique
script evaluation implementations in Marionette down from six to one.
evaluate.sandbox provides the main entry-point for execution. It is
compatible with existing Marionette uses of Execute Script and Execute
Async Script commands in Mozilla clients, but also provides a new stateful
sandbox for evaluation that should have lasting side-effects.
It is not expected that Mozilla clients, such as testing/marionette/client
and the Node.js client in Gaia, should have to change as a consequence
of this change.
A substantial change to the script's runtime environment is that many
globals that previously existed are now only exposed whenever needed.
This means for example that Simple Test harness functionality (waitFor,
ok, isnot, is, &c.) is only available when using a sandbox augmented
with a Simple Test harness adapter.
Conversely, this patch does not expose marionetteScriptFinished as a
callback to asynchronous scripts for sandboxes which sandboxName parameter
is undefined, because this is what determines if the script should be
evaluated under WebDriver conformance constraints. In all other cases
where sandboxName _is_ defined, the traditional marionetteScriptFinished
et al. runtime environment is preserved.
MozReview-Commit-ID: 8FZ6rNVImuC
2016-02-26 17:36:39 +03:00
|
|
|
content/logging.js (logging.js)
|
2016-07-19 20:47:33 +03:00
|
|
|
content/navigate.js (navigate.js)
|
2016-11-12 00:49:58 +03:00
|
|
|
content/l10n.js (l10n.js)
|
2016-11-01 01:00:21 +03:00
|
|
|
content/assert.js (assert.js)
|
2016-08-26 15:38:03 +03:00
|
|
|
content/addon.js (addon.js)
|
2016-12-31 15:21:34 +03:00
|
|
|
content/session.js (session.js)
|
2012-07-12 19:01:20 +04:00
|
|
|
#ifdef ENABLE_TESTS
|
2016-12-12 15:05:34 +03:00
|
|
|
content/test.xul (chrome/test.xul)
|
|
|
|
content/test2.xul (chrome/test2.xul)
|
2017-01-18 11:47:58 +03:00
|
|
|
content/test_dialog.dtd (chrome/test_dialog.dtd)
|
|
|
|
content/test_dialog.properties (chrome/test_dialog.properties)
|
2016-12-12 15:05:34 +03:00
|
|
|
content/test_dialog.xul (chrome/test_dialog.xul)
|
|
|
|
content/test_nested_iframe.xul (chrome/test_nested_iframe.xul)
|
|
|
|
content/test_anonymous_content.xul (chrome/test_anonymous_content.xul)
|
2012-07-12 19:01:20 +04:00
|
|
|
#endif
|