Commit Graph

2991 Commits

Author SHA1 Message Date
Sebastian Hengst
30f55ebf1c Backed out changeset e7f4ffe10569 (bug 1406763) for linting failure at testing/marionette/session.js:317: Missing semicolon. r=backout
--HG--
extra : amend_source : 5d60f5989940fe9cda6810e34dc7637e586bd4b3
2017-10-12 20:51:44 +02:00
Sebastian Hengst
1237c730d7 Backed out changeset 0ce17eb985f1 (bug 1406763) 2017-10-12 20:51:38 +02:00
Sebastian Hengst
a19b8a7f82 Backed out changeset b85be3749e70 (bug 1406763) 2017-10-12 20:51:33 +02:00
Henrik Skupin
06432fe10f Bug 1406763 - Fix broken Assert.throws() calls for error class. r=ato
MozReview-Commit-ID: H1fw7VitAyO

--HG--
extra : rebase_source : 18c741c99eda35e1084dfb51ea7ae72569428ac4
2017-10-12 17:56:31 +02:00
Henrik Skupin
b16adff69a Bug 1406763 - Strip brackets around IPv6 addresses for proxy hosts. r=ato
The WebDriver specification requires IPv6 addresses to be always added
with brackets for proxy hosts. But Firefox itself handles those without
brackets for both the proxy host, and the noProxy settings.

MozReview-Commit-ID: 9vpvXjDDuxd

--HG--
extra : rebase_source : 0fa109cd8993df980e28c57a7ec3857e9e2ff932
2017-10-09 14:10:03 +02:00
Henrik Skupin
1f294b4563 Bug 1406763 - Refactor xpcshell proxy tests for fromJson and toJson. r=ato
To ensure that both methods are working as expected, they cannot be
used in combination for assertions.

MozReview-Commit-ID: 57jYmPejEq0

--HG--
extra : rebase_source : 59ffe0e20cab92535270e3ed3139a9439dc24107
2017-10-11 00:26:22 +02:00
Andreas Tolfsen
de6c4ea219 Bug 1403577 - Use named imports. r=whimboo
MozReview-Commit-ID: 9VXO5a0xFIq

--HG--
extra : rebase_source : 202b3a7c650db8abc5727bef95d3cd62a2d4a4c3
2017-09-30 18:11:17 +01:00
Andreas Tolfsen
abc1f1a9bf Bug 1403577 - Fix Message, Command, and Response docs. r=whimboo
MozReview-Commit-ID: A3iU083gjSx

--HG--
extra : rebase_source : b68b8d764101f39289e77f28d1738cd71ea495c5
2017-09-30 18:15:03 +01:00
Andreas Tolfsen
c8087a4a76 Bug 1403577 - Rename TYPE identifier to Type. r=whimboo
MozReview-Commit-ID: KqN7GPnI288

--HG--
extra : rebase_source : cd8863e33ba365f975a3492d2763861289b2e0bb
2017-09-30 18:28:32 +01:00
Andreas Tolfsen
3077e8cfec Bug 1403577 - Associate message origin enum with Message type. r=whimboo
The MessageOrigin enum is removed as a separate type and
exposed as Message.Origin.  The enum variants can be accessed as
Message.Origin.Client and Message.Origin.Server.

MozReview-Commit-ID: 1caPthSMIWx

--HG--
extra : rebase_source : 2e59d77e22ad1a35a072005131b45a4cfc8851a5
2017-09-30 18:13:23 +01:00
Andreas Tolfsen
f9fbf15007 Bug 1403577 - Rename toMsg/fromMsg to toPacket/fromPacket. r=whimboo
MozReview-Commit-ID: 3adU2xTHo1X

--HG--
extra : rebase_source : bd400cb879bfb54b78d87b733ef0610f538674f4
2017-09-30 18:10:39 +01:00
Andreas Tolfsen
92ab47fa39 Bug 1403577 - Add utility for truncating strings. r=whimboo
Introduces a utility that truncates strings in potentially arbitrary
object structures.  This allows JSON structures that contain long
strings to be shortened with an " ..." appendix for pretty logging
when data integrity is not a vital concern.

The maximum string length is currently set to 250 characters, which
is a number I have pulled out of a hat.

MozReview-Commit-ID: 2gauOvMzBCO

--HG--
extra : rebase_source : cea57d348a61ecd11a5a9cf564ed60737923f380
2017-09-30 17:06:29 +01:00
Andreas Tolfsen
1967321fc0 Bug 1407716 - Convert Marionette README to Markdown. r=maja_zf
This is a plain conversion of the Marionette README to Markdown
syntax.  The documentation itself is not great and could use more
love, but this is considered out of scope for this change.

DONTBUILD

MozReview-Commit-ID: IAdLyPPVFJH

--HG--
extra : rebase_source : be52f528144d70a50080f65475bd50f81b81e16b
2017-10-11 19:12:58 +01:00
Andreas Tolfsen
545d5ec9f4 Bug 1275273 - Make WebDriver:IsElementSelected conform to spec. r=maja_zf
Splits interaction.isElementSelected into two parts: one checking
whether the element DOM properties are selected/checked, and the
other checking accessibility.  This so this so that the selectedness
can be unit tested, as we do not have the capability of standing
up accessibility in the xpcshell tests.

The second part of this change moves us away from atom.isElementSelected
in favour of a specification conforming implementation in Marionette.
This is a word-by-word implementation of the Is Element Selected
command from WebDriver.

MozReview-Commit-ID: 93WDKbPcEIB
2017-10-11 15:24:03 +01:00
Andreas Tolfsen
4671781f91 Bug 1275273 - Remove isElementSelected atom. r=maja_zf
MozReview-Commit-ID: Doxodn1jz0r
2017-10-11 15:24:03 +01:00
Sebastian Hengst
ed86a2c11f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AgDEPuT8DNK
2017-10-11 11:41:04 +02:00
Sebastian Hengst
044775ad49 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-11 00:01:28 +02:00
Andreas Tolfsen
d416473355 Bug 1405325 - Align WebDriver:DeleteCookie with specification. r=maja_zf
The Delete Cookie command should not return an error if the cookie
does not exist.

The variable names "toDelete" and "candidateName" was also
juxtapositioned and wrong.  Here I am using the approximate names
used in the specification prose for clarity.

Fixes: https://github.com/mozilla/geckodriver/issues/989
MozReview-Commit-ID: 6IIGGpB1JWn

--HG--
extra : rebase_source : f3149d2195c0e871370eef3d2c1306a8212c5751
2017-10-03 16:25:57 +01:00
Andreas Tolfsen
d9dd4eae1b Bug 1405018 - Consider current browsing context on staleness check. r=whimboo
The element.isStale function does not take into account the current
browsing context when checking an element’s staleness.  This means,
for example, that an element in an <iframe> that gets retrieved, will
still be considered valid for as long as its associated document lives.

In WebDriver the expected behaviour is for the element reference to
only be valid for the current browsing context, meaning retrieving
the element reference when another browsing context is chosen should
return a stale element error.

Fixes: https://github.com/mozilla/geckodriver/issues/934
MozReview-Commit-ID: JpQVt78u5AN
2017-10-10 15:06:21 +01:00
Andreas Tolfsen
4325dc4c12 Bug 1407224 - Bump atom copyright info. r=automatedtester
The atoms were recently updated in https://bugzil.la/1375660, but
that changeset forgot to update the copyright information of this file.

DONTBUILD

MozReview-Commit-ID: CF6PYp6FlO0

--HG--
extra : rebase_source : 68f7a2a7909685f561e77a1f2a95db643add10d5
2017-10-10 13:47:17 +01:00
Andreas Tolfsen
74fbed7467 Bug 1404946 - Have PollPromise accept an options dictionary. r=whimboo
This patch moves the "timeout" and "interval" positional arguments
on PollPromise to an options dictionary.

In the following code example it is hard to know which argument means
what because they are not named:

	new PollPromise(resolve => resolve(), 100, 100);

Named arguments can be achieved in JavaScript using option
dictionaries, and this patch changes the input PollPromise takes so
that the above example looks like this:

	new PollPromise(resolve => resolve(), {timeout: 100, interval: 100};

This plays especially well with code in testing/marionette/element.js
as we already have named arguments that we can pass directly in through
an object literal, making the code more readable and more compact:

	let timeout = 42;
	new PollPromise(resolve => resolve(), {timeout});

MozReview-Commit-ID: GFWNGQAeWk1

--HG--
extra : rebase_source : 296843053e72bd07463a3018b06782f0dcc4828a
2017-10-02 17:13:57 +01:00
Andreas Tolfsen
a5fa626acc Bug 1404946 - Rename wait.until to PollPromise. r=whimboo
In formalising our synchronisation module, this renames wait.until
to PollPromise.  It is a specialisation of a promise, just like
TimedPromise, that poll-waits a condition for a given amount of time
before either resolving (passing) or rejecting (failing) the poll-wait.

Also fix and improve documentation.

MozReview-Commit-ID: AcP3C1qCgKA

--HG--
extra : rebase_source : d17bb3be0819b0ce9de55d44741836fc00b10f46
2017-10-02 16:50:11 +01:00
Andreas Tolfsen
f9a974ff5b Bug 1404946 - Rename wait module to sync. r=whimboo
testing/marionette/wait.js originally contained a utility for
poll-waiting on a condition.  The module has since been expanded to
also include TimedPromise, which is a specialisation of Promise that
is rejected after a duration.

The latter is not a wait utility but a synchronisation primitive.
This terminology also covers the first, and this change renames the
wait module to sync.

MozReview-Commit-ID: Fd3LqfpiEaU

--HG--
rename : testing/marionette/wait.js => testing/marionette/sync.js
extra : rebase_source : f48ff62ca2589ab0ce4a2f3d134d392e6f0be015
2017-10-02 16:38:33 +01:00
Sebastian Hengst
a867e38354 Backed out changeset 231a24060d29 (bug 1404946) for linting failure at testing/marionette/driver.js:3054:35 | 'f' is defined but never used. r=backout
--HG--
rename : testing/marionette/sync.js => testing/marionette/wait.js
extra : amend_source : 009478a65c290d4b7540723f157de57dbe19901e
2017-10-09 16:23:15 +02:00
Sebastian Hengst
b668981dca Backed out changeset 135c1e44a92b (bug 1404946) 2017-10-09 16:23:10 +02:00
Sebastian Hengst
c9b41f4cb7 Backed out changeset bf79d5b1b4b0 (bug 1404946) 2017-10-09 16:23:04 +02:00
Sebastian Hengst
3b0bd340dc Backed out changeset dfc766f28aec (bug 1404946) 2017-10-09 16:22:59 +02:00
Andreas Tolfsen
9b9dc004c1 Bug 1404946 - Have PollPromise accept an options dictionary. r=whimboo
This patch moves the "timeout" and "interval" positional arguments
on PollPromise to an options dictionary.

In the following code example it is hard to know which argument means
what because they are not named:

	new PollPromise(resolve => resolve(), 100, 100);

Named arguments can be achieved in JavaScript using option
dictionaries, and this patch changes the input PollPromise takes so
that the above example looks like this:

	new PollPromise(resolve => resolve(), {timeout: 100, interval: 100};

This plays especially well with code in testing/marionette/element.js
as we already have named arguments that we can pass directly in through
an object literal, making the code more readable and more compact:

	let timeout = 42;
	new PollPromise(resolve => resolve(), {timeout});

MozReview-Commit-ID: GFWNGQAeWk1

--HG--
extra : rebase_source : 06e558129f1e0acf3fbf8b6ca99c2407320b8e61
2017-10-02 17:13:57 +01:00
Andreas Tolfsen
0fb99a7cd4 Bug 1404946 - Rename wait.until to PollPromise. r=whimboo
Now that we have selective imports through Cu.import we can give
wait.until a more descriptive name that matches TimedPromise.
This patch renames the wait.until utility to PollPromise.

MozReview-Commit-ID: 9gsvAV27mMl

--HG--
extra : rebase_source : ea98d63013d709d52ce234446404233d9dbe572e
2017-10-02 16:59:25 +01:00
Andreas Tolfsen
448628bdcc Bug 1404946 - Add markup to wait.until's docs. r=whimboo
MozReview-Commit-ID: AcP3C1qCgKA

--HG--
extra : rebase_source : 441be4b537f8868bff5b8c2009e7586e85f66efc
2017-10-02 16:50:11 +01:00
Andreas Tolfsen
583c91fabd Bug 1404946 - Rename wait module to sync. r=whimboo
testing/marionette/wait.js originally contained a utility for
poll-waiting on a condition.  The module has since been expanded to
also include TimedPromise, which is a specialisation of Promise that
is rejected after a duration.

The latter is not a wait utility but a synchronisation primitive.
This terminology also covers the first, and this change renames the
wait module to sync.

MozReview-Commit-ID: Fd3LqfpiEaU

--HG--
rename : testing/marionette/wait.js => testing/marionette/sync.js
extra : rebase_source : 5e22ec5e26b5405c928ab26734a8d2ddc5d43785
2017-10-02 16:38:33 +01:00
Henrik Skupin
21872db2c4 Bug 1406150 - Always throw exceptions by using 'new'. r=maja_zf
MozReview-Commit-ID: GmI1PuSQwWU

--HG--
extra : rebase_source : 61d87d94d683094a579d776e10134dc961182969
2017-10-06 14:07:13 +02:00
Henrik Skupin
d81d7488e4 Bug 1375660 - Add instructions for updating the Selenium atoms. r=ato
MozReview-Commit-ID: CBVAAE5RSXI

--HG--
extra : rebase_source : e9f821d859c3335d53b9df73af0422f071d17649
2017-10-05 12:10:57 +02:00
Henrik Skupin
3187df7e34 Bug 1375660 - Update Selenium atom: clearElement. r=ato
MozReview-Commit-ID: I5JIz14o4Mq

--HG--
extra : rebase_source : 9d2376ba3e1c906abe139935a155e6c0a3b06f2e
2017-09-29 16:11:04 +02:00
Henrik Skupin
25aa4fa932 Bug 1375660 - Update Selenium atom: isElementSelected. r=ato
MozReview-Commit-ID: 4cBxsGQWuiz

--HG--
extra : rebase_source : 50c3b3a9308353f4a8a5c68c10b533fe5fcc2a6a
2017-09-29 16:08:54 +02:00
Henrik Skupin
b366b0394d Bug 1375660 - Update Selenium atom: isElementEnabled. r=ato
MozReview-Commit-ID: KZqTgIfcx1O

--HG--
extra : rebase_source : b2774fc00f726e37180bb0a9f629a07725595380
2017-09-29 16:05:35 +02:00
Henrik Skupin
ea781c9646 Bug 1375660 - Update Selenium atom: isElementDisplayed. r=ato
MozReview-Commit-ID: 64mDJNmw8B5

--HG--
extra : rebase_source : ba671d8a5e370347ba83185ab74a37b5a2c944db
2017-09-29 15:58:29 +02:00
Henrik Skupin
d3ff491666 Bug 1375660 - Update Selenium atom: getElementText. r=ato
MozReview-Commit-ID: GttrWxVDlGO

--HG--
extra : rebase_source : 8d92d1d5267d3330ebf7741119f58e88e57f794b
2017-09-29 15:56:23 +02:00
Henrik Skupin
7d2717c4aa Bug 1375660 - Remove Selenium atom: getElementAttribute. r=ato
MozReview-Commit-ID: 2vyuxmVE7Oi

--HG--
extra : rebase_source : 4dd33939a20285dbb4fdcc8add2551d8550a747e
2017-09-29 15:35:14 +02:00
Henrik Skupin
e956a3ec91 Bug 1375660 - Remove duplicate button 9 reference in test_accessibility. r=ato
The element 'button9' is moved off screen by CSS and as such it is not
marked as displayed.

MozReview-Commit-ID: KQCA2QfZLrT

--HG--
extra : rebase_source : bc7118324861781eaaab76005a19815a22df31e4
2017-10-02 23:58:01 +02:00
Wes Kocher
6dc323cfe9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Dxbv9TjDlDY
2017-10-04 16:47:41 -07:00
Wes Kocher
d8985b6e57 Merge inbound to central, a=merge
MozReview-Commit-ID: IUFdbLdYFhX
2017-10-04 16:37:59 -07:00
Andreas Tolfsen
823d5e70fb Bug 1405757 - Regenerate Marionette API docs. r=me
DONTBUILD

MozReview-Commit-ID: I6l7SfrE2W4
2017-10-04 18:35:12 +01:00
Andreas Tolfsen
2d16d4aa1f Bug 1405757 - Generate Marionette API docs to testing/marionette/doc/api. r=me
DONTBUILD

MozReview-Commit-ID: L3omU5NDVDh
2017-10-04 18:35:12 +01:00
Andreas Tolfsen
0298786e96 Bug 1405757 - Move Marionette API docs to subdirectory. r=me
DONTBUILD

MozReview-Commit-ID: HNO9CsRoQLo


--HG--
rename : testing/marionette/doc/AsyncChromeSender.html => testing/marionette/doc/api/AsyncChromeSender.html
rename : testing/marionette/doc/Command.html => testing/marionette/doc/api/Command.html
rename : testing/marionette/doc/DebuggerTransport.html => testing/marionette/doc/api/DebuggerTransport.html
rename : testing/marionette/doc/ElementClickInterceptedError.html => testing/marionette/doc/api/ElementClickInterceptedError.html
rename : testing/marionette/doc/ElementNotAccessibleError.html => testing/marionette/doc/api/ElementNotAccessibleError.html
rename : testing/marionette/doc/ElementNotInteractableError.html => testing/marionette/doc/api/ElementNotInteractableError.html
rename : testing/marionette/doc/GeckoDriver.html => testing/marionette/doc/api/GeckoDriver.html
rename : testing/marionette/doc/InputState.html => testing/marionette/doc/api/InputState.html
rename : testing/marionette/doc/InsecureCertificateError.html => testing/marionette/doc/api/InsecureCertificateError.html
rename : testing/marionette/doc/InvalidArgumentError.html => testing/marionette/doc/api/InvalidArgumentError.html
rename : testing/marionette/doc/JavaScriptError.html => testing/marionette/doc/api/JavaScriptError.html
rename : testing/marionette/doc/Message.html => testing/marionette/doc/api/Message.html
rename : testing/marionette/doc/Packet.html => testing/marionette/doc/api/Packet.html
rename : testing/marionette/doc/Response.html => testing/marionette/doc/api/Response.html
rename : testing/marionette/doc/StreamCopier.html => testing/marionette/doc/api/StreamCopier.html
rename : testing/marionette/doc/WebDriverError.html => testing/marionette/doc/api/WebDriverError.html
rename : testing/marionette/doc/accessibility.Checks.html => testing/marionette/doc/api/accessibility.Checks.html
rename : testing/marionette/doc/accessibility.html => testing/marionette/doc/api/accessibility.html
rename : testing/marionette/doc/accessibility.js.html => testing/marionette/doc/api/accessibility.js.html
rename : testing/marionette/doc/action.Action.html => testing/marionette/doc/api/action.Action.html
rename : testing/marionette/doc/action.InputState.Key.html => testing/marionette/doc/api/action.InputState.Key.html
rename : testing/marionette/doc/action.InputState.Null.html => testing/marionette/doc/api/action.InputState.Null.html
rename : testing/marionette/doc/action.InputState.Pointer.html => testing/marionette/doc/api/action.InputState.Pointer.html
rename : testing/marionette/doc/action.Key.html => testing/marionette/doc/api/action.Key.html
rename : testing/marionette/doc/action.Mouse.html => testing/marionette/doc/api/action.Mouse.html
rename : testing/marionette/doc/action.PointerParameters.html => testing/marionette/doc/api/action.PointerParameters.html
rename : testing/marionette/doc/action.Sequence.html => testing/marionette/doc/api/action.Sequence.html
rename : testing/marionette/doc/action.html => testing/marionette/doc/api/action.html
rename : testing/marionette/doc/action.html#.Chain => testing/marionette/doc/api/action.html#.Chain
rename : testing/marionette/doc/action.js.html => testing/marionette/doc/api/action.js.html
rename : testing/marionette/doc/addon.html => testing/marionette/doc/api/addon.html
rename : testing/marionette/doc/addon.js.html => testing/marionette/doc/api/addon.js.html
rename : testing/marionette/doc/assert.html => testing/marionette/doc/api/assert.html
rename : testing/marionette/doc/assert.js.html => testing/marionette/doc/api/assert.js.html
rename : testing/marionette/doc/atom.html => testing/marionette/doc/api/atom.html
rename : testing/marionette/doc/atom.js.html => testing/marionette/doc/api/atom.js.html
rename : testing/marionette/doc/browser.Context.html => testing/marionette/doc/api/browser.Context.html
rename : testing/marionette/doc/browser.Windows.html => testing/marionette/doc/api/browser.Windows.html
rename : testing/marionette/doc/browser.html => testing/marionette/doc/api/browser.html
rename : testing/marionette/doc/browser.js.html => testing/marionette/doc/api/browser.js.html
rename : testing/marionette/doc/capture.html => testing/marionette/doc/api/capture.html
rename : testing/marionette/doc/capture.js.html => testing/marionette/doc/api/capture.js.html
rename : testing/marionette/doc/cert.html => testing/marionette/doc/api/cert.html
rename : testing/marionette/doc/cert.js.html => testing/marionette/doc/api/cert.js.html
rename : testing/marionette/doc/cookie.html => testing/marionette/doc/api/cookie.html
rename : testing/marionette/doc/cookie.js.html => testing/marionette/doc/api/cookie.js.html
rename : testing/marionette/doc/driver.html => testing/marionette/doc/api/driver.html
rename : testing/marionette/doc/driver.js.html => testing/marionette/doc/api/driver.js.html
rename : testing/marionette/doc/element.Store.html => testing/marionette/doc/api/element.Store.html
rename : testing/marionette/doc/element.html => testing/marionette/doc/api/element.html
rename : testing/marionette/doc/element.js.html => testing/marionette/doc/api/element.js.html
rename : testing/marionette/doc/error.html => testing/marionette/doc/api/error.html
rename : testing/marionette/doc/error.js.html => testing/marionette/doc/api/error.js.html
rename : testing/marionette/doc/evaluate.html => testing/marionette/doc/api/evaluate.html
rename : testing/marionette/doc/evaluate.js.html => testing/marionette/doc/api/evaluate.js.html
rename : testing/marionette/doc/evaluate.this.Sandboxes.html => testing/marionette/doc/api/evaluate.this.Sandboxes.html
rename : testing/marionette/doc/event.js.html => testing/marionette/doc/api/event.js.html
rename : testing/marionette/doc/fonts/OpenSans-Bold-webfont.eot => testing/marionette/doc/api/fonts/OpenSans-Bold-webfont.eot
rename : testing/marionette/doc/fonts/OpenSans-Bold-webfont.svg => testing/marionette/doc/api/fonts/OpenSans-Bold-webfont.svg
rename : testing/marionette/doc/fonts/OpenSans-Bold-webfont.woff => testing/marionette/doc/api/fonts/OpenSans-Bold-webfont.woff
rename : testing/marionette/doc/fonts/OpenSans-BoldItalic-webfont.eot => testing/marionette/doc/api/fonts/OpenSans-BoldItalic-webfont.eot
rename : testing/marionette/doc/fonts/OpenSans-BoldItalic-webfont.svg => testing/marionette/doc/api/fonts/OpenSans-BoldItalic-webfont.svg
rename : testing/marionette/doc/fonts/OpenSans-BoldItalic-webfont.woff => testing/marionette/doc/api/fonts/OpenSans-BoldItalic-webfont.woff
rename : testing/marionette/doc/fonts/OpenSans-Italic-webfont.eot => testing/marionette/doc/api/fonts/OpenSans-Italic-webfont.eot
rename : testing/marionette/doc/fonts/OpenSans-Italic-webfont.svg => testing/marionette/doc/api/fonts/OpenSans-Italic-webfont.svg
rename : testing/marionette/doc/fonts/OpenSans-Italic-webfont.woff => testing/marionette/doc/api/fonts/OpenSans-Italic-webfont.woff
rename : testing/marionette/doc/fonts/OpenSans-Light-webfont.eot => testing/marionette/doc/api/fonts/OpenSans-Light-webfont.eot
rename : testing/marionette/doc/fonts/OpenSans-Light-webfont.svg => testing/marionette/doc/api/fonts/OpenSans-Light-webfont.svg
rename : testing/marionette/doc/fonts/OpenSans-Light-webfont.woff => testing/marionette/doc/api/fonts/OpenSans-Light-webfont.woff
rename : testing/marionette/doc/fonts/OpenSans-LightItalic-webfont.eot => testing/marionette/doc/api/fonts/OpenSans-LightItalic-webfont.eot
rename : testing/marionette/doc/fonts/OpenSans-LightItalic-webfont.svg => testing/marionette/doc/api/fonts/OpenSans-LightItalic-webfont.svg
rename : testing/marionette/doc/fonts/OpenSans-LightItalic-webfont.woff => testing/marionette/doc/api/fonts/OpenSans-LightItalic-webfont.woff
rename : testing/marionette/doc/fonts/OpenSans-Regular-webfont.eot => testing/marionette/doc/api/fonts/OpenSans-Regular-webfont.eot
rename : testing/marionette/doc/fonts/OpenSans-Regular-webfont.svg => testing/marionette/doc/api/fonts/OpenSans-Regular-webfont.svg
rename : testing/marionette/doc/fonts/OpenSans-Regular-webfont.woff => testing/marionette/doc/api/fonts/OpenSans-Regular-webfont.woff
rename : testing/marionette/doc/frame.Manager.html => testing/marionette/doc/api/frame.Manager.html
rename : testing/marionette/doc/frame.html => testing/marionette/doc/api/frame.html
rename : testing/marionette/doc/frame.js.html => testing/marionette/doc/api/frame.js.html
rename : testing/marionette/doc/global.html => testing/marionette/doc/api/global.html
rename : testing/marionette/doc/global.html#event => testing/marionette/doc/api/global.html#event
rename : testing/marionette/doc/index.html => testing/marionette/doc/api/index.html
rename : testing/marionette/doc/interaction.html => testing/marionette/doc/api/interaction.html
rename : testing/marionette/doc/interaction.js.html => testing/marionette/doc/api/interaction.js.html
rename : testing/marionette/doc/l10n.html => testing/marionette/doc/api/l10n.html
rename : testing/marionette/doc/l10n.js.html => testing/marionette/doc/api/l10n.js.html
rename : testing/marionette/doc/legacyaction.html => testing/marionette/doc/api/legacyaction.html
rename : testing/marionette/doc/legacyaction.js.html => testing/marionette/doc/api/legacyaction.js.html
rename : testing/marionette/doc/listener.js.html => testing/marionette/doc/api/listener.js.html
rename : testing/marionette/doc/message.js.html => testing/marionette/doc/api/message.js.html
rename : testing/marionette/doc/modal.Dialog.html => testing/marionette/doc/api/modal.Dialog.html
rename : testing/marionette/doc/modal.html => testing/marionette/doc/api/modal.html
rename : testing/marionette/doc/modal.js.html => testing/marionette/doc/api/modal.js.html
rename : testing/marionette/doc/navigate.html => testing/marionette/doc/api/navigate.html
rename : testing/marionette/doc/navigate.js.html => testing/marionette/doc/api/navigate.js.html
rename : testing/marionette/doc/packets.js.html => testing/marionette/doc/api/packets.js.html
rename : testing/marionette/doc/proxy.AsyncMessageChannel.html => testing/marionette/doc/api/proxy.AsyncMessageChannel.html
rename : testing/marionette/doc/proxy.SyncChromeSender.html => testing/marionette/doc/api/proxy.SyncChromeSender.html
rename : testing/marionette/doc/proxy.html => testing/marionette/doc/api/proxy.html
rename : testing/marionette/doc/proxy.js.html => testing/marionette/doc/api/proxy.js.html
rename : testing/marionette/doc/reftest.Runner.html => testing/marionette/doc/api/reftest.Runner.html
rename : testing/marionette/doc/reftest.html => testing/marionette/doc/api/reftest.html
rename : testing/marionette/doc/reftest.js.html => testing/marionette/doc/api/reftest.js.html
rename : testing/marionette/doc/scripts/linenumber.js => testing/marionette/doc/api/scripts/linenumber.js
rename : testing/marionette/doc/scripts/prettify/Apache-License-2.0.txt => testing/marionette/doc/api/scripts/prettify/Apache-License-2.0.txt
rename : testing/marionette/doc/scripts/prettify/lang-css.js => testing/marionette/doc/api/scripts/prettify/lang-css.js
rename : testing/marionette/doc/scripts/prettify/prettify.js => testing/marionette/doc/api/scripts/prettify/prettify.js
rename : testing/marionette/doc/server.TCPConnection.html => testing/marionette/doc/api/server.TCPConnection.html
rename : testing/marionette/doc/server.TCPListener.html => testing/marionette/doc/api/server.TCPListener.html
rename : testing/marionette/doc/server.html => testing/marionette/doc/api/server.html
rename : testing/marionette/doc/server.js.html => testing/marionette/doc/api/server.js.html
rename : testing/marionette/doc/session.Capabilities.html => testing/marionette/doc/api/session.Capabilities.html
rename : testing/marionette/doc/session.Proxy.html => testing/marionette/doc/api/session.Proxy.html
rename : testing/marionette/doc/session.Timeouts.html => testing/marionette/doc/api/session.Timeouts.html
rename : testing/marionette/doc/session.html => testing/marionette/doc/api/session.html
rename : testing/marionette/doc/session.js.html => testing/marionette/doc/api/session.js.html
rename : testing/marionette/doc/stream-utils.js.html => testing/marionette/doc/api/stream-utils.js.html
rename : testing/marionette/doc/styles/jsdoc-default.css => testing/marionette/doc/api/styles/jsdoc-default.css
rename : testing/marionette/doc/styles/prettify-jsdoc.css => testing/marionette/doc/api/styles/prettify-jsdoc.css
rename : testing/marionette/doc/styles/prettify-tomorrow.css => testing/marionette/doc/api/styles/prettify-tomorrow.css
rename : testing/marionette/doc/transport.js.html => testing/marionette/doc/api/transport.js.html
rename : testing/marionette/doc/wait.html => testing/marionette/doc/api/wait.html
rename : testing/marionette/doc/wait.js.html => testing/marionette/doc/api/wait.js.html
2017-10-04 18:35:12 +01:00
Andrew Halberstadt
6b65448914 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc

--HG--
extra : rebase_source : b81ab806cd2455f4e4fc761863fe699feadd0bb5
2017-09-26 10:47:22 -04:00
Vedant Chakravadhanula
d8b5c6edce Bug 1350897 - Tested quit shutdown/restart cause in Marionette Python client. r=whimboo
The Marionette server now returns a JSON containing the cause of shutdown which isn't included in previous Firefoxen. We needed to test this JSON in the quit and restart methods in the python client.

MozReview-Commit-ID: 8uL9tbNszcm

--HG--
extra : rebase_source : 7f01fe55444b034a5f07e42acac0224a981be881
2017-10-03 10:48:30 +05:30
Peter Major
3d736e3368 Bug 1402978 - Add cookie domain field to WebDriver:AddCookie r=ato
There were two issues with the previous implementation:
* Domain cookies were created as host only cookies (due to lack of
leading '.' characters)
* The cookie domain included in the Marionette request was completely
ignored, which always resulted in host-only cookies

MozReview-Commit-ID: 2JLQ3vwNMrb

--HG--
extra : rebase_source : c72ba077ef1b1a1f308e4c9a1d2093c18f7483ce
2017-09-29 15:22:50 +01:00
Andreas Tolfsen
9251f67abf Bug 1405004 - Remove unused imports from testing/marionette/element.js. r=whimboo
MozReview-Commit-ID: 7EoehdeV8tf

--HG--
extra : rebase_source : ce0a2a5e68b60514a4ec847df176ea4dd9452588
2017-10-02 17:20:57 +01:00
Andreas Tolfsen
31adf07368 Bug 1405279 - Lint for unused variables. r=whimboo
MozReview-Commit-ID: 6hUMzC21Tl

--HG--
extra : rebase_source : 64943c3d934674066abf385035db1949c1a71891
2017-10-03 14:36:09 +01:00