Given that all internal states for the virtual devices are getting
cleared when releasing actions, also the timer for double click
event detection has to be canceled.
--HG--
extra : rebase_source : c555ce65f2abb96ad7e91323e309f2114a743a77
Workaround until we have a sane dynamic user prompt implementation
(see bug 1477977). At least for now this patch will give us the
opportunity to handle multiple open user prompts.
--HG--
extra : rebase_source : 4a242daef46287051fc6be4c4d9353046d0f6559
Two cases were hiding permanently failing tests. I've commented those out and
filed bug 1487431.
Differential Revision: https://phabricator.services.mozilla.com/D4680
--HG--
extra : rebase_source : 232fa6173de8844a9c47d59926ec8e39d0640ecd
We were previously using the original test url as the lhs for each
comparison after the top level, rather than the previous rhs url as
expected.
Differential Revision: https://phabricator.services.mozilla.com/D4081
--HG--
extra : moz-landing-system : lando
The Skia GFX backend limits the dimension of canvases to a maximum
of 32767 for the width and height.
--HG--
extra : rebase_source : b0e1f60cc2f0c1b83e7cb7551216323983cb3407
Both "WebDriver:AcceptAlert" and "WebDriver:DismissAlert" have to
wait until the tab modal dialog has been closed.
--HG--
extra : rebase_source : 64742b03faa900fe301a684a17666e3366322f5b
The Marionette client raises a custom MarionetteException
instead of passing through the InvalidSessionIdException as
returned by the Marionette server.
--HG--
extra : rebase_source : 99fd02062e858f31e25d2ca0fb80940586772fb2
When receiving observer notifications during navigation, we log the
outerWindowID:
logger.debug(`Received observer notification ${topic} for ${winID}`);
This is no longer necessary as
https://bugzilla.mozilla.org/show_bug.cgi?id=1464469 introduced the
outerWindowID as a prefix to all log messages originating from this
frame script.
This patch adopts Logger#managerLevelFromPref from Log.jsm to set
and keep track of the Marionette logger's verbosity.
This has the advantage that we do not have to roll separate
implementations of Log for the child- and parent processes. It also
has the upside that the log level will be reflected when changed
at runtime through the use of an observer.
This is mostly self-explanatory. However, the patch also contains some minor
changes to frame scripts which expect to be able to call message manager
methods with a null target object, which stops working when they stop being
global objects.
MozReview-Commit-ID: HDT2RvK3F3L
--HG--
extra : rebase_source : bb3ce8861a261ff1bc28a28b3ff88ba0deaef552
This adds a new public API to the Marionette sync module that can
"pause" async functions for an arbitrary amount of hardcoded time.
This can be useful for debugging purposes.
This patch introduces stricted type checks for the sync module's
PollPromise and TimedPromise. This may seem excessive, but we have
had real and severe bugs in this area before.
A warning appears in the console when you run xpcshell tests that
the PREF_COMPLEX type is no longer, and we should therefore remove
it from Marionette as well.
This adds a new public API to the Marionette sync module that can
"pause" async functions for an arbitrary amount of hardcoded time.
This can be useful for debugging purposes.
This patch introduces stricted type checks for the sync module's
PollPromise and TimedPromise. This may seem excessive, but we have
had real and severe bugs in this area before.
Instead of `<xul:hbox class="textbox-input-box">`, consumers now should use
`<xul:moz-input-box />`. This covers the normal case and also handles
[spellcheck=true] while sharing much of the code within one class.
MozReview-Commit-ID: DjvT8sFq3SQ
--HG--
rename : toolkit/content/widgets/textbox.xml => toolkit/content/widgets/textbox.js
The setWindowRect capability is mandated by the WebDriver standard
and is an indication whether the driver supports manipulating the
window dimensions and position.
This will always be true for Firefox and always false for Fennec.
Change the switch-statement to only do assertions, and replace the
v variable with any parsed values before writing it to the matched
set of capabilities in one location.
Marionette builds the final javascript source to execute by
using the specified body, and wrapping it into an anonymouse
function.
Because all of this happens in a single line, a comment in
the last line of the script body will cause the source only
half-wise constructed, and the post-wrapping code assumed
as comment too.
MozReview-Commit-ID: CXtUKfr8jKO
--HG--
extra : rebase_source : 8f5e7bce8cb2bcd2d32409212003f9369f2f5a30
Marionette builds the final javascript source to execute by
using the specified body, and wrapping it into an anonymouse
function.
Because all of this happens in a single line, a comment in
the last line of the script body will cause the source only
half-wise constructed, and the post-wrapping code assumed
as comment too.
MozReview-Commit-ID: CXtUKfr8jKO
--HG--
extra : rebase_source : 931f1452202de6c8f441bbca0c217ce820189cf0
Added the flag 'capture --no' to the harness_unit tests. Stdout is now displayed by default.
MozReview-Commit-ID: HZj3vntLcKI
--HG--
extra : rebase_source : 4de9697cf8cae7ed1707049609812de6f6e22387
A couple of changes to ensure that the mochitest harness doesn't try to
start executing changes before the mochitest extension is loaded:
1. Fix the marionette driver to wait for an installed extension to
be started before returning from Addon:install
2. Wait for extension API onStartup() handlers to finish before
considering a webextension started.
MozReview-Commit-ID: 8YEdNn6s5qh
--HG--
extra : rebase_source : 67e9abadcda82d55ac73c33367ec65cdbf7b823d