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

1011 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 664885884e Bug 1614462: Part 2c - Remove content mozbrowser tests. r=mccr8,marionette-reviewers,whimboo
<iframe mozbrowser> is no longer supported in content processes.

Differential Revision: https://phabricator.services.mozilla.com/D70744
2020-04-20 22:15:35 +00:00
Ciure Andrei a5ac2a8bbc Backed out 10 changesets (bug 1614462) for causing test_ipc_messagemanager_blob.js failures CLOSED TREE
Backed out changeset bf4f8253c708 (bug 1614462)
Backed out changeset c61b797d63e9 (bug 1614462)
Backed out changeset 284002de7137 (bug 1614462)
Backed out changeset 7f604ee5731c (bug 1614462)
Backed out changeset a73ef8167cd4 (bug 1614462)
Backed out changeset ecc3477ed34e (bug 1614462)
Backed out changeset 2106f3ccc4b5 (bug 1614462)
Backed out changeset e68c38a7741d (bug 1614462)
Backed out changeset 93b3bacdbb34 (bug 1614462)
Backed out changeset 0cf4898ae08d (bug 1614462)
2020-04-21 01:11:37 +03:00
Kris Maglione 6a5589ef4f Bug 1614462: Part 2c - Remove content mozbrowser tests. r=mccr8,marionette-reviewers,whimboo
<iframe mozbrowser> is no longer supported in content processes.

Differential Revision: https://phabricator.services.mozilla.com/D70744
2020-04-20 20:11:41 +00:00
Ciure Andrei c15dcac93b Backed out 10 changesets (bug 1614462) for causing xpcshell failures CLOSED TREE
Backed out changeset 34d4a86530b4 (bug 1614462)
Backed out changeset dbc2e2556d08 (bug 1614462)
Backed out changeset 512bbab4730c (bug 1614462)
Backed out changeset cd6b8d630f4c (bug 1614462)
Backed out changeset e4ad5037658f (bug 1614462)
Backed out changeset 0ffed1dc4296 (bug 1614462)
Backed out changeset 90ed81cbfe34 (bug 1614462)
Backed out changeset 6d2137eb1d52 (bug 1614462)
Backed out changeset b4819c99e16e (bug 1614462)
Backed out changeset b7deaed376ed (bug 1614462)
2020-04-17 02:26:14 +03:00
Kris Maglione 342edc77b2 Bug 1614462: Part 2c - Remove content mozbrowser tests. r=mccr8
<iframe mozbrowser> is no longer supported in content processes.

Differential Revision: https://phabricator.services.mozilla.com/D70744
2020-04-16 22:20:05 +00:00
William Lachance 44cf16aca9 Bug 1622644 - Fix use of six.reraise within marionette r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D66950

--HG--
extra : moz-landing-system : lando
2020-03-16 20:47:05 +00:00
Geoff Brown dc64cf08e6 Bug 1619586 - Major version bump for mozlog and mozcrash; r=bc,marionette-reviewers,perftest-reviewers,jgraham,whimboo
Major version number bump for both mozlog and mozcrash + requirements update.
This is very much like the previous mozlog major bump - see bug 1591384.
This patch does not update testing/web-platform/tests/tools/wptrunner/requirements.txt;
I expect that will be automatically updated by the pyup.io bot once mozlog is re-released.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 00:32:38 +00:00
Henrik Skupin 8b65decf57 Bug 1573383 - [marionette] Allow to open a private browsing window. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61683

--HG--
extra : moz-landing-system : lando
2020-02-13 19:47:10 +00:00
Geoff Brown 82ddf88192 Bug 1613937 - Normalize marionette-test manifest and test IDs; r=whimboo,marionette-reviewers
Consistently use the relative path, with posix path separators, as the logging ID
used for tests and manifests.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 14:46:41 +00:00
Mark Banner 8346839a9e Bug 1613903 - Enable ESLint for testing/marionette/harness and testing/marionette/legacyaction.js (manual changes). r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D62026

--HG--
extra : moz-landing-system : lando
2020-02-10 16:28:09 +00:00
Mark Banner 9122889407 Bug 1613903 - Enable ESLint for testing/marionette/harness and testing/marionette/legacyaction.js (automatic changes). r=whimboo,marionette-reviewers
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-02-10 16:32:06 +00:00
Emilio Cobos Álvarez 873a349556 Bug 1611701 - Tweak NODE_IS_EDITABLE flag handling for NAC so that it works consistently for <input type=number>. r=bzbarsky,masayuki,whimboo
I thought this would fix <input type=number style="user-select: none">, but
turns out it doesn't.

<input type=number> doesn't have the editor root as a root of the anonymous
subtree, so the current hack wouldn't work, as the anon root wouldn't have the
editable flag. So tweak the code a bit to handle stuff in a simpler way than
setting the flags after the fact, and set the NAC-root flag earlier to avoid
the mOuterWrapper->AppendChildTo(root) call forgetting about root's flags.

I had to tweak one AccessibleCaret test, but that's because it uses <textarea>
with user-select: none, and our behavior there is not particularly sane. It just
happened to work because that test-case also had a bunch of contenteditable
elements, and we stop matching this rule:

  https://searchfox.org/mozilla-central/rev/220a3bd6063fcbe5ca50e88dcabdc7dee0aca448/layout/style/contenteditable.css#22

Because the anonymous div now properly matches :-moz-read-write, which made the
rule apply and the test work. See comment 4 of this bug.

I'll fix this stuff up and add some tests for our behavior here in bug 1611699.

I refactored the dragdrop tests to cover more input types, but I ended up not
being able to use them because they're dependent on the content.

Instead I added an extra test and changed the refactor so that it applies to
<input type=search>, as there's layout work going on in bug 558594, and it'd be
unfortunate to regress this there too.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 22:15:19 +00:00
Ting-Yu Lin 16737fbf2f Bug 1306634 Part 1 - Handle a long press to select a word in an unfocused iframe. r=mats,marionette-reviewers,whimboo
Long-pressing on a text in an unfocused iframe to select a word never
works. Currently, you need to single tap to focus the iframe first.

Each PresShell has an associated AccessibleCaretEventHub. This patch
fixes this bug by routing the event to the AccessibleCaretEventHub under
the event point, and handle it there. If the event is not handled, then
we handle it by the focused AccessibleCaretEventHub as before.

I've experimented with only routing the event to the
AccessibleCaretEventHub under the event point, without routing to the
fallback focused AccessibleCaretEventHub. However, caret dragging didn't
work in iframes. I didn't debug further.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 22:21:35 +00:00
Noemi Erli 13b7594c46 Backed out 2 changesets (bug 1306634) for causing assertion failures in nsAutoLayoutPhase.cpp CLOSED TREE
Backed out changeset fb20602d0c39 (bug 1306634)
Backed out changeset 35651fd9e240 (bug 1306634)
2020-01-17 01:01:09 +02:00
Ting-Yu Lin 2e68f8780b Bug 1306634 Part 1 - Handle a long press to select a word in an unfocused iframe. r=mats,marionette-reviewers,whimboo
Long-pressing on a text in an unfocused iframe to select a word never
works. Currently, you need to single tap to focus the iframe first.

Each PresShell has an associated AccessibleCaretEventHub. This patch
fixes this bug by routing the event to the AccessibleCaretEventHub under
the event point, and handle it there. If the event is not handled, then
we handle it by the focused AccessibleCaretEventHub as before.

I've experimented with only routing the event to the
AccessibleCaretEventHub under the event point, without routing to the
fallback focused AccessibleCaretEventHub. However, caret dragging didn't
work in iframes. I didn't debug further.

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

--HG--
extra : moz-landing-system : lando
2020-01-16 05:08:36 +00:00
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 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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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