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

4156 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin 2c673399f4 Bug 1632556 - [marionette] "navigator.webdriver" has to reflect the enabled state of Marionette. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D72387
2020-04-24 17:25:33 +00:00
Tim Nguyen 5a254f3623 Bug 1632092 - Rename all XUL namespace variables to XUL_NS. r=Gijs,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D71913
2020-04-24 09:23:52 +00:00
Tim Nguyen 059c4f1854 Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-04-23 09:48:17 +00:00
Andreea Pavel b9c773a74f Backed out changeset 2f06fd7ef8b6 (bug 1583696) for failing test_bug619644.html on a CLOSED TREE 2020-04-23 05:16:18 +03:00
Tim Nguyen 09f305d392 Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-04-22 23:46:35 +00:00
Gijs Kruitbosch 18dfdfacad Bug 1631358 - remove CPOW handling in marionette r=marionette-reviewers,whimboo
dom.js and listener.js pass around `target` pointing to an event target,
using CPOWs, but the implementation of WebElementEventTarget then always
overrides that with `this` anyway, so there's no point. This change removes
the handling of objects/target.

Differential Revision: https://phabricator.services.mozilla.com/D71513
2020-04-21 14:06:08 +00:00
Tooru Fujisawa 2108f90fcf Bug 1623965 - Improve error message when binary not found while testing. r=glandium,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,Bebe,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D67726
2020-04-21 11:58:04 +00:00
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
Coroiu Cristina 43be71277d Backed out 2 changesets (bug 1625500) for multiple failures on a CLOSED TREE
Backed out changeset 7d80233bcfcd (bug 1625500)
Backed out changeset 0a35b13dfcde (bug 1625500)
2020-04-17 15:36:05 +03:00
Gijs Kruitbosch cc39a339a0 Bug 1625500 - fix use of .then(x, x) in the tree, r=marionette-reviewers,Standard8,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D68614
2020-04-17 11:41:49 +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
pbz e118843a3a Bug 1615588 - Updated prompt tests. r=marionette-reviewers,johannh,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D66450
2020-04-16 14:44:56 +00:00
sefeng 0324d16f3c Bug 1613507 - [geckodriver] Don't set `speculative-parallel-limit` to `0` but leave it on its default value. r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71071

--HG--
extra : moz-landing-system : lando
2020-04-15 21:36:08 +00:00
Agi Sferro 2c2902dc5d Bug 1628117 - Remove fennec code from marionette. r=snorp,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D70455

--HG--
extra : moz-landing-system : lando
2020-04-14 22:58:33 +00:00
Mihai Alexandru Michis 81ac402a67 Backed out 6 changesets (bug 1628117) for causing Marionette failures.
CLOSED TREE

Backed out changeset 6319076b66d6 (bug 1628117)
Backed out changeset d867e385620f (bug 1628117)
Backed out changeset 12827a9f8ed2 (bug 1628117)
Backed out changeset a0508a8f0733 (bug 1628117)
Backed out changeset 30116ea848c7 (bug 1628117)
Backed out changeset 63b977732075 (bug 1628117)
2020-04-14 20:03:30 +03:00
Agi Sferro 17c29b71da Bug 1628117 - Remove fennec code from marionette. r=snorp,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D70455

--HG--
extra : moz-landing-system : lando
2020-04-14 15:25:35 +00:00
Csoregi Natalia 954b969608 Backed out 5 changesets (bug 1615588) for browser-chrome failures e.g. browser_beforeunload_duplicate_dialogs.js. CLOSED TREE
Backed out changeset 751cca7566a8 (bug 1615588)
Backed out changeset 474aca043834 (bug 1615588)
Backed out changeset 7839b95ef76c (bug 1615588)
Backed out changeset 32bb87f48b13 (bug 1615588)
Backed out changeset 264e642042b1 (bug 1615588)

--HG--
extra : rebase_source : 41ed149c97382bc1cf823abc56811b382cae0207
2020-04-10 21:19:15 +03:00
pbz b296ec16c4 Bug 1615588 - Updated prompt tests. r=marionette-reviewers,johannh,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D66450

--HG--
extra : moz-landing-system : lando
2020-04-10 16:45:36 +00:00
Ricky Stewart 6805c2f318 Bug 1625285 - A few small fixes to prevent bustage under Python 3 in lint/resource monitor/testing r=marionette-reviewers,glandium,whimboo
Update code in a few places to work with Python 3, especially with regard to how we invoke subprocesses with text output. Note that the Marionette test harness code needs to be updated so that text is written out in the correct encoding (see bug 1615748).

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

--HG--
extra : moz-landing-system : lando
2020-04-08 11:42:52 +00:00
Michal Novotny 2a483b2bc4 Bug 1622409 - Put FTP code behind a pref r=marionette-reviewers,valentin,whimboo,mixedpuppy
Disables FTP protocol handler on nightly. FTP scheme is handled by external protocol handler if it isn't explicitly disabled with preference network.protocol-handler.external.ftp = false.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 19:49:26 +00:00
Brian Grinstead 30b9da5519 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{html,xhtml}' 'href="chrome://global/skin/"' | xargs sed -i "" 's/href\="chrome:\/\/global\/skin\/"/href\="chrome:\/\/global\/skin\/global.css"/g'
```

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

--HG--
extra : moz-landing-system : lando
2020-04-03 22:23:23 +00:00
Tarek Ziadé 5c0481ca70 Bug 1623321 - Add perftest r=sparky,perftest-reviewers,marionette-reviewers,whimboo,ahal
mach perftest

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

--HG--
extra : moz-landing-system : lando
2020-04-02 13:04:41 +00:00
James Graham 2c285f3d0a Bug 1417955 - Ensure we get the correct keyCode for a space character, r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D68199

--HG--
extra : moz-landing-system : lando
2020-03-25 19:36:54 +00:00
Henrik Skupin dfdec84db6 Bug 1622012 - [marionette] Only initialize Marionette during startup if explicitely enabled. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D67037

--HG--
extra : moz-landing-system : lando
2020-03-18 14:27:36 +00:00
Henrik Skupin 340046fede Bug 1622012 - [marionette] Only set environment prefs if Marionette is enabled. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D67036

--HG--
extra : moz-landing-system : lando
2020-03-18 14:16:04 +00:00
Henrik Skupin 4c3d158d50 Bug 1622012 - [marionette] Read the "marionette.enabled" pref only during startup, and don't allow to change its value. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D67035

--HG--
extra : moz-landing-system : lando
2020-03-18 14:14:46 +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
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
James Graham 5d808a15d9 Bug 1618913 - Fix use of activeWindow in marionette, r=marionette-reviewers,maja_zf
This case was missed in bug 1618798

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

--HG--
extra : moz-landing-system : lando
2020-03-10 15:20:00 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +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 45d91cc202 Bug 1619500 - [marionette, geckodriver] Update docs for team changes. a=doc-only
DONTBUILD

Depends on D65063

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

--HG--
extra : moz-landing-system : lando
2020-03-03 07:05:41 +00:00
Henrik Skupin 95882ede80 Bug 1619500 - [marionette, geckodriver] Replace references of IRC with Matrix.
DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2020-03-03 07:05:02 +00:00
Henrik Skupin d25deeb630 Bug 1617869 - [marionette] Don't set `speculative-parallel-limit` to `0` but leave it on its default value. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D64363

--HG--
extra : moz-landing-system : lando
2020-02-27 16:08:03 +00:00
James Graham 787c4c6e23 Bug 1616932 - Set unwritableMargins to 0 in marionette, r=marionette-reviewers,whimboo
There's no reason to add OS-specific margins instead of the ones
specified by the user when generating PDFs, so set these to zero.

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

--HG--
extra : moz-landing-system : lando
2020-02-24 10:31:54 +00:00
Henrik Skupin 255a87c4a6 Bug 1573383 - [marionette] Remove firefox-puppeteer Python package. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61687

--HG--
extra : moz-landing-system : lando
2020-02-13 19:50:42 +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
Henrik Skupin 6cd18518a4 Bug 1610014 - [marionette] Remove localization support from firefox-puppeteer. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D60906

--HG--
extra : moz-landing-system : lando
2020-01-24 17:46:26 +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
Zibi Braniecki 4fb4f2f900 Bug 1609585 - Migrate all possible uses from AppLocalesAsLangTag(s) to AppLocale(s)AsBCP47. r=marionette-reviewers,jfkthame,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D60096

--HG--
extra : moz-landing-system : lando
2020-01-17 19:29:09 +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