Commit Graph

4000 Commits

Author SHA1 Message Date
Henrik Skupin
6773494087 Bug 1377335 - [marionette] Re-enable DRAWWINDOW_DRAW_VIEW and DRAWWINDOW_USE_WIDGET_LAYERS flags for screen captures. r=webdriver-reviewers,ato
All dependencies are fixed, or no longer reproducible. As such both
flags can be re-enabled. Also reftests won't have to specify the
exactly same flags on its own anymore.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 11:09:02 +00:00
Henrik Skupin
a52b45bb8b Bug 1563040 - [marionette] Call window.focus() directly for the newly opened window. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D36873

--HG--
extra : moz-landing-system : lando
2019-08-02 06:32:21 +00:00
James Graham
a445961de2 Bug 1563358 - Report pixel differences as part of message in wpt reftests, r=maja_zf
Instead of reporting the pixel differences in a logger info message,
put it in the text that's returned to the harness. This has a notable
advantage on android where this will cause it to be logged as part of
the harness logs rather than ending up in the logcat from the
device. It also makes these messages more accessible in other
consumers of the logs e.g. wpt.fyi.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 09:26:37 +00:00
Gurzau Raul
a86cf65c2c Backed out changeset f5f5cbb377ac (bug 1563358) for eslint failure at /marionette/reftest.js on a CLOSED TREE. 2019-08-01 00:23:04 +03:00
James Graham
7334076e31 Bug 1563358 - Report pixel differences as part of message in wpt reftests, r=maja_zf
Instead of reporting the pixel differences in a logger info message,
put it in the text that's returned to the harness. This has a notable
advantage on android where this will cause it to be logged as part of
the harness logs rather than ending up in the logcat from the
device. It also makes these messages more accessible in other
consumers of the logs e.g. wpt.fyi.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 17:02:36 +00:00
James Graham
027befb9ba Bug 1568991 - Ensure marionette event listeners are isolated from content, r=ato,bzbarsky
Internal marionette listeners should neither be visible to content
script, nor have their registation affected by changes made in
content. The evaluate method was breaking these constraints by
creating listeners in a sandbox with Xrays disabled, which is
appropriate to the injected script itself but not to the
harness-internal parts.

Use a different sandbox for the harness code compared to the injected
code, and move away from using onunload to using addEventListener for
the unload handler.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:48:50 +00:00
Daniel Varga
ddd3e9f4f5 Backed out changeset 0eaeadceac47 (bug 1563040) requested by whimboo 2019-07-22 12:52:29 +03:00
Johann Hofmann
45612e42a9 Bug 1567824 - Add browser.contentblocking.introCount back to marionette.js and geckoinstance.py. r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D38841

--HG--
extra : moz-landing-system : lando
2019-07-22 07:57:25 +00:00
Eric Rahm
e5c0d07b49 Bug 1525338 - Limit context menu behavior to macOS. r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D38259

--HG--
extra : moz-landing-system : lando
2019-07-20 14:46:39 +00:00
Dão Gottwald
5e619a09bf Bug 1567406 - Use ids instead of classes for urlbar-input and urlbar-scheme. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D38631

--HG--
extra : moz-landing-system : lando
2019-07-19 13:22:23 +00:00
Narcis Beleuzu
576655be99 Backed out changeset bcc9b5692630 (bug 1525338) for wpt failure on actionsWithKeyPressed.html . CLOSED TREE 2019-07-19 00:21:00 +03:00
Eric Rahm
2e0b92ba20 Bug 1525338 - Limit context menu behavior to macOS. r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D38259

--HG--
extra : moz-landing-system : lando
2019-07-17 21:42:56 +00:00
Dão Gottwald
6b7e2645f9 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 11:34:21 +00:00
Mihai Alexandru Michis
b7d205a80b Backed out changeset 3504c0b3f87c (bug 1513337) for marionette failures CLOSED TREE 2019-07-17 14:02:05 +03:00
Dão Gottwald
16f78d8e06 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 09:20:41 +00:00
Coroiu Cristina
0882dc9bf4 Backed out changeset cf34b2e8ac53 (bug 1513337) for test client failure 2019-07-17 12:12:21 +03:00
Dão Gottwald
9fce0b69a1 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 07:38:18 +00:00
Brindusan Cristian
ea007979ee Backed out changeset a7c14ebfcd4d (bug 1513337) for telemetry failures at test_event_ping.py. CLOSED TREE 2019-07-16 17:22:21 +03:00
Dão Gottwald
d4258708f3 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-16 10:26:04 +00:00
Byron Campen [:bwc]
5fe8caac32 Bug 1555792: Add --setpref option to many test types r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37503

--HG--
extra : moz-landing-system : lando
2019-07-11 15:06:38 +00:00
Dão Gottwald
0e5e8bf0c3 Bug 1562274 - Remove the PopupAutoCompleteRichResult panel. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D37549

--HG--
extra : moz-landing-system : lando
2019-07-11 12:15:30 +00:00
Johann Hofmann
a23cc83a46 Bug 1564367 - Remove the content blocking UI tour. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37384

--HG--
extra : moz-landing-system : lando
2019-07-11 10:29:17 +00:00
Alex Catarineu
a8b667f825 Bug 467035 - Avoid leaking browser language via DTD r=Gijs,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D34187

--HG--
extra : moz-landing-system : lando
2019-07-08 10:47:05 +00:00
Victor Porof
2b036e45c5 Bug 1561435 - Format testing/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : c0948f31e520ca087279cf429ca5f1db5a8341b8
2019-07-05 11:01:24 +02:00
Victor Porof
34da32ec3c Bug 1558517 - Pre 3.1: Change conflicting "camelcase" rule which would fail after running Prettier, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34695

--HG--
extra : source : 078747ad644246551a165a176a691e0440553c85
extra : intermediate-source : 3b39b237ae3c49eb6c9d56a2ef8bfb5134b878da
2019-06-12 11:43:25 +02:00
Victor Porof
b5a4cb3848 Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34535

--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Henrik Skupin
7e4d19b009 Bug 1563040 - [marionette] Call window.focus() directly for the newly opened window. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D36873

--HG--
extra : moz-landing-system : lando
2019-07-04 09:05:11 +00:00
Samuel Thibault
102e3a2ebb Bug 1543725 Add marionette support to thunderbird r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27102

--HG--
extra : moz-landing-system : lando
2019-06-27 14:09:05 +00:00
Csoregi Natalia
4173161363 Merge mozilla-central to autoland. CLOSED TREE 2019-06-29 13:02:56 +03:00
Kartikaya Gupta
90eea8e8e5 Bug 1558598 - Force WebRender on or off in the marionette harness. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D35861

--HG--
extra : moz-landing-system : lando
2019-06-29 09:50:23 +00:00
Andrew Swan
7696519cff Bug 1555060 Convert <tabs> to a custom element
The conversion for "regular" <tabs> elements is straightforward, most of
the work here is to support the tab strip (the <tabs> element with the id
"tabbrowser-tabs").  The markup needed for the tab strip moves directly
into browser.xhtml and the construction/teardown logic is now explicitly
driven from gBrowser.  There are many more little tweaks too numerous to
enumerate.

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

--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser-tabs.js
extra : source : c163881a80c9a032b40f7d965fad6a6850fcf8a4
extra : intermediate-source : a5c6deeda8a9475ac0268a4351417c8ff659c962
extra : histedit_source : 5eb8b3d14027f2aeca5c52534096837cd0343104%2Ca23a07ddd5e1fb8bd084644dd6db0ee028b7c4b4
2019-06-20 14:09:37 -07:00
Gabriele Svelto
c72fd9d25d Bug 1540784 - Re-enable marionette tests that depend on the crash reporter on Windows/AArch64 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35994

--HG--
extra : moz-landing-system : lando
2019-06-26 12:50:45 +00:00
Henrik Skupin
9dc70ca9a6 Bug 1560588 - [marionette] Fix focus handling in open_chrome_window() for WindowManagerMixin. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D35579

--HG--
extra : moz-landing-system : lando
2019-06-24 09:28:46 +00:00
Henrik Skupin
0e1bc4f733 Bug 1487358 - [marionette] "Accept Alert" and "Dismiss Alert" should check for remaining user prompts. r=webdriver-reviewers,maja_zf
Workaround until we have a sane dynamic user prompt implementation
(see bug 1477977). At least for now this patch will give us the
opportunity to handle multiple open user prompts.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 11:17:30 +00:00
Narcis Beleuzu
01662f5eb8 Backed out changeset 62ac95a65617 (bug 1495621) for marionette mozprocess timed out failures. 2019-06-13 22:20:03 +03:00
Henrik Skupin
5b1247be4e Bug 1477977 - [marionette] Support dynamic handling of modal dialogs and tab modal alerts. r=maja_zf
With this patch Marionette registers globally for the dialog notifications
and events while a session is active. Also it provides an interface for
custom dialog handlers to hook in.

Instead of the callbacks custom events could have been fired, but that would
be some more work, and should preferable be done in a follow-up bug.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 18:26:53 +00:00
Henrik Skupin
15d145a042 Bug 1477977 - [marionette] Handle "tabmodal-dialog-loaded" to observe new tab modal dialogs. r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D34138

--HG--
extra : moz-landing-system : lando
2019-06-07 18:36:48 +00:00
Alexander Surkov
595da48d95 Bug 1495621 - convert wizard binding to Custom Element r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26334

--HG--
extra : moz-landing-system : lando
2019-06-12 23:37:05 +00:00
Maja Frydrychowicz
ec68562778 Bug 1553584 - Delay wpt reftest screenshots until after paint. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D33843

--HG--
extra : moz-landing-system : lando
2019-06-13 02:19:44 +00:00
Henrik Skupin
7f2ed6b0fb Bug 1558763 - [marionette] Disable "browser.tabs.remote.separatePrivilegedContentProcess" by default. r=maja_zf
Due to bug 1557457 it can happen that loading a web page with eg.
a HTTP auth prompt, no modal dialog will be shown by Firefox. As
such disable this preference for now globally, until all the issues
with privileged content processes have been solved.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 13:45:32 +00:00
Henrik Skupin
d8233768db Bug 1553748 - [marionette] Firefox should not unload tabs when available memory is running low. r=webdriver-reviewers,automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D34145

--HG--
extra : moz-landing-system : lando
2019-06-07 13:33:25 +00:00
shindli
a06e4d2ea4 Merge autoland to mozilla-central. a=merge 2019-06-06 12:28:43 +03:00
arthur.iakab
af07c37d6a Merge autoland to mozilla-central. a=merge 2019-06-06 00:59:15 +03:00
Jorg K
d2d05444d9 Backed out changeset bb3d70c37398 (bug 1543725) for busting Thunderbird builds. a=backout 2019-06-05 22:24:02 +02:00
Henrik Skupin
febb72c5e5 Bug 1504201 - [marionette] Re-enable test TestScreenCaptureChrome.test_formats. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D33780

--HG--
extra : moz-landing-system : lando
2019-06-05 13:01:54 +00:00
Henrik Skupin
297cae1c5e Bug 1329424 - [marionette] Re-enable tests TestScreenCapture[Content/Chrome].test_capture_flags. r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D33787

--HG--
extra : moz-landing-system : lando
2019-06-05 13:36:34 +00:00
David Burns
c7072d92cf Bug 1542244: Disable Privacy and tracking protection features during testing. r=webdriver-reviewers,ato,whimboo
When privacy and tracking protection is enabled there is a call home that
can break tests. This uses the relavant prefs to disable the features.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 08:11:38 +00:00
Samuel Thibault
d708762a60 Bug 1543725 Add marionette support to thunderbird r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27102

--HG--
extra : moz-landing-system : lando
2019-06-05 07:59:19 +00:00
Henrik Skupin
edc64f91af Bug 1335085 - [marionette] Simplify focus handling for window classes in firefox-puppeteer. r=webdriver-reviewers,ato
Depends on D33690

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

--HG--
extra : moz-landing-system : lando
2019-06-04 21:02:46 +00:00
Henrik Skupin
7fce583895 Bug 1335085 - [marionette] Fix "WebDriver:SwitchToWindow" for tab and window focus switching. r=webdriver-reviewers,ato
Selecting a different tab is asynchronous, and as such Marionette has
to wait for the "TabSelect" event to be emitted. Further the chrome
window also needs to be focused.

Depends on D33689

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

--HG--
extra : moz-landing-system : lando
2019-06-04 20:42:28 +00:00