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

4156 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin 6f5212c2c2 Bug 1608370 - [marionette] No startup/shutdown profile written for Marionette based test jobs. r=marionette-reviewers,ato
This forces a safe shutdown of the application after the last
test if the process is still up and running. Because the
testcase class already deleted the session a new one needs
to be created.

A more elegant solution might be possible but would involve
a fair amount of refactoring, which at this point is not
worse our time.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 12:36:08 +00:00
Henrik Skupin 21c93d73d7 Bug 1606794 - [marionette] Fixed WebDriver:TakeScreenshot to capture frame's content. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58622

--HG--
extra : moz-landing-system : lando
2020-01-08 16:32:22 +00:00
Henrik Skupin 1c97203f3f Bug 1398087 - [marionette] Take Screenshot should always capture the top-level browser context. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58923

--HG--
extra : moz-landing-system : lando
2020-01-07 15:24:29 +00:00
Henrik Skupin 6b1ebbac0a Bug 1606335 - [marionette] Remove e10s support from build and mozharness. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58812

--HG--
extra : moz-landing-system : lando
2020-01-07 11:16:26 +00:00
Henrik Skupin 3af0c863ac Bug 1606335 - [marionette] Remove non-e10s support from Marionette harness. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58811

--HG--
extra : moz-landing-system : lando
2020-01-07 11:12:19 +00:00
Narcis Beleuzu 683f0949af Backed out 3 changesets (bug 1606794) as req by whimboo ( it`s not a fix for Firefox 72 ). a=backout
Backed out changeset b2b3f10527c3 (bug 1606794)
Backed out changeset 565340ce11e8 (bug 1606794)
Backed out changeset d73cb1b0011d (bug 1606794)
2020-01-07 10:32:02 +02:00
Henrik Skupin ac46ca4119 Bug 1606794 - [marionette] Fixed WebDriver:TakeScreenshot to capture frame's content. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58622

--HG--
extra : moz-landing-system : lando
2020-01-06 10:02:04 +00:00
Henrik Skupin 598061176a Bug 1571424 - [marionette] Full screenshot has to capture the whole content size. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58530

--HG--
extra : moz-landing-system : lando
2020-01-03 09:07:00 +00:00
Henrik Skupin 57b6487f42 Bug 1529516 - [marionette] Make stacktrace of logged TimedPromise contain the upper stack. r=ato,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D20637

--HG--
extra : moz-landing-system : lando
2020-01-02 14:39:33 +00:00
Henrik Skupin 9950c561f3 Bug 1606325 - [marionette] Marionette client should no longer default to non-e10s mode. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58380

--HG--
extra : moz-landing-system : lando
2019-12-31 11:46:01 +00:00
James Graham 65314b0441 Bug 1604506 - Add print command to marionette, r=marionette-reviewers,whimboo,ato
Add a WebDriver:Print command to marionette, following the proposed
WebDriver spec at https://github.com/w3c/webdriver/pull/1468
The implementation is largely the same as that added to the
remote agent in Bug 1599994.



Depends on D57471

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

--HG--
extra : moz-landing-system : lando
2019-12-20 09:33:59 +00:00
James Graham f54420f36a Bug 1604506 - Add assert.positiveNumber to marionette, r=marionette-reviewers,whimboo,ato
Depends on D56444

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

--HG--
extra : moz-landing-system : lando
2019-12-20 09:20:14 +00:00
Gurzau Raul 937fd4a2da Backed out 4 changesets (bug 1604506, bug 1602547, bug 1602544) for failing at /printcmd.py and /user_prompts.py
Backed out changeset cad798d12930 (bug 1602544)
Backed out changeset 531ee079b538 (bug 1604506)
Backed out changeset 29c893010729 (bug 1604506)
Backed out changeset 43fd1d4b1ba1 (bug 1602547)
2019-12-19 04:43:57 +02:00
James Graham 9fe8166c64 Bug 1604506 - Add print command to marionette, r=marionette-reviewers,whimboo,ato
Add a WebDriver:Print command to marionette, following the proposed
WebDriver spec at https://github.com/w3c/webdriver/pull/1468
The implementation is largely the same as that added to the
remote agent in Bug 1599994.



Depends on D57471

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

--HG--
extra : moz-landing-system : lando
2019-12-18 20:34:40 +00:00
James Graham 10c86c0f8d Bug 1604506 - Add assert.positiveNumber to marionette, r=marionette-reviewers,whimboo,ato
Depends on D56444

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

--HG--
extra : moz-landing-system : lando
2019-12-18 16:20:12 +00:00
Yaron Tausky 07aa429a11 Bug 1589708 - Part 1: Test service worker registration after restart r=dom-workers-and-storage-reviewers,marionette-reviewers,perry,whimboo
This test (which currently fails) verifies that when the browser
is configured to delete caches on shutdown, service worker
registrations are cleared as well.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 15:05:36 +00:00
Emma Malysz 75ea156d47 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:44:54 +00:00
Gurzau Raul 824bc2bf90 Backed out changeset dd809e835f2a (bug 1601093) for eslint failures at alert.xhtml and commonDialog.xhtml on a CLOSED TREE.
--HG--
rename : toolkit/components/alerts/resources/content/alert.xhtml => toolkit/components/alerts/resources/content/alert.xul
rename : toolkit/components/apppicker/content/appPicker.xhtml => toolkit/components/apppicker/content/appPicker.xul
rename : toolkit/components/extensions/dummy.xhtml => toolkit/components/extensions/dummy.xul
rename : toolkit/components/passwordmgr/content/passwordManager.xhtml => toolkit/components/passwordmgr/content/passwordManager.xul
rename : toolkit/components/printing/content/printPageSetup.xhtml => toolkit/components/printing/content/printPageSetup.xul
rename : toolkit/components/printing/content/printPreviewProgress.xhtml => toolkit/components/printing/content/printPreviewProgress.xul
rename : toolkit/components/printing/content/printProgress.xhtml => toolkit/components/printing/content/printProgress.xul
rename : toolkit/components/prompts/content/commonDialog.xhtml => toolkit/components/prompts/content/commonDialog.xul
rename : toolkit/components/prompts/content/selectDialog.xhtml => toolkit/components/prompts/content/selectDialog.xul
rename : toolkit/components/viewconfig/content/config.xhtml => toolkit/components/viewconfig/content/config.xul
rename : toolkit/content/editMenuKeys.inc.xhtml => toolkit/content/editMenuKeys.inc.xul
rename : toolkit/content/resetProfile.xhtml => toolkit/content/resetProfile.xul
rename : toolkit/content/resetProfileProgress.xhtml => toolkit/content/resetProfileProgress.xul
rename : toolkit/modules/win.xhtml => toolkit/modules/win.xul
rename : toolkit/profile/content/createProfileWizard.xhtml => toolkit/profile/content/createProfileWizard.xul
rename : toolkit/profile/content/profileDowngrade.xhtml => toolkit/profile/content/profileDowngrade.xul
rename : toolkit/profile/content/profileSelection.xhtml => toolkit/profile/content/profileSelection.xul
2019-12-11 19:27:28 +02:00
Emma Malysz 106f09dd53 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:02:20 +00:00
Kirk Steuber 6c7eec60e6 Bug 1585482 - Necessary test fixes following the change to stop using xul:dialog as a root element. r=marionette-reviewers,ato,bgrins
Most of these fixes involve fixing test XUL to not use <dialog> as a top level element or replacing calls to document.documentElement that expect it to return the dialog, now that the dialog is not the top level element anymore.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:14:10 +00:00
Elliot Matthew 581d9b3815 Bug 1597190 - Remove setting of 'extensions.showMismatchUI' preference from Marionette, r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55827

--HG--
extra : moz-landing-system : lando
2019-12-06 10:34:17 +00:00
Florin Strugariu cc65231541 Bug 1593674 - remove marionette VideoStream YouTube test as it's duplicated in raptor r=tarek,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D52820

--HG--
extra : moz-landing-system : lando
2019-12-05 14:06:38 +00:00
James Graham b6f78436eb Bug 1601272 - Print a warning if the reftest document is larger than the viewport, r=automatedtester,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55800

--HG--
extra : moz-landing-system : lando
2019-12-04 14:58:56 +00:00
Andreas Tolfsen 6e83ddd110 bug 1600078: marionette: dismiss unsupported dialogues r=marionette-reviewers,whimboo
test_alert_unsupported_operation relied on the user prompt handler
in the subsequent test to close the basic auth dialogue, which only
incidentally worked because the next WebDriver command was one that
invoked it.

We should dismiss the dialogue and return control to the user when
Marionette encounters an unsupported dialogue type.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 15:14:01 +00:00
Emma Malysz c502777f53 Bug 1597847, rename remaining misc xul files from within /view, /gfx, /extensions, and /testing to .xhtml format r=marionette-reviewers,bgrins,whimboo,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D54035

--HG--
rename : extensions/spellcheck/tests/chrome/test_add_remove_dictionaries.xul => extensions/spellcheck/tests/chrome/test_add_remove_dictionaries.xhtml
rename : gfx/tests/crashtests/593526.xul => gfx/tests/crashtests/593526.xhtml
rename : testing/marionette/chrome/test.xul => testing/marionette/chrome/test.xhtml
rename : testing/marionette/chrome/test2.xul => testing/marionette/chrome/test2.xhtml
rename : testing/marionette/chrome/test_dialog.xul => testing/marionette/chrome/test_dialog.xhtml
rename : testing/marionette/chrome/test_nested_iframe.xul => testing/marionette/chrome/test_nested_iframe.xhtml
rename : testing/marionette/reftest.xul => testing/marionette/reftest.xhtml
rename : testing/mochitest/baselinecoverage/chrome/test_baselinecoverage.xul => testing/mochitest/baselinecoverage/chrome/test_baselinecoverage.xhtml
rename : testing/mochitest/browser-harness.xul => testing/mochitest/browser-harness.xhtml
rename : testing/mochitest/chrome/test_chromeGetTestFile.xul => testing/mochitest/chrome/test_chromeGetTestFile.xhtml
rename : testing/mochitest/chrome/test_sample.xul => testing/mochitest/chrome/test_sample.xhtml
rename : testing/mochitest/chrome/test_sanityEventUtils.xul => testing/mochitest/chrome/test_sanityEventUtils.xhtml
rename : testing/mochitest/chrome/test_sanityException.xul => testing/mochitest/chrome/test_sanityException.xhtml
rename : testing/mochitest/chrome/test_sanityException2.xul => testing/mochitest/chrome/test_sanityException2.xhtml
rename : testing/mochitest/chrome/test_sanityManifest.xul => testing/mochitest/chrome/test_sanityManifest.xhtml
rename : testing/mochitest/chrome/test_sanityManifest_pf.xul => testing/mochitest/chrome/test_sanityManifest_pf.xhtml
rename : testing/mochitest/chrome/test_tasks_skip.xul => testing/mochitest/chrome/test_tasks_skip.xhtml
rename : testing/mochitest/chrome/test_tasks_skipall.xul => testing/mochitest/chrome/test_tasks_skipall.xhtml
rename : testing/mochitest/harness.xul => testing/mochitest/harness.xhtml
rename : testing/talos/talos/pageloader/chrome/pageloader.xul => testing/talos/talos/pageloader/chrome/pageloader.xhtml
rename : view/crashtests/382756-1.xul => view/crashtests/382756-1.xhtml
rename : view/crashtests/38589-1.xul => view/crashtests/38589-1.xhtml
extra : moz-landing-system : lando
2019-12-02 19:16:22 +00:00
Tom Ritter 1f3b68b54b 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-12-02 17:27:18 +00:00
Ciure Andrei e473bd5f57 Backed out 10 changesets (bug 1582512) for causing browser_preferences_usage.js to permafail CLOSED TREE
Backed out changeset a615a2c07523 (bug 1582512)
Backed out changeset 7dd0266da0a1 (bug 1582512)
Backed out changeset dfdefc6ede97 (bug 1582512)
Backed out changeset 59db30e1915f (bug 1582512)
Backed out changeset 1eb6f6b02149 (bug 1582512)
Backed out changeset 391ed11326fb (bug 1582512)
Backed out changeset 02865605c1c3 (bug 1582512)
Backed out changeset 017582048986 (bug 1582512)
Backed out changeset 1374c08302f9 (bug 1582512)
Backed out changeset 40dd63b6910a (bug 1582512)
2019-12-02 19:23:12 +02:00
Tom Ritter fc663a0a8d 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-12-02 15:46:21 +00:00
Henrik Skupin d65e7e7fde Bug 1582973 - [marionette] Skip screenshot upper bounds tests on 32bit systems due to possible OOM. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D55247

--HG--
extra : moz-landing-system : lando
2019-11-29 13:02:37 +00:00
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
Zibi Braniecki 5e03cd7ff2 Bug 1435915 - Remove preferences.properties. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45723

--HG--
extra : source : 33b58a35cd4e9c52f6b0969c8e28e249e2a92154
2019-09-20 15:44:55 +00:00
arthur.iakab 78b937649f Backed out changeset 33b58a35cd4e (bug 1435915)for causing Nighlty bustages a= backout 2019-09-21 16:38:54 +03:00
Zibi Braniecki d19841f79e Bug 1435915 - Remove preferences.properties. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45723

--HG--
extra : moz-landing-system : lando
2019-09-20 15:44:55 +00:00
Nick Alexander a2446c4186 Bug 1298921 - [marionette] Don't restrict Marionette:Quit to Firefox only. r=webdriver-reviewers,geckoview-reviewers,ato,snorp,agi
Formerly this assertion for Firefox was added because it didn't work for Fennec,
and other mobile apps. Meanwhile we shouldn't have this hard restriction anymore,
given that no exception is thrown by the code when running with GeckoView based
app, and also the Thunderbird support would benefit from it.

As we know this method doesn't quit the GeckoView app, and geckodriver itself
has to ensure to gracefully/force stop the process on Android.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:07:28 +00:00
Geoff Brown d80dd7ec91 Bug 1578783 - Cleanup fennec references in marionette tests; r=whimboo,ato
Differential Revision: https://phabricator.services.mozilla.com/D44753

--HG--
extra : moz-landing-system : lando
2019-09-06 15:17:32 +00:00
Ting-Yu Lin b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following script:

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00
Kershaw Chang 64b7f325a6 Bug 1577428 - Not allow nsICertOverrideService to be implemented in js r=keeler,ato
Differential Revision: https://phabricator.services.mozilla.com/D43931

--HG--
rename : security/manager/ssl/tests/unit/test_js_cert_override_service.js => security/manager/ssl/tests/unit/test_allow_all_cert_errors.js
extra : moz-landing-system : lando
2019-09-04 17:17:44 +00:00
Andreea Pavel aa258365a2 Backed out changeset 2e0c2fea2799 (bug 1577428) linting doc failure on a CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_allow_all_cert_errors.js => security/manager/ssl/tests/unit/test_js_cert_override_service.js
2019-09-03 18:25:52 +03:00
Kershaw Chang f7c12de97f Bug 1577428 - Not allow nsICertOverrideService to be implemented in js r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D43931

--HG--
rename : security/manager/ssl/tests/unit/test_js_cert_override_service.js => security/manager/ssl/tests/unit/test_allow_all_cert_errors.js
extra : moz-landing-system : lando
2019-09-02 17:03:38 +00:00
Dão Gottwald cb8c8ab22c Bug 1575238 - Remove tabs-newtab-button class. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D42656

--HG--
extra : moz-landing-system : lando
2019-08-28 13:45:21 +00:00
Gurzau Raul 0b424003d3 Backed out 2 changesets (bug 1572687) for causing bug 1574837. CLOSED TREE
Backed out changeset 0c1fa26f2f67 (bug 1572687)
Backed out changeset 2b3e775a99cb (bug 1572687)
2019-08-28 12:52:25 +03:00
Henrik Skupin d6c05078f8 Bug 1559592 - [marionette] Make use of the new Fission compatible screen capture API. r=webdriver-reviewers,ato,automatedtester
To allow Marionette to capture the content of OOP iframes, the
new Fission compatible screenshot API has to be used.

For callers requesting a read-back of the pixel data as
currently in the compositor/window, the 'drawWindow()'
method still has to be called.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 13:01:01 +00:00
Henrik Skupin a4b63bd323 Bug 1559592 - [marionette] Take screenshots for content in parent process. r=webdriver-reviewers,ato,automatedtester
This moves all the screenshot related code from the framescript to
the parent process, so that canvas.js is no longer called from
within a content process.

The remaining code in the framescript is only needed to compute
the dimensions of the screenshot, and from all the to highlight
elements.

This move is necessary to allow switching to the new drawSnapshot
API which only works from within the parent process.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 13:08:24 +00:00
Henrik Skupin 438d627e3d Bug 1559592 - [marionette] Remove unit tests for screenshot flags. r=webdriver-reviewers,ato
On Android there is no focus ring drawn, and in general it depends
on the visibility of the caret, which constantly blinks. As such
intermittent and perma failures can always occur. Best is to just
remove this flaky test.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 07:38:03 +00:00
Henrik Skupin 399acd6e93 Bug 1559592 - [marionette] Change test_capture_full_area to capture an opened dialog. r=webdriver-reviewers,automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D42372

--HG--
extra : moz-landing-system : lando
2019-08-26 07:37:44 +00:00
Henrik Skupin c9b01104ed Bug 1575511 - [marionette] Remove feature to highlight elements in screenshots. r=webdriver-reviewers,ato
The feature was used in the past to highlight broken elements for l10n
specific tests. Given that those tests don't exist anymore (for already
a long time) the highlight feature doesn't have to be kept alive.

Also it isn't covered by the WebDriver spec, and as such a custom feature
which is not worth keeping its code working. Especially with the Fission
work upcoming.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 12:42:25 +00:00
Mark Banner b1970e6a2f Bug 1571466 - Cleanup unnecessary ESLint global definitions. r=mossop
These are raised as redeclares or unused variables by ESLint 6.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:11:56 +00:00
Henrik Skupin 25ed81e808 Bug 1330560 - [marionette] Temporarily skip TestScreenCaptureContent.test_capture_flags on Windows. r=webdriver-reviewers,jgraham
Temporarily skip on Windows to get the new screenshot API landed.
Given that this change makes this failure permanent it should be
easier for investigation after its landing.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 15:50:11 +00:00
James Graham 7c7b78d948 Bug 1574225 - Pass fuzzy information to reftest chains, r=ato
We were incorrectly failing to put all the data onto the comparison stack
when handling nested reftests. Ensure that we do this correctly.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 09:48:31 +00:00
Henrik Skupin 0529daadd3 Bug 1573406 - Remove every trace of Firefox UI update tests. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D41834

--HG--
extra : moz-landing-system : lando
2019-08-14 11:08:45 +00:00
Nicholas Nethercote 3aa9f46986 Bug 1572336 - Merge marionette.js into all.js. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41151

--HG--
extra : moz-landing-system : lando
2019-08-13 23:49:39 +00:00