Jonathan Watt
ac90ddff59
Bug 1745452 - Remove the print progress dialog code. r=mstriemer,bobowen,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D133500
2021-12-16 15:12:33 +00:00
Butkovits Atila
7d46682c0e
Backed out changeset 51d7c5d96ceb (bug 1745452) for causing failures at browser_all_files_referenced.js. CLOSED TREE
2021-12-16 15:13:34 +02:00
Jonathan Watt
f2d22001b0
Bug 1745452 - Remove the print progress dialog code. r=mstriemer,bobowen,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D133500
2021-12-16 11:45:59 +00:00
Henrik Skupin
c5c7e8164e
Bug 1570605 - [marionette] Remove invalid "instant" behavior for scrollIntoView(). r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D133762
2021-12-14 17:45:49 +00:00
Julian Descottes
4dd9464dc3
Bug 1694136 - [remote] Move all documentation files for remote protocols under remote/doc r=webdriver-reviewers,whimboo
...
Depends on D132047
This patch only changes the folder organisation for remote protocol docs.
They should still be displayed in the exact same way on https://firefox-source-docs.mozilla.org
Differential Revision: https://phabricator.services.mozilla.com/D132049
2021-12-01 20:04:44 +00:00
Julian Descottes
fbdf8e95ff
Bug 1694136 - [marionette] Remove marionette internals jsdoc r=webdriver-reviewers,whimboo
...
The internals jsdoc is not used by current maintainers of marionette and is costly to maintain.
Differential Revision: https://phabricator.services.mozilla.com/D132047
2021-12-01 20:04:44 +00:00
David Burns
d1ba70273a
Bug 1700073: Add Get Shadow Root to Marionette. r=webdriver-reviewers,jgraham,whimboo
...
This adds the features as described in
https://w3c.github.io/webdriver/#get-element-shadow-root
Differential Revision: https://phabricator.services.mozilla.com/D110941
2021-12-01 14:57:16 +00:00
OnuohaOluebube
4e0acf805c
Bug 1673438 -[remote] Refactored evaluate.fromJSON parameters into an options object r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D129597
2021-11-16 11:25:52 +00:00
Emilio Cobos Álvarez
dc3e72b026
Bug 1736932 - Use the right global to fire the TestRendered event. r=jgraham,webdriver-reviewers
...
This allows the page to access event.target, etc.
Differential Revision: https://phabricator.services.mozilla.com/D130978
2021-11-11 17:49:14 +00:00
James Graham
b2389c73cc
Bug 1678347 - [marionette] Implement pageRanges support. r=webdriver-reviewers,whimboo
...
This allows printing only specified page ranges.
We take them in the form ["1-2", 4, "5-"] and convert to a flat array
of the form [1,2,4,4,5,2147483647], which is appropriate for
nsIPrintSettings.
Testing relies on the fact that wpt vendored pdf.js for print
reftests; using the same mechaism we can ensure the correct pages were
printed.
Differential Revision: https://phabricator.services.mozilla.com/D97600
2021-11-08 10:17:52 +00:00
Julian Descottes
9539249363
Bug 1739008 - [marionette] Monitor navigation using the webprogresslistener for NewSession r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D130355
2021-11-08 09:35:48 +00:00
Cristian Tuns
e5e804d9a1
Backed out changeset 78d6ea95a82f (bug 1739008) for causing android wpt failures. CLOSED TREE DONTBUILD
2021-11-05 07:47:08 -04:00
Julian Descottes
a7941cac87
Bug 1739008 - [marionette] Monitor navigation using the webprogresslistener for NewSession r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D130355
2021-11-05 10:06:03 +00:00
Henrik Skupin
8e2ddef4de
Bug 1739369 - [marionette] Improve logging for load events in waitForLoadEvent. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D130353
2021-11-04 19:15:37 +00:00
Henrik Skupin
a11f894d94
Bug 1736323 - [marionette] "WebDriver:NewSession" has to wait for the very first tab to finish loading. r=webdriver-reviewers,jdescottes
...
If the New Session command doesn't wait for the initial tab
to have finished loading, any other command send right away
could fail because the document could be replaced.
Differential Revision: https://phabricator.services.mozilla.com/D130158
2021-11-02 18:40:32 +00:00
Julian Descottes
3ac88c59a2
Bug 1691954 - [marionette] Avoid MarionetteEvents JSErrors using shared process state r=webdriver-reviewers,whimboo
...
This patch no longer unregisters the MarionetteEvents actors. Instead when the session ends, a flag is set on sharedData so that MarionetteEventsChild actors stop sending events to the parent process
Differential Revision: https://phabricator.services.mozilla.com/D126371
2021-09-30 09:13:07 +00:00
Cosmin Sabou
78019683ed
Backed out 1 changesets (bug 1691954) for bc failures on browser_startup_content_subframe.js. CLOSED TREE
...
Backed out changeset 18366efe3ea2 (bug 1691954)
2021-09-29 20:23:15 +03:00
Julian Descottes
745c87d0ca
Bug 1691954 - [marionette] Avoid MarionetteEvents JSErrors using shared process state r=webdriver-reviewers,whimboo
...
This patch no longer unregisters the MarionetteEvents actors. Instead when the session ends, a flag is set on sharedData so that MarionetteEventsChild actors stop sending events to the parent process
Differential Revision: https://phabricator.services.mozilla.com/D126371
2021-09-29 15:39:05 +00:00
Henrik Skupin
61219bc48f
Bug 1723084 - Add try preset for the remote protocol. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D126231
2021-09-23 11:01:21 +00:00
Sandor Molnar
f7585e35b4
Backed out changeset 1b323f897482 (bug 1691954) for causing bug 1731747. CLOSED TREE
2021-09-21 17:09:45 +03:00
Julian Descottes
240d31d1d5
Bug 1691954 - [marionette] Notify MarionetteEventsChild actor about incoming unregister call r=webdriver-reviewers,whimboo
...
The MarionetteEvents JSWindowActor is unregistered when the marionette session ends. If the child actor was in the process of forwarding an event to the parent process, the JSWindowActor framework will log a confusing error, which can't be caught on Marionette's end.
Since this typically happens in test harnesses, we should avoid log pollution as much as possible. To workaround this, marionette will notify the actor about the upcoming call to unregister, so that they can stop forwarding events from the content process to the parent process.
Differential Revision: https://phabricator.services.mozilla.com/D123651
2021-09-21 05:44:43 +00:00
Henrik Skupin
4e4d756ece
Bug 1729291 - [marionette] Removed chrome specific window handle getters. r=webdriver-reviewers,jdescottes
...
Both end-points for "WebDriver:GetChromeWindowHandle" and
"WebDriver:GetChromeWindowHandles" can be removed. Instead
when using chrome scope the "WebDriver:GetWindowHandle"
and "WebDriver:GetWindowHandles" need to be used, which now
return handles based on the currently selected scope.
Differential Revision: https://phabricator.services.mozilla.com/D125734
2021-09-17 18:47:46 +00:00
Henrik Skupin
f2bb39df37
Bug 1729280
- Fix links to WebDriver mailing list. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D125455
2021-09-14 08:37:55 +00:00
Henrik Skupin
7f5bca14c6
Bug 1729280
- Fix links to WebDriver chat. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D125454
2021-09-14 08:37:54 +00:00
Mark Banner
14aedbb785
Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 12:09:49 +00:00
Noemi Erli
e0f4b9b5fe
Backed out 2 changesets (bug 1729460) for causing newtab failures CLOSED TREE
...
Backed out changeset 5617839462be (bug 1729460)
Backed out changeset 6d52fde3ee0e (bug 1729460)
2021-09-10 13:14:12 +03:00
Mark Banner
3cfdb5c41a
Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 09:38:42 +00:00
Jacek Kuzemczak
661b1a1f6e
Bug 1719124 - [marionette] Split processing PDF data into chunks to avoid hitting function call argument limit r=webdriver-reviewers,jgraham,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D121363
2021-08-09 07:31:20 +00:00
Marian-Vasile Laza
d8ab847244
Backed out changeset 4079bc8d46ca (bug 1719124) for causing failures on printcmd.py. CLOSED TREE
2021-08-06 19:31:56 +03:00
Jacek Kuzemczak
9a9fb72c85
Bug 1719124 Split PDF data into chunks to avoid hitting function call argument limit r=webdriver-reviewers,jgraham,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D121363
2021-08-06 15:36:40 +00:00
James Graham
764259e4af
Bug 1723145 - Replace OS.File with IOUtils in marionette, r=Gijs,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D121407
2021-08-02 09:23:44 +00:00
Henrik Skupin
c27e9e4c4a
Bug 1720676 - [marionette] Move component registration into components.conf. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D121095
2021-07-30 10:44:48 +00:00
Noemi Erli
a5ebee57bb
Backed out 2 changesets (bug 1720676) for causing remote failures CLOSED TREE
...
Backed out changeset 3c2599c00332 (bug 1720676)
Backed out changeset b58937c59f63 (bug 1720676)
2021-07-30 00:21:00 +03:00
Henrik Skupin
38d311bf45
Bug 1720676 - [marionette] Move component registration into components.conf. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D121095
2021-07-29 19:31:43 +00:00
Csoregi Natalia
e8cf092efc
Backed out 2 changesets (bug 1720676) for remote fails on browser_agent.js. CLOSED TREE
...
Backed out changeset 93a9c870d3d8 (bug 1720676)
Backed out changeset f915c04b9c35 (bug 1720676)
2021-07-29 21:30:57 +03:00
Henrik Skupin
5d0d08b2c2
Bug 1720676 - [marionette] Move component registration into components.conf. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D121095
2021-07-29 16:14:08 +00:00
Julian Descottes
95bb71d6cc
Bug 1719692 - [remote] Stop using MarionettePrefs.logLevel and use remote.log.level instead r=webdriver-reviewers,whimboo
...
Depends on D120894
Differential Revision: https://phabricator.services.mozilla.com/D120895
2021-07-27 19:03:29 +00:00
Julian Descottes
056dff5133
Bug 1700392 - [remote] Replace usage of marionette format.js by remote/shared/Format.jsm r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D120894
2021-07-27 19:03:29 +00:00
Henrik Skupin
8fdd8d1cf7
Bug 1721982 - [marionette] Use domwindowopened observer to detect newly opened windows. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D120734
2021-07-26 10:10:12 +00:00
Henrik Skupin
10c712a65e
Bug 1721327 - [remote] Share Marionette's assertion module with WebDriver BiDi. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D120303
2021-07-21 09:45:06 +00:00
Henrik Skupin
1fdbe9da54
Bug 1691446
- [remote] Rename webdriverBiDi to webDriverBiDi. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D120014
2021-07-16 11:56:49 +00:00
Henrik Skupin
908b1cbd5b
Bug 1692984 - [marionette] Add support for “webSocketUrl” capability. r=webdriver-reviewers,jdescottes,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D119730
2021-07-16 11:56:49 +00:00
Henrik Skupin
02977a781a
Bug 1691446
- [remote] Add support for handling WebDriverSession to WebDriver BiDi. r=webdriver-reviewers,jdescottes,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D119552
2021-07-16 11:56:48 +00:00
Julian Descottes
faae156764
Bug 1719850 - [marionette] Enforce no-unused-vars for global variables in marionette eslint configuration r=webdriver-reviewers,whimboo
...
Depends on D119508
Differential Revision: https://phabricator.services.mozilla.com/D119515
2021-07-09 17:22:09 +00:00
Henrik Skupin
39034935cb
Bug 1719833 - [remote] Share WindowManager between Marionette and Remote Agent. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D119508
2021-07-09 13:18:31 +00:00
Julian Descottes
dba554e505
Bug 1719667 - [remote] Do not set recommended preferences when not wanted r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D119409
2021-07-09 08:42:47 +00:00
Julian Descottes
138814b073
Bug 1718052 - [marionette] Replace usage of marionette log.js by remote/shared/Log.jsm r=webdriver-reviewers,whimboo
...
Depends on D119071
Differential Revision: https://phabricator.services.mozilla.com/D119072
2021-07-08 08:12:53 +00:00
Henrik Skupin
f5a13d6348
Bug 1691481 - [remote] Share Marionette's errors module with WebDriver BiDi. r=webdriver-reviewers,jdescottes
...
The WebDriver BiDi specification relies on the same
error types as WebDriver HTTP. As such the existing
module needs to be shared.
Differential Revision: https://phabricator.services.mozilla.com/D117650
2021-06-21 12:53:48 +00:00
Henrik Skupin
462be88d17
Bug 1691414 - [remote] Extract WebDriver capabilities specific classes into their own Capability module. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D117128
2021-06-09 08:19:01 +00:00
Henrik Skupin
ff9ce95707
Bug 1691414 - [remote] Share WebDriver session between Marionette and WebDriver BiDi. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D117127
2021-06-09 08:19:00 +00:00