Henrik Skupin
9d19f8d07d
Bug 1247073 - Marionette DesktopInstance should not have extension logging enabled by default. r=ato
...
MozReview-Commit-ID: 10sC1eLrUU3
2016-02-10 01:31:00 +01:00
Carsten "Tomcat" Book
8b1607e1c3
Backed out 18 changesets (bug 1245153) for multiple test failures
...
Backed out changeset 18d54b8d4ae8 (bug 1245153)
Backed out changeset 98b6d0c053c0 (bug 1245153)
Backed out changeset c29a348930a4 (bug 1245153)
Backed out changeset f79252e92acc (bug 1245153)
Backed out changeset 9f3f1c358e47 (bug 1245153)
Backed out changeset 3b9e9a027fa7 (bug 1245153)
Backed out changeset 6da8099573f3 (bug 1245153)
Backed out changeset 63a56310a1b5 (bug 1245153)
Backed out changeset 5fe42d498a2a (bug 1245153)
Backed out changeset b3be2d2f3ac1 (bug 1245153)
Backed out changeset ad5bf32d8fef (bug 1245153)
Backed out changeset 68a6dda373d2 (bug 1245153)
Backed out changeset 6ebd9fde50c0 (bug 1245153)
Backed out changeset e41a5b41859a (bug 1245153)
Backed out changeset 048d70070751 (bug 1245153)
Backed out changeset eff85dc0eaa9 (bug 1245153)
Backed out changeset dc6460e0f336 (bug 1245153)
Backed out changeset 36526a2e8b00 (bug 1245153)
2016-02-11 17:05:41 +01:00
Andrew Halberstadt
8fa1fe045f
Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
...
MozReview-Commit-ID: 9I56x6Vnbf7
2016-01-25 09:55:57 -05:00
Andreas Tolfsen
308098741f
Bug 1245153 - Lint testing/marionette/frame.js; r=automatedtester
...
There should be no functional changes here.
MozReview-Commit-ID: 360y6vHYuC3
2016-02-03 19:41:03 +00:00
Andreas Tolfsen
73ee3f8d9d
Bug 1245153 - Rename frame-manager.js to frame.js; r=automatedtester
...
MozReview-Commit-ID: 3s6s2LccFac
2016-02-03 19:28:02 +00:00
Andreas Tolfsen
dbfee71802
Bug 1245153 - Rename actions.js to action.js; r=automatedtester
...
MozReview-Commit-ID: 58v7aMH2deS
2016-02-03 19:25:28 +00:00
Andreas Tolfsen
cfed1321e6
Bug 1245153 - Remove testing/marionette/ChromeUtils.js; r=automatedtester
...
This does not appear to be in use.
MozReview-Commit-ID: B4M335Lb1UM
2016-02-03 19:18:30 +00:00
Andreas Tolfsen
68f2b5133c
Bug 1245153 - Rename interactions.js to interaction.js; r=automatedtester
...
MozReview-Commit-ID: F51ENbkcoR2
2016-02-03 19:15:54 +00:00
Andreas Tolfsen
ef3803b9b2
Bug 1245153 - Rename elements.js to element.js; r=automatedtester
...
MozReview-Commit-ID: KAGGXOHMvyM
2016-02-03 19:14:10 +00:00
Andreas Tolfsen
02dea22eb2
Bug 1245153 - Remove testing/marionette/atoms; r=automatedtester
...
MozReview-Commit-ID: 1aeRNnvqmcS
2016-02-03 19:00:46 +00:00
Andreas Tolfsen
65f61ab2a3
Bug 1245153 - Add event.js module and remove EventUtils.js and sendkeys.js from manifest; r=automatedtester
...
MozReview-Commit-ID: 9KqUpfp6KHG
2016-02-03 18:56:45 +00:00
Andreas Tolfsen
ee96a9bc80
Bug 1245153 - Employ new modules throughout Marionette; r=automatedtester
...
This change removes almost all the remaining uses of loadSubScript and
global scope pollution. The only remaining use is for common.js, which
is resolved by a later bug for evaluating scripts.
MozReview-Commit-ID: 96h0yLElauq
2016-02-03 18:56:02 +00:00
Andreas Tolfsen
892f383cb0
Bug 1245153 - Convert interactions.js and elements.js to modules; r=automatedtester
...
To simplify the dependency chain and reduce the number of duplicate
functions in Marionette, a number of functions have been removed from
interactions.js and added to elements.js. This makes them more easily
re-usable and works around a circular dependency issue.
MozReview-Commit-ID: TZc3VZzHqM
2016-02-03 18:54:23 +00:00
Andreas Tolfsen
bd58f14efd
Bug 1245153 - Convert frame-manager.js to a module; r=automatedtester
...
MozReview-Commit-ID: HNCvHitE3Fh
2016-02-03 18:52:37 +00:00
Andreas Tolfsen
b200390cdf
Bug 1245153 - Convert atoms.js to a module; r=automatedtester
...
Through some very clever hacking of the arguments to each of the atoms,
we are able to contain this in a JS module: Atoms normally extract their
arguments directly from the function scoped `arguments' variable, but
by explicitly naming `window' as the last argument in the functions'
prototype we are able to set the `window' variable used inside.
This is obviously a big hack, but it encapsulates the atoms and we are
moving away from atoms in the long term.
MozReview-Commit-ID: KGO77fjRN2d
2016-02-03 18:50:17 +00:00
Andreas Tolfsen
ff63613475
Bug 1245153 - Convert EventUtils.js to a module; r=automatedtester
...
testing/marionette/sendkeys.js has been merged into the
new testing/marionette/event.js module, together with
testing/marionette/EventUtils.js.
There is a lot of functionality still left in this module that we can
probably remove, as it is not in use by Marionette.
MozReview-Commit-ID: GrjNuK9VPjp
2016-02-03 18:47:08 +00:00
Andreas Tolfsen
8db2daad10
Bug 1245153 - Wrap errors before they are passed through the IPC channel; r=automatedtester
...
error.wrap acts as a no-op if it is passed a prototype which is already
of the WebDriverError prototypal chain.
MozReview-Commit-ID: Gd9kUEvsgNv
2016-02-03 18:44:55 +00:00
Andreas Tolfsen
76045c0faf
Bug 1245153 - Add error.wrap to wrap Error prototypes; r=automatedtester
...
Generally, Error prototypes that are not based on WebDriverError must
be wrapped so that they can be serialised across the AsyncMessageChannel.
MozReview-Commit-ID: EtkpEOBhrST
2016-02-03 18:43:37 +00:00
Andreas Tolfsen
8825708b0c
Bug 1245153 - error.isError must recognise built-in Error prototypes; r=automatedtester
...
Due to a previous programming error, error.isError only recognised
the base Error prototype. It must also test for the other built-in
prototypes, such as TypeError et al.
MozReview-Commit-ID: HLkiOAg0Jl1
2016-02-03 18:41:37 +00:00
Armen Zambrano Gasparnian
94bf8a0308
Bug 1247076 - Marionette should block addons outside the profile from being installed. r=maja_zf
...
MozReview-Commit-ID: JXpRqneC7K9
2016-02-09 17:11:09 -05:00
Andreas Tolfsen
5589c8c719
Bug 1246411 - Constructors must use new keyword; r=automatedtester
...
MozReview-Commit-ID: 4fl0Cl3mf5j
2016-02-06 18:20:07 +00:00
Andreas Tolfsen
fc090ea033
Bug 1246411 - Remove unreachable break statements; r=automatedtester
...
MozReview-Commit-ID: 7l0OEwIKoHS
2016-02-06 18:19:46 +00:00
Andreas Tolfsen
f11a0bf326
Bug 1246411 - Access to properties is better written using dot notation; r=automatedtester
...
MozReview-Commit-ID: KlmrhB8GKpY
2016-02-06 18:19:25 +00:00
Andreas Tolfsen
506bd48357
Bug 1246411 - Yield statements must be inside generator functions; r=automatedtester
...
MozReview-Commit-ID: HHFkvior8gI
2016-02-06 18:19:02 +00:00
Andreas Tolfsen
0a688aac01
Bug 1240789 - Remove head+tail in Marionette xpcshell manifest; r=automatedtester
...
Was originally there to work around a bug in the B2G on-device test
runner. Can now safely be removed after bug 1240723 was landed.
MozReview-Commit-ID: EZGfvYcP9ER
2016-02-06 17:14:32 +00:00
Shruti Jasoria
8067e8d1c5
Bug 1125098 - Remove XML report functionality from Marionette test runner; r=maja_zf
2016-02-02 19:24:51 +05:30
Yura Zenevich
bf4542e28a
Bug 1244837 - only performing multiple attempts to retrieve an accessible object iff raisesAccessibilityExceptions capability is set to true. r=ato
2016-02-04 10:03:08 -05:00
Wes Kocher
d2fb8258af
Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests
...
Backed out changeset 653df21ca861 (bug 1231784)
Backed out changeset 0aac20bc3619 (bug 1231784)
Backed out changeset edcbd7c0aa36 (bug 1231784)
2016-02-03 17:38:12 -08:00
Andrew Halberstadt
60a7fd628b
Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
2016-01-25 09:55:57 -05:00
Andreas Tolfsen
79d8e4e7b3
Bug 1239987 - Change testing/marionette/client to use marionette.transport; r=automatedtester
2016-01-30 08:54:45 +00:00
Andreas Tolfsen
80ddf4b827
Bug 1239987 - Merge marionette-transport into marionette-driver; r=automatedtester
2016-01-30 08:53:51 +00:00
Peter Van der Beken
0647b9863e
Bug 1027734 - Convert mozPay to WebIDL. r=bzbarsky.
2016-01-26 18:38:03 +01:00
Phil Ringnalda
af6f40cd6a
Merge m-i to m-c, a=merge
2016-01-30 09:28:35 -08:00
Andreas Tolfsen
6354902914
Bug 1243704 - Serialise errors sent over IPC; r=automatedtester
...
This fixes an instance of passing an Error prototype over the message
manager as a CPOW. We solve this by marshaling the error, which is
now done automatically by the new AsyncMessageChannel. It allows us to
create an (almost) transparent promise-based interface between chrome-
and content contexts.
The patch also makes AsyncMessageChannel reusable on both sides of the
message listener, but it's currently not used at its maximum potential
because of the way the listener is architected.
2016-01-29 12:57:46 +00:00
Wes Kocher
82372cee01
Merge m-c to fx-team, a=merge
2016-01-29 13:44:12 -08:00
Shane Caraveo
65239ba594
Bug 1037483 adopt microformats-shiv for microformats v2 support, r=tantek
2016-01-29 10:58:45 -08:00
Andreas Tolfsen
6dc0887bc4
Bug 1140542 - Support capturing secondary chrome windows; r=automatedtester
...
A <window> object may not exist in popup windows that are spawned from
a <window>. document.documentElement is equivalent to <window> in
the case of the primary window, but lets us support the ChromeWindow's
document when it isn't.
2016-01-27 16:43:33 +00:00
Andreas Tolfsen
4c1ace68fa
Bug 1242459 - Replace dump() with logger in actions.js; r=automatedtester
...
Turns testing/marionette/actions.js into a JS module.
2016-01-27 19:33:48 +00:00
Andreas Tolfsen
4c7adabd69
Bug 1240601 - Set timeout on socket in transport.wait_for_port; r=automatedtester
...
If the client is able to connect but the server never sends any data,
the socket should time out in order for the function not to hang forever.
That said, polling for ports like this is inherently racy and we should
instead specify and bind what port we wish Marionette to start on in
the future.
2016-01-18 22:12:55 +00:00
Carsten "Tomcat" Book
1b898382e6
merge mozilla-inbound to mozilla-central a=merge
2016-01-27 11:59:49 +01:00
Mike Conley
edf686e4c6
Bug 1233497 - Allow Marionette tests to use CPOWs. r=ato
2016-01-08 15:10:22 -05:00
Wes Kocher
3770ce1f9b
Backed out 2 changesets (bug 1037483) for many ESLint failures
...
Backed out changeset de364648e24c (bug 1037483)
Backed out changeset c697940b6f5c (bug 1037483)
2016-01-26 11:26:23 -08:00
Shane Caraveo
ffbb54e301
Bug 1037483 adopt microformats-shiv for microformats v2 support, r=tantek
2016-01-26 10:52:59 -08:00
Andreas Tolfsen
6feb2b3c60
Bug 1153828 - Merge message listeners in AsyncContentSender; r=automatedtester
...
This change reduces the number of content frame script message senders
from three to one by imposing a message format.
2016-01-21 19:27:23 +00:00
David Burns
5ebf04803e
Bug 1243739 - Bump versions of marionette-driver, marionette-client and marionette-transport. r=ato
2016-01-29 12:36:40 +00:00
Edgar Chen
402ff4b575
Bug 1244042 - Set actions as a member of this
in order to support b2g; r=ato
2016-01-29 15:01:01 +08:00
David Burns
f5072d717f
Bug 1243739: Update marionette-driver dependecy for marionette-transport. r=ato
2016-01-29 15:10:46 +00:00
aleth
dc3d39f456
Bug 1242081 - Disable marionette xpcshell tests for Thunderbird. r=ato
2016-01-23 01:12:14 +01:00
Andreas Tolfsen
01fd550a39
Bug 1205687 - Add Mn test flavour and include tests in build manifests; r=jgraham
2015-09-18 14:53:37 +01:00
David Burns
23b41bad97
Bug 1241067: Handle Invalid Selector values when finding elements r=ato
...
This allows us to now handle errors and return the appropriate
errors to the clients
2016-01-21 21:07:36 +00:00