Граф коммитов

440 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen dd7a57fd22 Bug 1384517 - Fix testing/marionette API docs; r=automatedtester
Various fixes to make the generated API documentation from
testing/marionette somewhat easier to read.

MozReview-Commit-ID: F9duuQoOYBt

--HG--
extra : rebase_source : 3ade69773ceba42826aedef05b1371240b51cf82
2017-07-26 13:11:53 +01:00
Andreas Tolfsen 57744ed223 Bug 1378227 - Reintroduce window test for Marionette:GetWindowRect; r=whimboo
When linting the Marionette server code,
https://searchfox.org/mozilla-central/commit/de001d80b777ff0fcfa823a52e8d49b4981af040
accidentally removed the missing window check from the
Marionette:GetWindowRect command.  This change reintroduces the
check that was accidentally removed.

MozReview-Commit-ID: FkDOUKR2dIi

--HG--
extra : rebase_source : abc32aec9b005f341d1e1deb1bbc9a3132dd35cb
2017-07-09 17:15:28 +01:00
Henrik Skupin 29253dbd89 Bug 1374672 - Use documentURI instead of baseURI. r=automatedtester
baseURI isn't actually we have to check for to get the
current documents URI. Therefore documentURI exists.

MozReview-Commit-ID: CDhOZ8lU2qJ

--HG--
extra : rebase_source : c53f79468a7d319bd5e7aa40338fce0ca7299bd4
2017-07-07 15:36:08 +02:00
Henrik Skupin 618082fc0c Bug 1332122 - Re-register the browser for frame script reloads. r=automatedtester
With multi-processes for content reloads of the frame script
can happen at any time, and not only for remoteness changes.
As such the current browser has to be re-registered with the
new id of the listener.

MozReview-Commit-ID: 48MOZfuPTR9

--HG--
extra : rebase_source : 60e91ae7e1cdc942d0ac9a9dd3aac3baeccc5ddf
2017-07-06 18:02:19 +02:00
Henrik Skupin d373a550b4 Bug 1332122 - Remove unnecessary wrapper browser.startSession(). r=automatedtester
This wrapper just calls back into the MarionetteDriver, and
doesn't have any value. Removing it simplifies the call stack.

MozReview-Commit-ID: GH1xUHX12Xi

--HG--
extra : rebase_source : a3b9e57e63809c9936fdb2686ad6016339ea7bf7
2017-07-04 10:27:54 +02:00
Henrik Skupin c9b6fbb461 Bug 1378191 - Use JSON to send capabilities in "Marionette:listenersAttached" r=automatedtester
By not using the JSON format when sending the capabilities to the
frame script, the values cannot be correctly decoded. As result
the capabilities will be reset to their default values for the
listener, and can cause various failures.

MozReview-Commit-ID: KaryoJiyd30

--HG--
extra : rebase_source : 206e45755d3ea9b6cbf2f2022a9a364dcf22d78e
2017-07-04 21:03:36 +02:00
Henrik Skupin 3aa7fa87be Bug 1368439 - Retrieve content browser title via parent process. r=automatedtester
To retrieve the title of the currently selected content browser
it is not necessary to call into the frame script. Instead just
take the value from the parent process directly.

MozReview-Commit-ID: KEpYKLIydrJ

--HG--
extra : rebase_source : 8b179de7057f8655a81656bd4d95b1562edb9f54
2017-07-02 04:31:18 -07:00
Henrik Skupin 2af21d96fe Bug 1368439 - Remove unused GetAppCacheStatus command. r=automatedtester
MozReview-Commit-ID: ARETprd7n8t

--HG--
extra : rebase_source : cacb5051de689f73156f4460bcd47de0f09f2df1
2017-07-02 13:55:12 +02:00
Andreas Tolfsen de001d80b7 Bug 1376128 - Lint testing/marionette; r=automatedtester
MozReview-Commit-ID: DY4yCSBEZrN

--HG--
extra : rebase_source : d4e25369418cc72a6ee9f78d44b050a87403391d
2017-06-29 16:40:24 -07:00
Andreas Tolfsen 8f8617afe9 Bug 1376128 - Remove duplicated command entries; r=automatedtester
getContext and setContext are duplicated further up under the Marionette
serivce entries.

MozReview-Commit-ID: 2V5S2XG6wDw

--HG--
extra : rebase_source : 1f22adc294c063f014e3a0e884a01ed6a7fbe43e
2017-06-28 11:14:16 -07:00
Andreas Tolfsen b86d19c98a Bug 1376128 - Expose unrecognised eslint globals; r=automatedtester
In particular, XPCNativeWrapper should probably be made available
by default.

MozReview-Commit-ID: E1oYFyApbLi

--HG--
extra : rebase_source : 4e27ad6882bd4e43dadc97d4fd2a186e01510dfd
2017-06-28 11:04:14 -07:00
Andreas Tolfsen 54c2f296a7 Bug 1376128 - Use selective imports from error module; r=automatedtester
Instead of importing everything from the testing/marionette/error.js
module into the global scope, we need to be selective about what symbols
we want.

MozReview-Commit-ID: HZDAS0bs0GD

--HG--
extra : rebase_source : 14a300bb2cedc0716168d50846755a6faed83012
2017-06-28 11:01:49 -07:00
Andreas Tolfsen 0025816358 Bug 1376586 - Add back quitApplication command alias; r=davehunt
The quitApplication command was accidentally removed in 1e96a289d28a.
This adds it back as a recognised command alias in order to not break
geckodriver.

MozReview-Commit-ID: IZ0h8dv9ILt

--HG--
extra : rebase_source : 61550dae3a71973a2028d6384bc3eab388c17c21
2017-06-27 14:48:36 -07:00
Henrik Skupin 200da78a40 Bug 1223277 - Return immediately when click command closes tab or window. r=ato
In some cases the click command can trigger the closing of the
currently selected tab or window. To not cause a hang when waiting
for a response from the removed framescript, the tab and window
closing events have to be observed. Also the command has to return
immediately.

MozReview-Commit-ID: 9WeXryrKEJr

--HG--
extra : rebase_source : a7a23cf19e55eecbf957d48c2182a601d63d0909
2017-06-26 16:55:02 -07:00
James Graham 5fd8e99e6a Bug 1363428 - Add reftest-specific endpoints to Marionette, r=ato
This adds commands to start a reftest session, run a test, and end the
session. It as assumed that after you start a reftest session you will
just run reftests until you end the session. When starting a session
the user provides a string indicating when screenshots should be
taken, and an object mapping urls to a count of the number of times
that url is expected to be used in the session, to help with
caching. Running the tests takes a url to a test, an expected status,
a timeout, and a nested list of possible references, in which each
entry at a specific level is combined by OR and nested references are
combined by AND.

The implementation is heavilly inspired by the existing reftest
harness, starting a minimal window with no tabs, and loading the urls
directly in there. In order to get a screenshot in the e10s case we
have to pass the DRAW_VIEW and USE_WIDGET_LAYERS flags when taking the
screenshot.

For performance we heavily cache canvases; for references that will be
repeated we cache the full canvas with image, and we also cache a
single canvas to use for all other screenshots to avoid the overhead
of repeatedly creating a new canvas element.

MozReview-Commit-ID: JOFvtmH7tg
2017-06-24 12:03:11 +01:00
James Graham 90846c0258 Bug 1363428 - Make it possible to close tabless content windows, r=ato
MozReview-Commit-ID: 8xltsYCN3QA
2017-06-24 12:03:10 +01:00
James Graham dc2eb76fe1 Bug 1363428 - Handle top level reftest window specially in Marionette, r=ato
Because this window is a normal Firefox window but doesn't contain any
tabs, the normal Marionette functions for iterating over windows don't
work well. As a sort of hack, identify this window by the id of its
root element, and special case it when finding windows in Marionette.

MozReview-Commit-ID: LxPv13YDXDu
2017-06-24 12:03:10 +01:00
James Graham 860166c010 Bug 1363428 - Refactor Marionette switchToWindow implementation, r=ato
This allows other commands to implicitly change the window handle, by
calling findWindow with appropriate arguments to get a window
properties object and then passing that to setWindowHandle.

MozReview-Commit-ID: 4NpYxjsMM4T
2017-06-24 12:03:10 +01:00
James Graham 2994bec9c1 Bug 1363428 - Use an iterator for iterating windows, r=ato
MozReview-Commit-ID: FKsw9EST2H7
2017-06-24 12:03:10 +01:00
Wes Kocher ea40157e54 Backed out 16 changesets (bug 1363428) for Wr failures a=backout CLOSED TREE
Backed out changeset e86d6d5c2a25 (bug 1363428)
Backed out changeset a0687a63e7b9 (bug 1363428)
Backed out changeset 858dc97498c7 (bug 1363428)
Backed out changeset 582a8dce7932 (bug 1363428)
Backed out changeset 26ae2fd48587 (bug 1363428)
Backed out changeset 7fa8e20fe001 (bug 1363428)
Backed out changeset 829c13a75667 (bug 1363428)
Backed out changeset a94d2c400b04 (bug 1363428)
Backed out changeset ec4a6b343b37 (bug 1363428)
Backed out changeset c27b94038e71 (bug 1363428)
Backed out changeset d1c03b96d270 (bug 1363428)
Backed out changeset 60c1c95b46ca (bug 1363428)
Backed out changeset b0604d88973f (bug 1363428)
Backed out changeset f0b218979773 (bug 1363428)
Backed out changeset 1d359561373c (bug 1363428)
Backed out changeset 956d6c0a646e (bug 1363428)

MozReview-Commit-ID: K8EBA8ACZLC
2017-06-23 14:13:27 -07:00
James Graham c9e960f859 Bug 1363428 - Add reftest-specific endpoints to Marionette, r=ato
This adds commands to start a reftest session, run a test, and end the
session. It as assumed that after you start a reftest session you will
just run reftests until you end the session. When starting a session
the user provides a string indicating when screenshots should be
taken, and an object mapping urls to a count of the number of times
that url is expected to be used in the session, to help with
caching. Running the tests takes a url to a test, an expected status,
a timeout, and a nested list of possible references, in which each
entry at a specific level is combined by OR and nested references are
combined by AND.

The implementation is heavilly inspired by the existing reftest
harness, starting a minimal window with no tabs, and loading the urls
directly in there. In order to get a screenshot in the e10s case we
have to pass the DRAW_VIEW and USE_WIDGET_LAYERS flags when taking the
screenshot.

For performance we heavily cache canvases; for references that will be
repeated we cache the full canvas with image, and we also cache a
single canvas to use for all other screenshots to avoid the overhead
of repeatedly creating a new canvas element.

MozReview-Commit-ID: JOFvtmH7tg

--HG--
extra : rebase_source : ab5a2ef2e450b9bbdc6bc3c9487ed5dfda2c1d4b
2017-05-10 10:51:10 +01:00
James Graham 2859180072 Bug 1363428 - Make it possible to close tabless content windows, r=ato
MozReview-Commit-ID: 8xltsYCN3QA

--HG--
extra : rebase_source : d872ea84c98203485815b5082088ce148e2b4411
2017-06-09 18:28:10 +01:00
James Graham c5fde398ab Bug 1363428 - Handle top level reftest window specially in Marionette, r=ato
Because this window is a normal Firefox window but doesn't contain any
tabs, the normal Marionette functions for iterating over windows don't
work well. As a sort of hack, identify this window by the id of its
root element, and special case it when finding windows in Marionette.

MozReview-Commit-ID: LxPv13YDXDu

--HG--
extra : rebase_source : 8c0aa7a4aeff69e1d7c86ba7cbb6c421abd0c31d
2017-05-09 19:05:49 +01:00
James Graham 5615725398 Bug 1363428 - Refactor Marionette switchToWindow implementation, r=ato
This allows other commands to implicitly change the window handle, by
calling findWindow with appropriate arguments to get a window
properties object and then passing that to setWindowHandle.

MozReview-Commit-ID: 4NpYxjsMM4T

--HG--
extra : rebase_source : 9b53d8b10e2341624c3add5e9975aab47e0b320f
2017-05-09 18:59:09 +01:00
James Graham a79e689564 Bug 1363428 - Use an iterator for iterating windows, r=ato
MozReview-Commit-ID: FKsw9EST2H7

--HG--
extra : rebase_source : 87ae70226adf947e4b7990348ba94b277cff11d1
2017-05-09 17:49:09 +01:00
Ryan VanderMeulen dacc2546ba Backed out 6 changesets (bug 1223277) for causing Marionette test regressions.
Backed out changeset 85c86dc86122 (bug 1223277)
Backed out changeset aacd8d27b192 (bug 1223277)
Backed out changeset e6921a7229a3 (bug 1223277)
Backed out changeset b9f95fc81d23 (bug 1223277)
Backed out changeset 547744157e2a (bug 1223277)
Backed out changeset afbaa1138de3 (bug 1223277)
2017-06-23 12:15:23 -04:00
Henrik Skupin 9737c986a6 Bug 1223277 - Return immediately when click command closes tab or window. r=ato
In some cases the click command can trigger the closing of the
currently selected tab or window. To not cause a hang when waiting
for a response from the removed framescript, the tab and window
closing events have to be observed. Also the command has to return
immediately.

MozReview-Commit-ID: 9WeXryrKEJr

--HG--
extra : rebase_source : 682d67d51109c57a6de1a129492ebb5b635d7c56
2017-05-24 21:44:37 +02:00
Andreas Tolfsen b51e4887c3 Bug 1371733 - Move cookie service to chrome space; r=whimboo
The cookie service relies on the current document's
domain which is accessible from chrome space through
this.curBrowser.contentBrowser.contentURI.host.

As it is implemented currently, Marionette's cookie service jumps
between chrome- and content space more than necessary.  This incurs
significant serialisation and IPC overhead, considering that the domain,
hostname, and current path information is readily available in chrome
space.

This patch removes all cookie-related functionality from
testing/marionette/listener.js, and implements a pure chrome-only
version of the service.  It does, however, not try to fix conformance
issues with the WebDriver specification, of which there are many.

Some of the algorithms, especially to do with iteration over cookies,
implemented in cookie.iter, is also highly suboptimal.  I have not
fundamentally changed any algorithms, and so my recommendation is to
address this later when addressing potential conformance bugs.

MozReview-Commit-ID: Fgs8ocbDJxb

--HG--
extra : rebase_source : 16470d5341459e40b1ceed12728451d517bbc490
2017-06-12 18:05:22 +01:00
Andreas Tolfsen ef6448769d Bug 1371733 - Encode currentURL as URL object; r=whimboo
Instead of returning a string representation of the current locaton from
GeckoDriver#currentURL, we encode it as a URL object.

browser.Context#currentURL is also renamed to currentURI to reflect that
it now returns an nsIURI object.

The motivation behind this change is that we need to access a URL's port,
protocol, pathname, and hostname separately.

MozReview-Commit-ID: DM7gkrHhFpb

--HG--
extra : rebase_source : 1c8c3535bebc1e91a7f8ddaa88278cc78f66cf56
2017-06-13 14:46:59 +01:00
Andreas Tolfsen 12af514ac6 Bug 1375425 - Namespace WebDriver commands; r=automatedtester
We want to namespace the WebDriver commands so that we in the future can
use Marionette without activating the WebDriver functionality.  Today,
Marionette sets up a lot of state which is not needed if the client only
needs Marionette for installing an addon.

Namespacing the WebDriver commands is the first step towards a future
where features can be enabled and disabled at runtime.

MozReview-Commit-ID: E2lAGKb833F

--HG--
extra : rebase_source : 2d72274e4d85506f3af319e2ca36600128faa6f6
2017-06-22 13:07:02 +01:00
Andreas Tolfsen 670d9c4945 Bug 1375425 - Correct l10n service namespace; r=automatedtester
We don't want to support multiple namespaces in service endpoints as it
will add unecessary complexity when we in the future support enabling-
and disabling services on an individual level.  This patch drops the
"localization" namespace and exposes "L10n:*".

MozReview-Commit-ID: IhqG72vMohJ

--HG--
extra : rebase_source : 9d675e2915f8ae25bcc9fdedab3e2095038990f0
2017-06-22 12:59:33 +01:00
Andreas Tolfsen 09256d7b98 Bug 1375425 - Correct addon service namespace casing; r=automatedtester
Use the Gecko IPC name format.

MozReview-Commit-ID: 22h1ObWKs20

--HG--
extra : rebase_source : 2f5e4d2b79b82c00cafcedbec98c942af114bf6c
2017-06-22 12:55:00 +01:00
Andreas Tolfsen fa49e7fca2 Bug 1375425 - Namespace the Marionette service; r=automatedtester
The Marionette service provides commands that are specific to Marionette
operation, such as setting the target (context) for all other commands,
deciding whether to accept new connections, and quitting the browser.

MozReview-Commit-ID: 7NIbaAUzybx

--HG--
extra : rebase_source : c46395d87fb60214a9bd434e71dd2d622f050d91
2017-06-22 12:11:21 +01:00
Andreas Tolfsen 5c81559723 Bug 1375425 - Remove deprecated commands; r=automatedtester
The "timeouts" command could have been removed in Firefox 55, and
"quitApplication" can be removed with Firefox 56.

MozReview-Commit-ID: Fe7x8Yy0vSb

--HG--
extra : rebase_source : fc8b2c3c27f76a472cbdd8681efff06ca60e00f7
2017-06-22 10:42:55 +01:00
Andreas Tolfsen 3b4771f13f Bug 1375425 - Remove undefined commands; r=automatedtester
The getMarionetteID, sayHello, and setTestName commands are not
implemented but defined in the command list.

MozReview-Commit-ID: 7Yzgrp9qpeX

--HG--
extra : rebase_source : e34d2ef599525b3fc751a43a6edcd917a72b6725
2017-06-22 10:41:23 +01:00
Phil Ringnalda 1d977147a3 Backed out 3 changesets (bug 1372595) for build bustage everywhere except Linux32 and OS X
CLOSED TREE

Backed out changeset 6d9081d16588 (bug 1372595)
Backed out changeset 65c71d2ef601 (bug 1372595)
Backed out changeset 5cbd77708cd9 (bug 1372595)

MozReview-Commit-ID: KXCLB1Rt0KN
2017-06-22 19:23:30 -07:00
Andreas Tolfsen a1145f3db2 Bug 1372595 - Return cookie expiry timestamp; r=whimboo
The expires property on nsICookie2 does not exist and we are
consequently returning it as undefined, which gets omitted in the JSON
serialisation to the client.

This patch changes it to return the correct property so that the expiry
property is returned as part of the serialised cookie.

MozReview-Commit-ID: IIjf4NWnUoQ

--HG--
extra : rebase_source : 5e2dc27fb550a010dcbe40eee49d9ae31244d749
2017-06-16 16:41:59 +01:00
Andreas Farre 41db6cb2a1 Bug 1368072 - Use idleDispatchToMainThread instead. r=ato
Adapt to the move of nsIThread.idleDispatch to
nsIThreadManager.idleDispatchToMainThread.
2017-06-22 11:14:11 +02:00
Andreas Tolfsen 912429a173 Bug 1370863 - Remove log and getLogs commands from Marionette; r=automatedtester
MozReview-Commit-ID: HFZfJGwSqyT

--HG--
extra : rebase_source : 689dc42349854ad7ba6c717263dbb2c1260c7ae1
2017-06-07 14:17:41 +01:00
Andreas Tolfsen 93e3a7df66 Bug 1364319 - Make setWindowRect deterministic; r=automatedtester,maja_zf
The Marionette setWindowRect command is meant to provide a blocking API
for resizing and moving the window.  This currently has an intermittent
rate of ~0.254 with the WPT conformance test.

The main issue in providing a blocking API is that the DOM resize
event fires at a high rate and needs to be throttled.  We are able to
throttle this successfully with requestAnimationFrame, and before that,
a hard-coded 60 fps setTimeout delay.  To the naked eye, this appears to
synchronise window resizing before returning the resposne to the client.

However, occasionally the response contains the wrong window size.
window.outerWidth and window.outerHeight do not appear to be
deterministic as DOM properties are not synchronously populated.

Calls to ChromeWindow.outerWidth and ChromeWindow.outerHeight sometimes
also returns inconsistent values.  Tests, document in the bug, have
shown that somtimes, the returned window size from the setWindowRect
command is correct, and that the size from the subsequent getWindowRect
command is not.

By using a combination of Services.tm.mainThread.idleDispatch and a
blocking promise on not returning a response until the window size has
changed, we are able to reduce the intermittent rate significantly (by
over an order of magnitude).

As one would expect, delaying computation allows DOM property values to
populate, and as such does not address the underlying problem or make it
inconceivable that the race described above could re-appear, but it does
seem to be more reliable than the current approach.

MozReview-Commit-ID: Lf2yeeXH082

--HG--
extra : rebase_source : e27912fdcb6edbf825bf3168f3542ff2b4551b8b
2017-06-21 17:13:51 +01:00
Andreas Tolfsen 3aa20dc029 Bug 1364319 - Throttle setWindowRect with requestAnmationFrame; r=maja_zf
We need to delay the response from the setWindowRect command until the
window has had time to properly resize.  But because the DOM resize
event is not synchronous, we cannot rely on it alone to tell us when the
widget toolkit has actually completed the resizing.

To overcome this problem we throttle the event using
ChromeWindow.requestAnimationFrame to force the event loop to flush
before resolving the promise.

The setWindowRect command previously relied on a 15 FPS setTimeout delay
because requestAnimationFrame did not work with ChromeWindow, but this
seems to have since been fixed.  Local tests show that this approach is
more stable and produces less intermittent results.

MozReview-Commit-ID: D1ICb3F6vX3

--HG--
extra : rebase_source : ef5ef15db80ce78284672551581ce5d9cdde9189
2017-06-12 13:52:53 +01:00
Henrik Skupin 6d73c8d8f2 Bug 1368965 - Don't inject chrome window handles into window handles. r=ato
Chrome window handles and window handles are identifiers for different types
of windows. As such those should not be mixed up. Especially for chrome
windows without a tabbrowser we erroneously inject such a chrome window
handle. It can break those tests which assume it's a tab.

MozReview-Commit-ID: 1n2vOyfaSUh

--HG--
extra : rebase_source : 08ebff867a0075191908bc7aa535f3f8b386871d
2017-06-13 18:08:44 +02:00
Sebastian Hengst 1703ff1640 Backed out changeset 5afb0e2ec86c (bug 1364319) for failing Marionette's test_window_rect.py TestSize.test_resize_while_fullscreen on Linux opt. r=backout 2017-06-14 21:31:22 +02:00
Andreas Tolfsen 1011a734c2 Bug 1364319 - Throttle setWindowRect with requestAnmationFrame; r=maja_zf
We need to delay the response from the setWindowRect command until the
window has had time to properly resize.  But because the DOM resize
event is not synchronous, we cannot rely on it alone to tell us when the
widget toolkit has actually completed the resizing.

To overcome this problem we throttle the event using
ChromeWindow.requestAnimationFrame to force the event loop to flush
before resolving the promise.

The setWindowRect command previously relied on a 15 FPS setTimeout delay
because requestAnimationFrame did not work with ChromeWindow, but this
seems to have since been fixed.  Local tests show that this approach is
more stable and produces less intermittent results.

MozReview-Commit-ID: D1ICb3F6vX3

--HG--
extra : rebase_source : 786fe9843f2cbc29e4708dd8db279fd4a273fe51
2017-06-12 13:52:53 +01:00
Wes Kocher e4ecc079ae Backed out changeset 7492cd4b4cb3 (bug 1364319) for marionette failures in test_window_rect.py a=backout
MozReview-Commit-ID: GLjm9aICQjd
2017-06-13 16:18:02 -07:00
Andreas Tolfsen 0b692f9d4d Bug 1364319 - Throttle setWindowRect with requestAnmationFrame; r=maja_zf
We need to delay the response from the setWindowRect command until the
window has had time to properly resize.  But because the DOM resize
event is not synchronous, we cannot rely on it alone to tell us when the
widget toolkit has actually completed the resizing.

To overcome this problem we throttle the event using
ChromeWindow.requestAnimationFrame to force the event loop to flush
before resolving the promise.

The setWindowRect command previously relied on a 15 FPS setTimeout delay
because requestAnimationFrame did not work with ChromeWindow, but this
seems to have since been fixed.  Local tests show that this approach is
more stable and produces less intermittent results.

MozReview-Commit-ID: D1ICb3F6vX3

--HG--
extra : rebase_source : 90dba4abf64c820b11e1edb5e0e96133cbcfa76a
2017-06-12 13:52:53 +01:00
Wes Kocher 8b6a6ce487 Backed out 5 changesets (bug 1370863) for marionette test failures a=backout CLOSED TREE
Backed out changeset e4605e515ffd (bug 1370863)
Backed out changeset 986d20fecd11 (bug 1370863)
Backed out changeset b0a081dfd577 (bug 1370863)
Backed out changeset bb80abe6a298 (bug 1370863)
Backed out changeset 90b14cb85f51 (bug 1370863)

MozReview-Commit-ID: chPvs0RWbK
2017-06-12 17:18:38 -07:00
Andreas Tolfsen f2225720a9 Bug 1370863 - Remove log and getLogs commands from Marionette; r=automatedtester
MozReview-Commit-ID: HFZfJGwSqyT

--HG--
extra : rebase_source : eb04f0a3fa55d17eb5fef9bff3170ba5ce147eff
2017-06-07 14:17:41 +01:00
Henrik Skupin 62b45a10eb Bug 1368492 - Add currentURL property to the driver and context class. r=ato
Multiple commands rely on the current URL of the chrome window, or
the active content browser. The newly added properties help to ease
the retrieval of the URL for both chrome and content scope.

MozReview-Commit-ID: 2KAtRzHxxNc

--HG--
extra : rebase_source : 85e4192f8a01fe4e1735f7812612decba0db1ad5
2017-05-31 16:49:56 +02:00
Henrik Skupin 8907d0b29a Bug 1368492 - Add assert.browsingContext for parent process. r=ato
When accessing a property of the current content browser from
the parent process, the current top-level browsing context has
to be valid.

MozReview-Commit-ID: BZHJTk1j5Nj

--HG--
extra : rebase_source : 7e44fc6e05d7fb1429fb3e36e897cf51b3d9142f
2017-05-31 16:44:49 +02:00