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

4077 Коммитов

Автор SHA1 Сообщение Дата
championshuttler 12f01bf037 Bug 1598279 - Update docs of format.js to reflect in documentation. r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D54181

--HG--
rename : testing/marionette/doc/internals/format.js => testing/marionette/doc/internals/format.rst
extra : moz-landing-system : lando
2019-11-27 09:46:58 +00:00
championshuttler 53b47f64af Bug 1536103 - Add files to marionatte toctree. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D54048

--HG--
extra : moz-landing-system : lando
2019-11-27 09:46:58 +00:00
championshuttler ac9dc5102c Bug 1598279 - Add Docs for capture.js. r=sylvestre,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D54045

--HG--
extra : moz-landing-system : lando
2019-11-27 09:46:58 +00:00
Andreas Tolfsen b749854d09 bug 1526364: browser, marionette: use "remote-listening" to indicate remote control; r=Gijs,marionette-reviewers,remote-protocol-reviewers,maja_zf
This changes the event Marionette emits when it is running from
"remote-active" to "remote-listening".

The background for this change is that the forthcoming Chromium-based
remote protocol uses the same observer notification to indicate
when it listens for browser-external connections.  This means that
with this change, the visual hint presented to the user will also
be applied when the remote agent starts its HTTPD listener.

Unlike Marionette however, the remote debugging protocol may be used
for browser-internal applications and it is not appropriate to signal
that the browser is under remote control under those circumstances,
hence the naming change away from "active".

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

--HG--
extra : moz-landing-system : lando
2019-11-26 13:23:29 +00:00
Mihai Alexandru Michis 0dc4b7231c Bug 1598971 - Fix spell lint failures. a=lint-fix CLOSED TREE
--HG--
extra : amend_source : 7f3391519a009242cabef46a5ebe50d451aee8b8
2019-11-26 12:21:18 +02:00
Sylvestre Ledru ba488cdc09 Bug 1598971 - codespell: Fix typos in the doc r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,ato
Depends on D54430

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

--HG--
extra : moz-landing-system : lando
2019-11-25 10:06:12 +00:00
Rishi Gupta d7a47446c2 Bug 1598382 : using iteritems from six to be compatible to both py2 and py3 r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D54173

--HG--
extra : moz-landing-system : lando
2019-11-25 16:33:45 +00:00
James Graham affd82f927 Bug 1595564 - Dispatch TestRendered event for wpt reftests with reftest-wait, r=maja_zf,mattwoodrow,marionette-reviewers
The TestRendered event is dispatched for reftests containing a
reftest-wait class on the root at the time the test would complete if
there wasn't such a class. This occurs after the initial paint is
complete, so any dynamic changes can be performed in such a way that
they are not batched with the initial layout/paint.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 14:54:51 +00:00
Rishi Gupta f2aa28e1a2 Bug 1598367 : using py2, py3 compatible maximum integer value through six r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D54169

--HG--
extra : moz-landing-system : lando
2019-11-22 08:33:01 +00:00
Ciure Andrei d73714a862 Backed out changeset a3b107922e81 (bug 1595814) for causing marionette perma failures CLOSED TREE 2019-11-22 10:42:09 +02:00
Rishi Gupta f8a2da8835 Bug 1595814 - [marionette] Don't import private _ExpectedFailure and _UnexpectedSuccess classes from unittest. r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D53312

--HG--
extra : moz-landing-system : lando
2019-11-21 20:26:12 +00:00
Rishi Gupta 42889b7b8e Bug 1597737 : Importing urlparse from six to keep py2, py3 compatible r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D54128

--HG--
extra : moz-landing-system : lando
2019-11-21 14:33:45 +00:00
Marian Raiciof d89d3711ad Bug 1596770 - Add '--enable-fission' command line argument to 'mach marionette-test' r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D53205

--HG--
extra : moz-landing-system : lando
2019-11-21 13:43:49 +00:00
Henrik Skupin 40e00a5be5 Bug 1557232 - [marionette] Skip test_switch_tabs_in_different_windows_with_focus_change on Linux due to intermittent failures. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D54115

--HG--
extra : moz-landing-system : lando
2019-11-21 13:03:45 +00:00
Cosmin Sabou be84eb7037 Backed out 11 changesets (bug 1582512) for causing valgrind bustages.
Backed out changeset 8b850fd66bf5 (bug 1582512)
Backed out changeset 07d3631e609a (bug 1582512)
Backed out changeset fa91b085eb59 (bug 1582512)
Backed out changeset 232d5735d404 (bug 1582512)
Backed out changeset 47045fa2ffd2 (bug 1582512)
Backed out changeset 40a0f6c6cd61 (bug 1582512)
Backed out changeset 5fb3e489c31f (bug 1582512)
Backed out changeset 379318a35b20 (bug 1582512)
Backed out changeset bf81985c33b7 (bug 1582512)
Backed out changeset 1e0dd57b8041 (bug 1582512)
Backed out changeset 2787043f1fab (bug 1582512)
2019-11-20 18:44:45 +02:00
Tom Ritter 3a72c5e713 Bug 1582512 - Disable script filename restrictions in Marionette r=jandem,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D51676

--HG--
extra : moz-landing-system : lando
2019-11-18 20:59:41 +00:00
James Graham e27e0223e4 Bug 1595885 - Fix lint error, r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D53048

--HG--
extra : moz-landing-system : lando
2019-11-14 17:24:21 +00:00
James Graham a1e8165793 Bug 1595885 - Ensure we have a valid window after wpt reftest timeout, r=webdriver-reviewers,maja_zf
Typically we can close the wpt reftest window at the end of a test and
open a new one for the follwing test. But that interacts badly with
the harness trying to run marionette commands before the test starts;
for example when it tries to set a pref. So we were hitting a
situation where tests that TIMEOUT followed by tests that require a
pref end up erroring. To avoid this make sure to set the original
opener window as the marionette window when we close the reftest window.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 16:45:55 +00:00
Michael Kaply fcf89c6721 Bug 1594584 - Marionette test for autoconfig. r=whimboo,kmag
Differential Revision: https://phabricator.services.mozilla.com/D52106

--HG--
extra : moz-landing-system : lando
2019-11-12 18:18:49 +00:00
Andreea Pavel 03ff4d65f1 Backed out changeset 776dc76ec598 (bug 1567122) for landing without proper peer review on a CLOSED TREE 2019-11-12 18:46:03 +02:00
Marian Raiciof 548d1181f8 Bug 1567122 - Enable Fission for AWSY r=perftest-reviewers,stephendonner,sparky
Differential Revision: https://phabricator.services.mozilla.com/D48660

--HG--
extra : moz-landing-system : lando
2019-11-12 14:07:17 +00:00
Thomas 5be2ea6dc9 Bug 1590064 - [marionette] Restrict maximum screenshot area. r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D52380

--HG--
extra : moz-landing-system : lando
2019-11-11 08:36:49 +00:00
Rishi Gupta 018001315f Bug 1478595 - [marionette] Use defineLazyPreferenceGetter for observing "marionette.enabled" preference. r=whimboo,ato
Differential Revision: https://phabricator.services.mozilla.com/D48506

--HG--
extra : moz-landing-system : lando
2019-11-01 20:21:48 +00:00
Marco Bonardo d973ff4e31 Bug 1525296 - Remove any remaining references to old search suggestions notifications. r=adw,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D50932

--HG--
extra : moz-landing-system : lando
2019-10-29 17:57:10 +00:00
Henrik Skupin 1ed947aff2 Bug 1587627 - [marionette] Remove `Anon` and `AnonAttribute` strategies from "WebDriver:FindElement" and "WebDriver:FindElements" command. r=webdriver-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D50804

--HG--
extra : moz-landing-system : lando
2019-10-29 12:55:35 +00:00
Henrik Skupin e90b0f6c10 Bug 1573383 - [firefox-puppeteer] Update docs for PyPI package deprecation. r=webdriver-reviewers,maja_zf a=docs
DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-10-29 13:06:14 +00:00
Narcis Beleuzu 41e019fb57 Backed out changeset 79be8382d57a (bug 1587627) for bc failures on browser_all_files_referenced.js . CLOSED TREE 2019-10-29 14:06:44 +02:00
Henrik Skupin e8f5161a31 Bug 1587627 - [marionette] Remove `Anon` and `AnonAttribute` strategies from "WebDriver:FindElement" and "WebDriver:FindElements" command. r=webdriver-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D50804

--HG--
extra : moz-landing-system : lando
2019-10-28 18:31:17 +00:00
Henrik Skupin a5b86e1d96 Bug 1587627 - [fxui] Update firefox-puppeteer for removal of anonymous nodes. r=webdriver-reviewers,maja_zf
The patch removes the usage of elements based on anonymous nodes,
which are soon to be completely removed. Also code which is no longer
in use by Firefox-UI tests can simply be removed.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 18:24:57 +00:00
Sylvestre Ledru ba7c03e388 Bug 1590310 - Hide the copyright section by default r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D50028

--HG--
extra : moz-landing-system : lando
2019-10-22 17:37:38 +00:00
Philip Jägenstedt 21b473eac4 Bug 1589056 - [mozlog] Update mozlog version number to 5.0 r=jgraham
This is needed to release a new mozlog with the PRECONDITION_FAILED
test and subtest status for use in web-platform-tests.

Update all in-tree dependencies on mozlog to >=5.0. These were found
with `hg grep 'mozlog.*[0-9]'`.

Only testing/web-platform/tests/tools/wptrunner/requirements.txt
remains on 4.2.0, and it will be updated in upstream wpt after mozlog
5.0 has been released.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 14:12:32 +00:00
Brendan Dahl 48a59e061b Bug 1583314 - Skip or port XBL tests to shadow DOM. r=bzbarsky
Where possible I ported tests to use the shadow DOM. The following could
potentially be ported, but don't think it worth of it:
  test_bug414907.xul - uses children nodes in constructor which is very
different in shadow DOM world
  test_bug233643.xul - really tests XBL behavior
  test_anonymous_content.py - bug on file already to create shadow DOM
test from scratch

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

--HG--
rename : devtools/client/inspector/test/browser_inspector_highlighter-xbl.js => devtools/client/inspector/test/browser_inspector_highlighter-custom-element.js
extra : moz-landing-system : lando
2019-10-21 20:21:20 +00:00
Tim Nguyen 91d309b346 Bug 1588472 - Remove unused entries from DISABLED_ATTRIBUTE_SUPPORTED_XUL. r=webdriver-reviewers,bgrins,ato
Differential Revision: https://phabricator.services.mozilla.com/D49131

--HG--
extra : moz-landing-system : lando
2019-10-14 16:08:05 +00:00
Tim Nguyen 79c7f01c56 Bug 1588066 - Remove remaining references to textbox. r=surkov,emilio,webdriver-reviewers,bgrins,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D48958

--HG--
extra : moz-landing-system : lando
2019-10-14 07:41:35 +00:00
Andrew Halberstadt 2b0d90e3ad Bug 1587206 - [lint.flake8] Enable F632 across the tree, r=sylvestre
This ensures we use ==/!= to strings and ints (instead of is/is not).

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

--HG--
extra : moz-landing-system : lando
2019-10-10 18:50:33 +00:00
Henrik Skupin 5ac6218ccd Bug 1534702 - Release marionette_driver 3.0.0 and marionette_harness 5.0.0. r=webdriver-reviewers,ato
This will be the last public release of both packages on PyPI.
See the announcement from January this year:

https://groups.google.com/forum/#!topic/mozilla.tools.marionette/s6_03Qt2ubc

If both packages are still required by tools, they would have to
be self-built by a checkout of mozilla-central.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 15:43:58 +00:00
Henrik Skupin 8c0d25331a Bug 1484927 - [marionette] Temporary skip TestBackForwardNavigation.test_data_urls. r=webdriver-reviewers,ato
Maybe this test causes crashes of Firefox in [@ mozilla::ShutdownXPCOM(nsIServiceManager*)].
Due to the low intermittent rate lets get it temporarily disabled for further investigation
by next week.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 10:32:40 +00:00
Coroiu Cristina ab9ca2b438 Backed out changeset 98303502c7a8 (bug 1534702) on request by whimboo on a CLOSED TREE
--HG--
extra : amend_source : 76e2a74648d3a0ebac57112326916cfa4ae8843e
2019-10-10 14:03:59 +03:00
Henrik Skupin 05cf7ade0e Bug 1534702 - Release marionette_driver 3.0.0 and marionette_harness 5.0.0. r=webdriver-reviewers,ato
This will be the last public release of both packages on PyPI.
See the announcement from January this year:

https://groups.google.com/forum/#!topic/mozilla.tools.marionette/s6_03Qt2ubc

If both packages are still required by tools, they would have to
be self-built by a checkout of mozilla-central.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 10:32:02 +00:00
Henrik Skupin 553eb4fded Bug 1587364 - [marionette] Use `getWebDriverBrowserName()` to determine the `browserName` capability. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D48676

--HG--
extra : moz-landing-system : lando
2019-10-09 22:46:02 +00:00
Henrik Skupin 0082e28845 Bug 1584927 - [marionette] Handle user prompts in "Take Element Screenshot" and "Take Screenshot" commands. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D48511

--HG--
extra : moz-landing-system : lando
2019-10-09 09:43:13 +00:00
Emma Malysz 1417210039 Bug 1586344, Updating Marionette test cases for removal of the <textbox> XBL binding. Inputs are now handled directly by input elements. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D48205

--HG--
extra : moz-landing-system : lando
2019-10-09 09:18:34 +00:00
Frederic Wang 6e55f5dd6d Bug 1530110 - element.isInView throws for non-HTML elements. r=whimboo
Marionette's element.isInView function relies on the style IDL attribute.
This patch verifies that the function works as expected for MathML elements
after bug 1571487.

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

--HG--
extra : moz-landing-system : lando
2019-10-06 11:29:00 +00:00
Rishi Gupta e82a1cb23d bug 1354458 - Replacing self.wait_for_condition() with Wait().until() function r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D47666

--HG--
extra : moz-landing-system : lando
2019-10-02 14:04:33 +00:00
Paul Zuehlcke 0f115bb952 Bug 1402957 - Refactored Marionette nsIPermissionManager usages for principals. r=johannh,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D47253

--HG--
extra : moz-landing-system : lando
2019-09-27 09:49:02 +00:00
Henrik Skupin b4b1f6820c Bug 1525126 - [marionette] Always use "firefox" and "android" as capabilities for Android browsers. r=jgraham,nalexander
On Android the platform name capability has to report "android" and not "linux".
Also for every application which is embedding GeckoView "firefox" will be used
as browser name. That way it behaves the same like Chrome, which does it for
every WebView embedding application.

Depends on D44896

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

--HG--
extra : moz-landing-system : lando
2019-09-25 23:00:24 +00:00
Paul Zuehlcke a20be9ee64 Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45848

--HG--
extra : moz-landing-system : lando
2019-09-24 17:13:43 +00:00
Andrew Halberstadt 898dfb96b4 Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45417

--HG--
extra : moz-landing-system : lando
2019-09-24 14:44:01 +00:00
Rishi Gupta a9eb588a2c Bug 1423899 - Removing HTML Dependencies in test_pagesource.py r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D45958

--HG--
extra : moz-landing-system : lando
2019-09-24 13:52:24 +00:00
Rishi Gupta c929efd7dc Bug 1572706 - Stop handling "extensions.shield-recipe-client.*" preferences in Marionette and geckodriver r=whimboo
Those preferences got updated to "app.normandy.*" with Firefox 60, and are no longer necessary to be set.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 13:50:10 +00:00