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

3898 Коммитов

Автор SHA1 Сообщение Дата
Coroiu Cristina dee1f146c8 Backed out changeset f4094fd9e1df (bug 1517528) for mochitest failures on a CLOSED TREE 2019-02-19 22:25:55 +02:00
Nicholas Cowles 6cab4dbf63 Bug 1517528 - Capstone: convert about:privatebrowsing using gandalf's conversion script, r=jaws,zbraniecki,flod
Differential Revision: https://phabricator.services.mozilla.com/D19250

--HG--
extra : moz-landing-system : lando
2019-02-19 19:17:14 +00:00
Henrik Skupin 7753f55f6b Bug 1502360 - [marionette] "Send Alert Text" has to use the text field's value property. r=ato
Depends on D20002

Differential Revision: https://phabricator.services.mozilla.com/D20004

--HG--
extra : moz-landing-system : lando
2019-02-16 00:03:21 +00:00
Henrik Skupin 7bf46d394a Bug 1502360 - [marionette] Check for valid prompt type in "Send Alert Text". r=ato
Depends on D20000

Differential Revision: https://phabricator.services.mozilla.com/D20002

--HG--
extra : moz-landing-system : lando
2019-02-16 00:03:11 +00:00
Henrik Skupin f5c6c6ad4a Bug 1502360 - [marionette] Raise "invalid argument" error in "Send Alert Text" if text is not of type string. r=ato
Depends on D19999

Differential Revision: https://phabricator.services.mozilla.com/D20000

--HG--
extra : moz-landing-system : lando
2019-02-16 00:01:51 +00:00
Nika Layzell 42ad0f2288 Bug 1522637 - Part 8: Allow 'element_stale' to work after process swap, r=ato
The element has never existed in the new process, so it gets a missing
error rather than a stale error in that case.

Depends on D19692

Differential Revision: https://phabricator.services.mozilla.com/D19829

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:23 +00:00
Razvan Maries d93d94cbc9 Backed out 9 changesets (bug 1522637) for causing bug 1528188. a=backout
Backed out changeset e4ca191d62a5 (bug 1522637)
Backed out changeset 540e5f318768 (bug 1522637)
Backed out changeset 0886a317a108 (bug 1522637)
Backed out changeset 4c7c512a262d (bug 1522637)
Backed out changeset d7eb272688be (bug 1522637)
Backed out changeset 67e838f49f4b (bug 1522637)
Backed out changeset 7e38890c72fa (bug 1522637)
Backed out changeset e6ca9ad18d15 (bug 1522637)
Backed out changeset 0f759e91eca8 (bug 1522637)
2019-02-15 18:21:36 +02:00
Nika Layzell a32ea7277b Bug 1522637 - Part 9: Allow 'element_stale' to work after process swap, r=ato
The element has never existed in the new process, so it gets a missing
error rather than a stale error in that case.

Depends on D19692

Differential Revision: https://phabricator.services.mozilla.com/D19829

--HG--
extra : moz-landing-system : lando
2019-02-14 18:52:18 +00:00
Henrik Skupin 39806892a5 Bug 1398095 - [marionette] Use promises internally for Execute (Async) Script. r=ato
Depends on D19753

Differential Revision: https://phabricator.services.mozilla.com/D19755

--HG--
extra : moz-landing-system : lando
2019-02-14 13:39:19 +00:00
Henrik Skupin ec77852b67 Bug 1398095 - [marionette] Always clean-up registered timers and listeners in evaluate.sandbox(). r=ato
Depends on D19751

Differential Revision: https://phabricator.services.mozilla.com/D19753

--HG--
extra : moz-landing-system : lando
2019-02-14 13:38:41 +00:00
David Burns a57f8b70fd Bug 1525829 - Add buildID to returned capabilities list for Marionette; r=ato
Add buildID to returned list of capabilities when a new session is started with
Marionette. This new capability will live in moz:buildID.

Differential Revision: https://phabricator.services.mozilla.com/D18974

--HG--
extra : moz-landing-system : lando
2019-02-13 10:23:30 +00:00
Geoff Brown 07a901c2e7 Bug 1526914 - Skip Mn test_execute_new_sandbox on Android; r=me,a=test-only 2019-02-12 09:24:16 -07:00
Geoff Brown a88a5434b6 Bug 1526913 - In Mn test_cookies.py allow for some clock difference between host and device; r=whimboo 2019-02-12 09:24:16 -07:00
Geoff Brown 88dd7e5076 Bug 1526084 - In Mn test_capabilities.py, allow for multiple links to sdcard; r=whimboo 2019-02-12 09:24:16 -07:00
Dhyey Thakore 8bb76c4883 Bug 1526650 - Fix broken links in Marionette Intro docs r=ato
Differential Revision: https://phabricator.services.mozilla.com/D19279

--HG--
extra : moz-landing-system : lando
2019-02-10 17:54:15 +00:00
Henrik Skupin 057415dcb4 Bug 1523234 - [marionette] Add debug output for handling focus in "WebDriver:NewWindow". r=ato
--HG--
extra : rebase_source : 4cf4d36cd2cd3914c93fac7cf30c65b2daf05a42
2019-02-18 11:37:21 +01:00
Andrew Halberstadt 01ca807367 Bug 1515746 - [flake8] Unsupport subdir .flake8 files and use new 'per-file-ignores' config instead, r=egao
This removes all .flake8 files except for the one at the root of the repo.
Instead we use the new 'per-file-ignores' config introduced in 3.7. To ignore
specific errors in a subdirectory, add a line like this to the root .flake8:

[per-file-ignores]
    path/to/subdir/*: E100, F200, ...

The reasons for this change are:

1. Unblock flake8 blacklist (bug 1367092).
2. Simplify configuration and code.
3. Encourage more consistent styling.
4. Improve performance.
5. Greater editor consistency.

Differential Revision: https://phabricator.services.mozilla.com/D18354

--HG--
extra : moz-landing-system : lando
2019-02-07 20:17:02 +00:00
Brian Grinstead 04c18529e4 Bug 1487065 - Implement popup-notification as a Custom Element r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D17699

--HG--
rename : toolkit/content/widgets/notification.xml => toolkit/content/widgets/popupnotification.js
extra : moz-landing-system : lando
2019-02-07 22:16:26 +00:00
Nick Alexander 2b09060ef2 Bug 1496773 - Part 2: Route Marionette startup via new "marionette-startup-requested" notification. r=ato
This just adds a layer of indirection between existing startup paths and a
new startup path that GeckoView(-consumers) will exploit.

Differential Revision: https://phabricator.services.mozilla.com/D17579

--HG--
extra : moz-landing-system : lando
2019-02-04 18:15:32 +00:00
Nick Alexander 813f94bb19 Bug 1496773 - Part 1: Feature test and accommodate navigator:geckoview inside Marionette. r=ato
This lays the foundation for Marionette to work inside
GeckoView-consuming Apps.

Differential Revision: https://phabricator.services.mozilla.com/D17578

--HG--
extra : moz-landing-system : lando
2019-02-04 18:15:52 +00:00
Andreas Tolfsen 8411b140ec bug 1523962: marionette, geckodriver: fix published docs location; r=ahal
Sphinx creates an additional directory level unless the entry starts
with "/".  By using the aboslute path we can define where we want
the documentation to end up.

This causes the geckodriver and Marionette documentation to move from:

	/testing/marionette/marionette
	/testing/geckodriver/geckodriver

to:

	/testing/marionette
	/testing/geckodriver

Depends on D18088

Differential Revision: https://phabricator.services.mozilla.com/D18089

--HG--
extra : moz-landing-system : lando
2019-02-04 13:28:47 +00:00
Andreas Tolfsen 5e7c80cad2 bug 1523962: marionette: correct link to client docs; r=ahal
Depends on D18087

Differential Revision: https://phabricator.services.mozilla.com/D18088

--HG--
extra : moz-landing-system : lando
2019-02-04 13:26:47 +00:00
Andreas Tolfsen 0c103a1c24 bug 1523962: marionette: publish client and harness api docs to firefox-source-docs.m.o; r=ahal
https://marionette-client.readthedocs.io/en/master/ is out of date
and generates a lot of warnings. As we are intending to decommission
the public PyPI release of marionette_driver, it makes sense to
publish the API documentation to https://firefox-source-docs.mozilla.org/
instead.

Differential Revision: https://phabricator.services.mozilla.com/D18087

--HG--
extra : moz-landing-system : lando
2019-02-01 18:53:57 +00:00
Henrik Skupin f6d90f1893 Bug 1524243 - [marionette] Correct calculation of timeout from milliseconds to seconds. r=jgraham
Fractions of a second are lost because the division
in getting the timeout value operates on decimal valus.
As such a timeout of 100ms will result in 0ms.

Depends on D18214

Differential Revision: https://phabricator.services.mozilla.com/D18219

--HG--
extra : moz-landing-system : lando
2019-01-31 14:31:11 +00:00
Henrik Skupin a655888574 Bug 1524243 - [marionette] Correctly handle script_timeout for WebDriver:{ExecuteScript,ExecuteAsyncScript}. r=jgraham
This fixes the following regressions as introduced by
bug 1510929 for the Marionette client.

1) The custom timeout as set isn't reset if the
   script times out.

2) Fractions of a second for the script timeout are
   lost because the division operates on decimal valus.
   As such a timeout of 100ms will result in 0ms.

Differential Revision: https://phabricator.services.mozilla.com/D18214

--HG--
extra : moz-landing-system : lando
2019-01-31 14:25:26 +00:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Henrik Skupin 51b9213cce Bug 1522413 - [marionette] Register event listeners before focusing the new window in WindowManagerMixin.open_chrome_window(). r=ato
Differential Revision: https://phabricator.services.mozilla.com/D17473

--HG--
extra : moz-landing-system : lando
2019-01-25 13:58:15 +00:00
Henrik Skupin e34e2827b5 Bug 1522408 - [marionette] Restore maximized window first before entering fullscreen or minimizing the window. r=ato
The window should always be restored first to the normal window state,
before a special state like fullscreen or minimized can be entered.

Right now this isn't done when going from a maximized window into
fullscreen mode, or when minimizing the window.

Differential Revision: https://phabricator.services.mozilla.com/D17472

--HG--
extra : moz-landing-system : lando
2019-01-25 13:16:24 +00:00
Henrik Skupin 6c1dfed37e Bug 1521527 - [marionette] Don't raise timeout errors for all window manipulation commands. r=ato
Marionette should do its best to get the browser into the requested
window state, but if it is not possible to do so, it shouldn't raise
a timeout error. This is mostly the case when running tests under
xvfb with no window manager running. Instead we just log the
message for further investigation.

Further the timeout value has to be set to a value which wouldn't
cause the commands to inappropriately fail due to animations, or
a slow machine.

Differential Revision: https://phabricator.services.mozilla.com/D17144

--HG--
extra : moz-landing-system : lando
2019-01-21 18:39:30 +00:00
Agboola Mukhtar 8f406c55f0 Bug 1517442 - [marionette] Use current instead of default startup time in raise_for_port r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D16609

--HG--
extra : moz-landing-system : lando
2019-01-16 19:54:53 +00:00
David Burns 4ba561d5fc Bug 1520137: Update documentation pointing to #interop instead of #ateam r=whimboo
As we move away from #ateam we need to make sure we that we point people to
the correct IRC Channel

Differential Revision: https://phabricator.services.mozilla.com/D16547

--HG--
extra : moz-landing-system : lando
2019-01-15 14:14:10 +00:00
Hiroyuki Ikezoe 6d4cb007b1 Bug 1423013 - Set explicit minimum-scale=1 to avoid overflow:hidden area reachable and visible. r=botond
Depends on D15344

Differential Revision: https://phabricator.services.mozilla.com/D15345

--HG--
extra : moz-landing-system : lando
2019-01-15 09:48:06 +00:00
Oana Pop Rus e6a470fee9 Backed out 3 changesets (bug 1423013) for failing at reftests/transform/compound-1a.html on a CLOSED TREE
Backed out changeset 91624c065046 (bug 1423013)
Backed out changeset 050a2ef2393d (bug 1423013)
Backed out changeset db57901030e9 (bug 1423013)
2019-01-15 09:35:57 +02:00
Hiroyuki Ikezoe f3f82aedc4 Bug 1423013 - Set explicit minimum-scale=1 to avoid overflow:hidden area reachable and visible. r=botond
Depends on D15344

Differential Revision: https://phabricator.services.mozilla.com/D15345

--HG--
extra : moz-landing-system : lando
2019-01-15 03:27:53 +00:00
Henrik Skupin b67d0c309e Bug 1478358 - [marionette] Don't wait for resize events in "Set Window Rect". r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16338

--HG--
extra : moz-landing-system : lando
2019-01-14 15:24:54 +00:00
Geoffrey Sneddon 461f107cb9 Bug 1519552 - Disable test_reftest.py on Android r=jgraham,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D16456

--HG--
extra : moz-landing-system : lando
2019-01-14 14:50:15 +00:00
Geoffrey Sneddon 49eaed4f5c Bug 1510696 - Make width/height of reftests configurable over Marionette r=jgraham,ato
Depends on D13282

Differential Revision: https://phabricator.services.mozilla.com/D13283

--HG--
extra : moz-landing-system : lando
2019-01-11 18:11:30 +00:00
Geoffrey Sneddon 74ca9b1d5f Bug 1510695 - Fix URL comparisons when loading reftests r=jgraham
Depends on D13281

Differential Revision: https://phabricator.services.mozilla.com/D13282

--HG--
extra : moz-landing-system : lando
2019-01-11 18:11:34 +00:00
Geoffrey Sneddon 9b800090dd Bug 1510693 - Tests for marionette's reftest runner r=jgraham,ato
Differential Revision: https://phabricator.services.mozilla.com/D13281

--HG--
extra : moz-landing-system : lando
2019-01-11 18:11:44 +00:00
Henrik Skupin 43ec1824b4 Bug 1512336 - [marionette] Fix hang in TestNavigate.test_set_location_through_execute_script. r=ato
An unexpected remoteness change can cause the
"WebDriver:FindElement" command to hang forever.
To avoid that already pre-load a web page which
enables the remoteness flag.

Differential Revision: https://phabricator.services.mozilla.com/D16306

--HG--
extra : moz-landing-system : lando
2019-01-11 13:20:29 +00:00
Henrik Skupin 0965487e73 Bug 1334095 - [marionette] Re-enable TestNavigate.test_about_blank_for_new_docshell on Android. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16287

--HG--
extra : moz-landing-system : lando
2019-01-11 12:22:52 +00:00
Cosmin Sabou d67c07e5d3 Backed out 3 changesets (bug 1510695, bug 1510696, bug 1510693) for causing marionette reftest failures.
Backed out changeset daf05866f9dd (bug 1510696)
Backed out changeset aa26fbe413c4 (bug 1510695)
Backed out changeset bd2cb6b0a391 (bug 1510693)
2019-01-10 22:04:11 +02:00
Geoffrey Sneddon d24f6c35c3 Bug 1510696 - Make width/height of reftests configurable over Marionette r=jgraham,ato
Depends on D13282

Differential Revision: https://phabricator.services.mozilla.com/D13283

--HG--
extra : moz-landing-system : lando
2019-01-10 17:22:54 +00:00
Geoffrey Sneddon d58a6fd9ba Bug 1510695 - Fix URL comparisons in reftestWait r=jgraham
Depends on D13281

Differential Revision: https://phabricator.services.mozilla.com/D13282

--HG--
extra : moz-landing-system : lando
2019-01-10 17:22:52 +00:00
Geoffrey Sneddon dd75d2c4bd Bug 1510693 - Tests for marionette's reftest runner r=jgraham,ato
Differential Revision: https://phabricator.services.mozilla.com/D13281

--HG--
extra : moz-landing-system : lando
2019-01-10 17:22:49 +00:00
Henrik Skupin 941be3d64d Bug 1441437 - [marionette] Remove dependency to cssTransform.html and cssTransform2.html in test_visibility.py. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16182

--HG--
extra : moz-landing-system : lando
2019-01-10 14:27:20 +00:00
Henrik Skupin ccadd49d38 Bug 1507067 - [marionette] Listen for "visibilitychange" event in content process. r=ato
To detect when the window got minimized usally "visibilitychange" events
are fired to the content window. The "WebDriver:MinimizeWindow" command
has to wait for those.

Depends on D16096

Differential Revision: https://phabricator.services.mozilla.com/D16098

--HG--
extra : moz-landing-system : lando
2019-01-10 14:26:52 +00:00
Henrik Skupin 96e367f76b Bug 1507067 - [marionette] Add support for EventListener callback to WebElementEventTarget. r=ato
Depends on D16095

Differential Revision: https://phabricator.services.mozilla.com/D16096

--HG--
extra : moz-landing-system : lando
2019-01-10 14:26:26 +00:00
Henrik Skupin 5638bd8735 Bug 1507067 - [marionette] Add logging of received DOM events to ContentEventObserverService. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16095

--HG--
extra : moz-landing-system : lando
2019-01-10 14:26:02 +00:00
Henrik Skupin c820e2d61d Bug 1504756 - [marionette] Added opening a new browsing context to Marionette client. r=ato
The patch updates the Marionette client and all Marionette unit
tests to make use of the new `Create Window` command as much as
possible.

Depends on D13663

Differential Revision: https://phabricator.services.mozilla.com/D13664

--HG--
extra : moz-landing-system : lando
2019-01-10 10:13:17 +00:00
Henrik Skupin c631c98202 Bug 1504756 - [marionette] Added "WebDriver:NewWindow" command to open a new top-level browsing context. r=ato
The patch adds the end-point for the recently defined `New Window`
command (https://github.com/w3c/webdriver/issues/1138). It allows
to open a new top-level browsing context as tab or as window.

Depends on D13662

Differential Revision: https://phabricator.services.mozilla.com/D13663

--HG--
extra : moz-landing-system : lando
2019-01-10 10:14:24 +00:00
Henrik Skupin ea87c4dedf Bug 1504756 - [marionette] Remove default timeout from PollPromise. r=ato
By default PollPromise has to behave similar to a normal Promise
and wait forever until it gets resolved or rejected.

Depends on D13662

Differential Revision: https://phabricator.services.mozilla.com/D15907

--HG--
extra : moz-landing-system : lando
2019-01-10 10:12:24 +00:00
Henrik Skupin 74c45eb2ed Bug 1504756 - [marionette] Use waitForObserverTopic when waiting for observer notifications. r=ato
Depends on D13661

Differential Revision: https://phabricator.services.mozilla.com/D13662

--HG--
extra : moz-landing-system : lando
2019-01-10 10:14:22 +00:00
Henrik Skupin a384666194 Bug 1504756 - [marionette] Use waitForMessage() to wait for an expected message manager message. r=ato
Depends on D13660

Differential Revision: https://phabricator.services.mozilla.com/D13661

--HG--
extra : moz-landing-system : lando
2019-01-10 10:12:17 +00:00
Henrik Skupin 2575586fb6 Bug 1504756 - [marionette] Use waitForEvent() when waiting for events. r=ato
Depends on D13659

Differential Revision: https://phabricator.services.mozilla.com/D13660

--HG--
extra : moz-landing-system : lando
2019-01-10 10:10:47 +00:00
Henrik Skupin be3136d0ab Bug 1504756 - [marionette] Add executeSoon() to run tasks on the main thread. r=ato
To be closer to other test harnesses which are using executeSoon()
to run a task on the main thread, this patch adds the same
method to Marionette's sync module.

Differential Revision: https://phabricator.services.mozilla.com/D13659

--HG--
extra : moz-landing-system : lando
2019-01-10 10:10:14 +00:00
shindli e196689816 Merge inbound to mozilla-central. a=merge 2019-01-09 23:42:10 +02:00
Henrik Skupin 6740c4d043 Bug 1517196 - [marionette] Raise "no such element" error in "Switch To Frame" for unknown elements. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16049

--HG--
extra : moz-landing-system : lando
2019-01-09 16:21:58 +00:00
Henrik Skupin 254cb0fb45 Bug 1422741 - [marionette] Re-enable test TestPageLoadStrategy.test_strategy_after_remoteness_change. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16014

--HG--
extra : moz-landing-system : lando
2019-01-09 11:11:01 +00:00
Cosmin Sabou 1e50aa1d21 Merge mozilla-central to mozilla-inbound.
--HG--
rename : devtools/client/shared/multi-e10s-helper.js => devtools/shared/multi-e10s-helper.js
rename : toolkit/themes/shared/numberbox.css => toolkit/themes/shared/numberinput.css
extra : rebase_source : 3aa7c3b9f560aaa47259594ce1e52f1bfbbad169
2019-01-09 18:16:13 +02:00
James Graham 2ded4bc708 Bug 1511875 - Improve the attempt to set window focus in reftests, r=ato
This probably isn't a complete solution, but if we aren't the active
window try to use the focusManager to set us as the active window. A
more complete solution will be easier once
https://bugzilla.mozilla.org/show_bug.cgi?id=1335085 lands.

Differential Revision: https://phabricator.services.mozilla.com/D15966

--HG--
extra : moz-landing-system : lando
2019-01-09 11:11:03 +00:00
Kristian Klausen b21f9d63a7 bug 1385706: marionette: fix WebDriver:TakeScreenshot to use viewport bounds; r=ato
The WebDriver:TakeScreenshot command relied on the document element's
clientWidth/clientHeight, but should according to the WebDriver
specification use the viewport's dimensions.

Thanks-to: JinaJita <jitajina@gmail.com>
2019-01-09 15:06:50 +00:00
Noemi Erli 94a824b783 Backed out changeset 76be2a9fde9e (bug 1385706) per developer's request CLOSED TREE 2019-01-09 17:00:32 +02:00
Andreas Tolfsen e490d97127 bug 1385706: marionette: fix WebDriver:TakeScreenshot to use viewport bounds; r=ato
The WebDriver:TakeScreenshot command relied on the document element's
clientWidth/clientHeight, but should according to the WebDriver
specification use the viewport's dimensions.

Thanks-to: JinaJita <jitajina@gmail.com>
2019-01-09 14:49:38 +00:00
Henrik Skupin 12ae3deec9 Bug 1369923 - [marionette] Re-enable test TestNavigate.test_type_to_non_remote_tab. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D15956

--HG--
extra : moz-landing-system : lando
2019-01-08 19:58:18 +00:00
reimu d8cfc514e4 Bug 1128997 - Support indefinite script timeout r=ato
Differential Revision: https://phabricator.services.mozilla.com/D13181

--HG--
extra : moz-landing-system : lando
2019-01-06 23:04:41 +00:00
Timothy Guan-tin Chien bd38b39f8a Bug 1512048 - Convert tabmodalprompt binding to JSM module r=Gijs
This converts the tabmodalprompt binding to a class, to be constructed along side with the element
by TabModalPromptBox.

TabModalPromptBox will keep the instances in a map and pass it to the callers, instead of the element.
The tests and callers can access the class instance by passing the element reference to the map.

Differential Revision: https://phabricator.services.mozilla.com/D15505

--HG--
rename : toolkit/components/prompts/content/tabprompts.xml => toolkit/components/prompts/content/tabprompts.jsm
extra : moz-landing-system : lando
2019-01-04 19:29:34 +00:00
Henrik Skupin 3d3e53485f Bug 1517587 - [marionette] Get/Set Window Rect should not return window state. r=ato
As decided during the last TPAC meeting the window rect commands
should not return the window state.

Differential Revision: https://phabricator.services.mozilla.com/D15681

--HG--
extra : moz-landing-system : lando
2019-01-04 13:51:24 +00:00
Cosmin Sabou 2545cf7d92 Backed out changeset 1f465582eb8c (bug 1517587) for causing build bustages on gfx/angle/targets/angle_common/moz.build. CLOSED TREE 2019-01-04 15:41:42 +02:00
Henrik Skupin 557f51b9b5 Bug 1517587 - [marionette] Get/Set Window Rect should not return window state. r=ato
As decided during the last TPAC meeting the window rect commands
should not return the window state.

Differential Revision: https://phabricator.services.mozilla.com/D15681

--HG--
extra : moz-landing-system : lando
2019-01-04 12:56:09 +00:00
Andreas Tolfsen 9ed472d436 bug 1510929: marionette: remove scriptTimeout parameter; r=whimboo
Depends on D15583

Differential Revision: https://phabricator.services.mozilla.com/D15584

--HG--
extra : moz-landing-system : lando
2019-01-03 11:20:16 +00:00
Andreas Tolfsen 3a05ef17b4 bug 1510929: marionette: stop using scriptTimeout parameter; r=whimboo
By stopping to use the scriptTimeout parameter with the
WebDriver:ExecuteScript and WebDriver:ExecuteAsyncScript commands
in the Marionette Python client, we can remove it from the server.

Differential Revision: https://phabricator.services.mozilla.com/D15583

--HG--
extra : moz-landing-system : lando
2019-01-03 14:08:13 +00:00
Henrik Skupin af783b2cb8 Bug 1504201 - [marionette] Temporarily skip TestScreenCaptureChrome.test_formats on Linux. r=whimboo 2019-01-02 11:26:06 +01:00
Jan de Mooij 78e73f70bf Bug 1513783 - Give Marionette sandbox its own ChromeUtils object. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D14844

--HG--
extra : moz-landing-system : lando
2018-12-20 21:15:11 +00:00
Narcis Beleuzu 0861b235f4 Backed out 2 changesets (bug 1510929) for awsy failures. CLOSED TREE
Backed out changeset 87416015abce (bug 1510929)
Backed out changeset 919fea1e5337 (bug 1510929)
2018-12-21 00:19:17 +02:00
Narcis Beleuzu e154ee4c06 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-21 00:04:35 +02:00
Cosmin Sabou 4d5fd1304e Backed out 6 changesets (bug 1504756) as requested by whimboo in order to stop some wpt and mn intermittents. a=backout
Backed out changeset d7d78e79f0b3 (bug 1504756)
Backed out changeset 5c495fd7f64d (bug 1504756)
Backed out changeset 5c2826c58f9e (bug 1504756)
Backed out changeset f23b667d8bfa (bug 1504756)
Backed out changeset 6068c233f4ef (bug 1504756)
Backed out changeset 65858c8c0fbd (bug 1504756)

--HG--
extra : rebase_source : 6b895c62a74c6f7521e4a4baff3b0498c65fcbf9
2018-12-20 18:07:02 +02:00
Andreas Tolfsen 4a02a0cdc2 bug 1510929: marionette: remove script_timeout kwarg from client; r=whimboo
This removes the script_timeouts keyword argument from
Marionette#execute_script and #execute_async_script as it is not
compatible with the semantic meaning associated with null in WebDriver.

The script timeout duration for the session can instead be set
using Marionette#timeouts#script.

Depends on D13993

Differential Revision: https://phabricator.services.mozilla.com/D13994

--HG--
extra : moz-landing-system : lando
2018-12-20 21:24:05 +00:00
Andreas Tolfsen 59561d1fd7 bug 1510929: puppeteer: remove use of script_timeout; r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D13993

--HG--
extra : moz-landing-system : lando
2018-12-20 21:23:18 +00:00
Mark Banner 32345283e0 Bug 1503674 - Remove unused microformats code. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14679

--HG--
extra : moz-landing-system : lando
2018-12-17 09:32:27 +00:00
arthur.iakab d737d0506f Backed out 2 changesets (bug 1510695, bug 1510693) for causing frequent marionette failures on unit/test_reftest.py
Backed out changeset 8a7b62c82459 (bug 1510695)
Backed out changeset e7e0d6ba2835 (bug 1510693)
2018-12-12 23:11:19 +02:00
Geoffrey Sneddon 4997b75c09 Bug 1510695 - Fix URL comparisons in reftestWait r=jgraham
Depends on D13281

Differential Revision: https://phabricator.services.mozilla.com/D13282

--HG--
extra : moz-landing-system : lando
2018-12-12 17:44:20 +00:00
Geoffrey Sneddon 90c525577a Bug 1510693 - Tests for marionette's reftest runner r=jgraham,ato
Differential Revision: https://phabricator.services.mozilla.com/D13281

--HG--
extra : moz-landing-system : lando
2018-12-12 17:44:43 +00:00
Olli Pettay 25784a5a17 Bug 1512259 - No need to special case <button> in marionette, r=ato
--HG--
extra : rebase_source : 8489d12617508e0a7ab2e1ef526d854d031405ab
2018-12-04 17:30:43 +02:00
Mark Banner 0304564ac7 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
Csoregi Natalia 9e970681f2 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Mark Banner 1abdc8687f Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:44 +00:00
Andrew Halberstadt ce87b08ac4 Bug 1436037 - [python] Create Windows python-test tasks, r=gps
The following python-test paths are being moved out of 'make check' and into their own task:
- python/mozlint
- testing/mozbase
- tools/lint

The following python-test paths previously did not run on Windows:
- python/mozterm
- testing/marionette
- testing/raptor
- tools/tryselect

Differential Revision: https://phabricator.services.mozilla.com/D10759

--HG--
extra : moz-landing-system : lando
2018-12-05 19:20:16 +00:00
Henrik Skupin 499ecd9441 Bug 1504756 - [marionette] Added opening a new browsing context to Marionette client. r=ato
The patch updates the Marionette client and all Marionette unit
tests to make use of the new `Create Window` command as much as
possible.

Depends on D13663

Differential Revision: https://phabricator.services.mozilla.com/D13664

--HG--
extra : moz-landing-system : lando
2018-12-05 19:58:32 +00:00
Henrik Skupin 52b84a6f90 Bug 1504756 - [marionette] Added "WebDriver:NewWindow" command to open a new top-level browsing context. r=ato
The patch adds the end-point for the recently defined `Create window`
command (https://github.com/w3c/webdriver/issues/1138). It allows
to open a new top-level browsing context as tab or as window.

Depends on D13662

Differential Revision: https://phabricator.services.mozilla.com/D13663

--HG--
extra : moz-landing-system : lando
2018-12-05 19:58:06 +00:00
Henrik Skupin eb8486826a Bug 1504756 - [marionette] Use waitForObserverTopic when waiting for observer notifications. r=ato
Depends on D13661

Differential Revision: https://phabricator.services.mozilla.com/D13662

--HG--
extra : moz-landing-system : lando
2018-12-05 19:57:48 +00:00
Henrik Skupin c3571c164d Bug 1504756 - [marionette] Use waitForMessage() to wait for an expected message manager message. r=ato
Depends on D13660

Differential Revision: https://phabricator.services.mozilla.com/D13661

--HG--
extra : moz-landing-system : lando
2018-12-05 19:57:23 +00:00
Henrik Skupin e099e3a840 Bug 1504756 - [marionette] Use waitForEvent() when waiting for events. r=ato
Depends on D13659

Differential Revision: https://phabricator.services.mozilla.com/D13660

--HG--
extra : moz-landing-system : lando
2018-12-05 19:56:56 +00:00
Henrik Skupin 63c73cd666 Bug 1504756 - [marionette] Add executeSoon() to run tasks on the main thread. r=ato
To be closer to other test harnesses which are using executeSoon()
to run a task on the main thread, this patch adds the same
method to Marionette's sync module.

Differential Revision: https://phabricator.services.mozilla.com/D13659

--HG--
extra : moz-landing-system : lando
2018-12-05 19:56:32 +00:00
Henrik Skupin fb49499bf5 Bug 1508726 - [geckodriver] Use "app.update.disabledForTesting" to disable application updates. r=ato
Until Firefox 64 the preference "app.update.auto" controlled if updates
can be downloaded and applied. This changed in Firefox 65, and now the
preference "app.update.disabledForTesting" controls it.

Depends on D13515

Differential Revision: https://phabricator.services.mozilla.com/D13516

--HG--
extra : moz-landing-system : lando
2018-12-05 08:12:46 +00:00
Henrik Skupin 89fd7d7867 Bug 1508726 - [marionette] Use "app.update.disabledForTesting" to disable application updates. r=ato
Until Firefox 64 the preference "app.update.auto" controlled if updates
can be downloaded and applied. This changed in Firefox 65, and now the
preference "app.update.disabledForTesting" controls it.

Depends on D13516

Differential Revision: https://phabricator.services.mozilla.com/D13517

--HG--
extra : moz-landing-system : lando
2018-12-05 08:09:10 +00:00
Cosmin Sabou 631d5b3bc1 Backed out 2 changesets (bug 1508726) as requested by whimboo for TestMarionette.test_application_update_disabled permafails.
Backed out changeset 5c59407599f6 (bug 1508726)
Backed out changeset 766ba8a6c875 (bug 1508726)
2018-12-05 09:49:46 +02:00
Cosmin Sabou 5d8f09e4fd Backed out 6 changesets (bug 1504756) for wpt failures on webdriver/tests/execute_script/promise.py
Backed out changeset d808b528532a (bug 1504756)
Backed out changeset 30d345cce5be (bug 1504756)
Backed out changeset a8ea6d01fbe1 (bug 1504756)
Backed out changeset ba627a1b61dc (bug 1504756)
Backed out changeset c90e4b2e1b28 (bug 1504756)
Backed out changeset 04da1f01afba (bug 1504756)
2018-12-05 08:33:46 +02:00
Henrik Skupin fb4e180e6c Bug 1504756 - [marionette] Added opening a new browsing context to Marionette client. r=ato
The patch updates the Marionette client and all Marionette unit
tests to make use of the new `Create Window` command as much as
possible.

Depends on D13663

Differential Revision: https://phabricator.services.mozilla.com/D13664

--HG--
extra : moz-landing-system : lando
2018-12-04 22:00:19 +00:00