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-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-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)
|
2012-07-12 19:01:20 +04:00
|
|
|
#ifdef ENABLE_TESTS
|
2016-02-06 20:34:10 +03:00
|
|
|
content/test.xul (harness/marionette/chrome/test.xul)
|
|
|
|
content/test2.xul (harness/marionette/chrome/test2.xul)
|
2016-07-25 13:17:06 +03:00
|
|
|
content/test_dialog.xul (harness/marionette/chrome/test_dialog.xul)
|
2016-02-06 20:34:10 +03:00
|
|
|
content/test_nested_iframe.xul (harness/marionette/chrome/test_nested_iframe.xul)
|
|
|
|
content/test_anonymous_content.xul (harness/marionette/chrome/test_anonymous_content.xul)
|
2012-07-12 19:01:20 +04:00
|
|
|
#endif
|
2012-05-19 00:30:04 +04:00
|
|
|
|
|
|
|
% content specialpowers %content/
|
2012-09-20 17:06:50 +04:00
|
|
|
content/specialpowers.js (../specialpowers/content/specialpowers.js)
|
2015-11-05 18:00:59 +03:00
|
|
|
content/SpecialPowersObserver.jsm (../specialpowers/content/SpecialPowersObserver.jsm)
|
2015-02-08 12:09:00 +03:00
|
|
|
* content/specialpowersAPI.js (../specialpowers/content/specialpowersAPI.js)
|
2012-09-20 17:06:50 +04:00
|
|
|
content/SpecialPowersObserverAPI.js (../specialpowers/content/SpecialPowersObserverAPI.js)
|
2012-05-19 00:30:04 +04:00
|
|
|
content/ChromePowers.js (../mochitest/tests/SimpleTest/ChromePowers.js)
|
2012-09-20 17:06:50 +04:00
|
|
|
content/MozillaLogger.js (../specialpowers/content/MozillaLogger.js)
|
2015-11-05 18:00:59 +03:00
|
|
|
content/MockFilePicker.jsm (../specialpowers/content/MockFilePicker.jsm)
|
|
|
|
content/MockColorPicker.jsm (../specialpowers/content/MockColorPicker.jsm)
|
|
|
|
content/MockPermissionPrompt.jsm (../specialpowers/content/MockPermissionPrompt.jsm)
|
|
|
|
content/Assert.jsm (../modules/Assert.jsm)
|