Commit Graph

1546 Commits

Author SHA1 Message Date
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
Yura Zenevich
a449cf989a Bug 1241562 - replacing logger error with debug when logging accessibility issues. r=ato
---
 testing/marionette/accessibility.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-01-21 13:34:33 -05:00
Andreas Tolfsen
c6f0e9ee12 Bug 1239373 - Tests for testing/marionette/message.js; r=automatedtester 2016-01-18 18:39:21 +00:00
Andreas Tolfsen
48f0196ad7 Bug 1239373 - Tests for testing/marionette/error.js; r=automatedtester 2016-01-18 18:38:47 +00:00
Andreas Tolfsen
c730c3d05e Bug 1239373 - Infrastructure for Marionette xpcshell unit tests; r=automatedtester 2016-01-18 18:38:08 +00:00
Sebastian Hengst
d9f48028b0 Backed out changeset e1480e6b2451 (bug 1241067) for failing Marionette tests. r=test-failure 2016-01-21 19:10:52 +01:00
David Burns
1a044fb154 Bug 1241067: Change string concats to use string templating. r=ato
This standardises the way we generate strings in element.js
2016-01-21 09:40:46 +00:00
David Burns
d71e36fe37 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 15:49:40 +00:00
Andreas Tolfsen
98d6335f24 Bug 1240576 - Use Preferences.jsm throughout Marionette; r=automatedtester
A distinct advantage is that try...catch statements are no longer used
to control the flow of code.
2016-01-18 22:05:30 +00:00
Shruti Jasoria
a79aeb60a3 Bug 1097676 - Create a convenience decorator for marionette.using_context(), r=ato 2016-01-20 11:34:50 -05:00
Andreas Tolfsen
2e7167558b Bug 1240610 - Align socket_timeout with Python's socket interface; r=automatedtester
When socket.settimeout(None) is set in Python's standard library this
is meant to be equivalent to disabling timeouts on socket operations.
marionette.transport should respect this.

This change set unbreaks the use of the --jdebugger flag to `./mach
marionette-test'.
2016-01-19 14:44:54 +00:00
Andreas Tolfsen
7c047c0be5 Bug 1240751 - Annotate bug component in testing/marionette; r=automatedtester 2016-01-19 16:05:43 +00:00
Wes Kocher
153a7ce5de Backed out changeset f3011bfcf124 (bug 1240576) for b2g xpcshell failures CLOSED TREE 2016-01-19 18:26:54 -08:00
Wes Kocher
a885a7ea86 Backed out changeset da8006976f16 (bug 1240751) for b2g xpcshell failures CLOSED TREE 2016-01-19 18:26:50 -08:00
Wes Kocher
211db0c698 Backed out changeset 481a3c76e313 (bug 1240610) for b2g xpcshell failures CLOSED TREE 2016-01-19 18:26:45 -08:00
Wes Kocher
c584212d99 Backed out changeset 2ee5142ae164 (bug 1240601) for b2g xpcshell failures CLOSED TREE 2016-01-19 18:26:42 -08:00
Andreas Tolfsen
908abf6e28 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
Andreas Tolfsen
cb10a0d7bc Bug 1240610 - Align socket_timeout with Python's socket interface; r=automatedtester
When socket.settimeout(None) is set in Python's standard library this
is meant to be equivalent to disabling timeouts on socket operations.
marionette.transport should respect this.

This change set unbreaks the use of the --jdebugger flag to `./mach
marionette-test'.
2016-01-19 14:44:54 +00:00
Andreas Tolfsen
270ff9c1d7 Bug 1240751 - Annotate bug component in testing/marionette; r=automatedtester 2016-01-19 16:05:43 +00:00
Andreas Tolfsen
fee45f3e02 Bug 1240576 - Use Preferences.jsm throughout Marionette; r=automatedtester
A distinct advantage is that try...catch statements are no longer used
to control the flow of code.
2016-01-18 22:05:30 +00:00