Commit Graph

98 Commits

Author SHA1 Message Date
Henrik Skupin
8777858e6e Bug 1793311 - [marionette] Fix documentation for Python tests. r=webdriver-reviewers,jdescottes DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D160235
2022-11-02 21:32:26 +00:00
Henrik Skupin
1c5d1ee2db Bug 1793311 - [marionette] Fix Selenium atoms export instructions. r=webdriver-reviewers,jdescottes DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D160234
2022-11-02 21:32:26 +00:00
Henrik Skupin
cca2834fb3 Bug 1793311 - [marionette] Fix markdown warnings. r=webdriver-reviewers,jdescottes DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D160233
2022-11-02 21:32:26 +00:00
Sylvestre Ledru
5afd68ac95 no bug - fix some typos found by codespell r=linter-reviewers,fluent-reviewers,Gijs,Standard8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D160290
2022-10-26 09:14:14 +00:00
Julian Descottes
4a1ddfd485 Bug 1790471 - [marionette] Convert /remote/marionette JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158295

Differential Revision: https://phabricator.services.mozilla.com/D158296
2022-09-30 11:08:08 +00:00
Henrik Skupin
f27030b222 Bug 1790950 - [remote] Remove deprecated Marionette preferences from documentation. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D157428
2022-09-19 19:19:22 +00:00
Alexandra Borovova
d42cab3b3c Bug 1756680 - Update links in Vendoring Puppeteer docs r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D155073
2022-08-23 09:07:43 +00:00
Alexandra Borovova
61d71c792e Bug 1777951 - Enable partially implemented WebDriver BIDi features on Nightly channel only. r=webdriver-reviewers,whimboo,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D151364
2022-07-12 15:55:37 +00:00
Tooru Fujisawa
39b29ad9f4 Bug 1765167 - Part 8: Stop using Cu.import in remote/. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D144101
2022-05-03 06:32:31 +00:00
Julian Descottes
e1a0f3e103 Bug 1753997 - [remote] Add documentation about remote hosts and origins for RemoteAgent r=webdriver-reviewers,jgraham
Depends on D144847

Differential Revision: https://phabricator.services.mozilla.com/D144851
2022-05-02 19:45:48 +00:00
Julian Descottes
87503e11b9 Bug 1753997 - [remote] Enable WebDriver BiDi on all channels r=webdriver-reviewers,whimboo
Depends on D144984

Differential Revision: https://phabricator.services.mozilla.com/D144846
2022-05-02 19:45:47 +00:00
Henrik Skupin
4d7a8c9ac8 Bug 1719505 - [remote] Add Remote Agent class for content processes. r=webdriver-reviewers,jdescottes
When accessing the nsIRemoteAgent interface from a content
process the running state cannot be determined without
communicating with the Remote Agent class from the parent
process.

Similar to Marionette this patch adds a dedicated class of
the Remote Agent for content processes, and exports an
instance of the appropriate class depending on in which
process the Remote Agent gets created in.

Differential Revision: https://phabricator.services.mozilla.com/D144983
2022-04-29 17:38:14 +00:00
Butkovits Atila
fc54f60211 Backed out 6 changesets (bug 1719505) for causing failures at browser_Troubleshoot.js. CLOSED TREE
Backed out changeset 915b5331f6b2 (bug 1719505)
Backed out changeset 8df69b3445e5 (bug 1719505)
Backed out changeset 674fe8523cf6 (bug 1719505)
Backed out changeset f40c2fe6872d (bug 1719505)
Backed out changeset 3e3df2a6b1e3 (bug 1719505)
Backed out changeset 621024810236 (bug 1719505)
2022-04-29 17:32:32 +03:00
Henrik Skupin
dba3b8b30a Bug 1719505 - [remote] Add Remote Agent class for content processes. r=webdriver-reviewers,jdescottes
When accessing the nsIRemoteAgent interface from a content
process the running state cannot be determined without
communicating with the Remote Agent class from the parent
process.

Similar to Marionette this patch adds a dedicated class of
the Remote Agent for content processes, and exports an
instance of the appropriate class depending on in which
process the Remote Agent gets created in.

Differential Revision: https://phabricator.services.mozilla.com/D144983
2022-04-29 11:55:43 +00:00
Henrik Skupin
7960d0832b Bug 1759998 - [remote] Only accept system-local loopback WebSocket connections for clients. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D143396
2022-04-12 04:31:08 +00:00
Henrik Skupin
3bf7a452a5 Bug 1759434 - [remote] Update Remote Protocol docs for running specific Puppeteer tests only. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D140958
2022-03-15 07:10:36 +00:00
Julian Descottes
4da968b463 Bug 1746154 - [cdp] Add error message and documentation about the required fission preferences r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D134328
2022-01-31 12:34:40 +00:00
Henrik Skupin
c82f352880 Bug 1749000 - [remote] Fix broken links and outdated documentation. r=webdriver-reviewers,jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D136035
2022-01-17 10:49:42 +00:00
James Graham
998e7b9425 Bug 1748845 - Update source-relative links in remote docs, r=firefox-source-docs-reviewers,webdriver-reviewers,sylvestre,whimboo
These were broken since the update to MyST.

Differential Revision: https://phabricator.services.mozilla.com/D135381
2022-01-11 10:48:20 +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
a18662b0ed Bug 1734084 - [remote] Fix indentation of commands in remote/doc/Testing.md r=webdriver-reviewers,whimboo
This is only a whitespace change, but it prevented the commands from being correctly rendered in our documenation.

Differential Revision: https://phabricator.services.mozilla.com/D127518
2021-10-05 08:06:54 +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
Henrik Skupin
1fad810fbc Bug 1720676 - [remote] Remove Remote Agent's Rust implementation. r=webdriver-reviewers,jdescottes
By implementing the command line handling and the
printing to stderr in the JS module of the Remote
Agent, the Rust implementation is no longer necessary.

This change allows the JS component to hold each detail
about the Remote Agent's status. Also it doesn't
require a full build anymore when changes are needed.

Differential Revision: https://phabricator.services.mozilla.com/D121096
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
0fd845f828 Bug 1720676 - [remote] Remove Remote Agent's Rust implementation. r=webdriver-reviewers,jdescottes
By implementing the command line handling and the
printing to stderr in the JS module of the Remote
Agent, the Rust implementation is no longer necessary.

This change allows the JS component to hold each detail
about the Remote Agent's status. Also it doesn't
require a full build anymore when changes are needed.

Differential Revision: https://phabricator.services.mozilla.com/D121096
2021-07-29 19:31:44 +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
dd36cc9590 Bug 1720676 - [remote] Remove Remote Agent's Rust implementation. r=webdriver-reviewers,jdescottes
By implementing the command line handling and the
printing to stderr in the JS module of the Remote
Agent, the Rust implementation is no longer necessary.

This change allows the JS component to hold each detail
about the Remote Agent's status. Also it doesn't
require a full build anymore when changes are needed.

Differential Revision: https://phabricator.services.mozilla.com/D121096
2021-07-29 16:14:09 +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
Henrik Skupin
555beb9ea5 Bug 1712902 - [remote] Conditionally start CDP when protocol is marked as active. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D116415
2021-06-01 19:41:01 +00:00
Henrik Skupin
e2bfd9a463 Bug 1695031 - Update Marionette and Remote Agent docs for --disable-webdriver build flag. r=remote-protocol-reviewers,marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D115592
2021-05-25 09:13:29 +00:00
Henrik Skupin
d546c8341c Bug 1710839 - [remote] Remove remote.enabled preference. r=remote-protocol-reviewers,Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D115239
2021-05-17 20:20:15 +00:00
Julian Descottes
3382fe303e Bug 1702406 - [remote] Rename targets to targetList in remote codebase r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D110514
2021-04-01 12:27:25 +00:00
Henrik Skupin
3b79ee16fe Bug 1690475 - [remote] Move puppeteer-expected.json into test folder. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D106063
2021-02-23 17:37:03 +00:00
Henrik Skupin
563458af7d Bug 1690475 - [remote] Reorganize xpcshell and browser chrome tests. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D106062
2021-02-23 17:37:03 +00:00
Henrik Skupin
8cb90829cc Bug 1690474 - [remote] Move CDP specific code to cdp/. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D104574
2021-02-14 14:24:27 +00:00
Maja Frydrychowicz
ef2934709b Bug 1672461 - [remote] Pin package dependencies when installing Puppeteer in Mozilla CI r=remote-protocol-reviewers,whimboo
Calling `npm ci` instead of `npm install` generates a reproducible
node_modules directory based on the entries in Puppeteer's `package-lock.json`

The most-recent Puppeteer sync (Bug 1670286) commits package-lock.json
to mozilla-central for the first time.

Differential Revision: https://phabricator.services.mozilla.com/D97811
2020-12-04 15:08:17 +00:00
Maja Frydrychowicz
dc68e2c439 Bug 1670286 - [remote] Update Puppeteer-vendoring documentation r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D97810
2020-12-04 15:08:14 +00:00
Maja Frydrychowicz
31e88a9520 Bug 1677665 - Update Architecture docs DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97250
2020-11-17 03:35:16 +00:00
Henrik Skupin
fca264c1ec Bug 1669230 - [remote] Remove --remote-debugger command line argument. r=remote-protocol-reviewers,jgraham
Using different names for enabling the remote agent via
--remote-debugger and --remote-debugging-port adds confusion
to users. Also given that --remote-debugging is actually
not used by any client library including Puppeteer,
it can be removed.

Using --remote-debugging-port instead will bring us onpar
with Chrome and how it enables CDP.

Differential Revision: https://phabricator.services.mozilla.com/D92603
2020-10-07 13:50:57 +00:00
Maja Frydrychowicz
1beed99193 Bug 1666325 - Update docs about remote agent preferences r=remote-protocol-reviewers,whimboo DONTBUILD
...and remove outdated examples.

Differential Revision: https://phabricator.services.mozilla.com/D90905
2020-09-22 15:46:35 +00:00
chocos
4a218f2c31 Bug 1648959 - Done internal linking in docs in remote Directory.r=championshuttler,remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D81463
2020-06-29 20:34:46 +00:00
Sonia Singla
228fa97fb8 Bug 1628599 - Fixing all links pointing to docs.firefox-dev.tools r=Honza,remote-protocol-reviewers,perftest-reviewers,maja_zf,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D77560
2020-06-01 10:58:38 +00:00
Maja Frydrychowicz
91ed2688dd Bug 1632710 - [puppeteer] vendor v3.1.0 r=remote-protocol-reviewers,whimboo,jgraham
This requires a custom mocha reporter under puppeteer/
and changes in output parsing.

Differential Revision: https://phabricator.services.mozilla.com/D77625
2020-06-05 18:53:38 +00:00
Maja Frydrychowicz
21d8ce86a1 Bug 1622363 - (docs) Fix communication link
Differential Revision: https://phabricator.services.mozilla.com/D66814

--HG--
extra : moz-landing-system : lando
2020-03-13 18:52:00 +00:00
Khushal Sahni
d7f74c0866 Bug 1604143 - Make browser-chrome task function arguments an object. r=whimboo,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D59082

--HG--
extra : moz-landing-system : lando
2020-01-13 08:52:44 +00:00
Andreas Tolfsen
1b5c764457 bug 1606834: remote: document fdescribe(), fit(), and Mocha flags r=remote-protocol-reviewers,whimboo
We were lacking documentation on how to run inidividual Puppeteer
tests.  It turns out this is not possible yet to do on a per-file
basis, like other test harnesses.

Instead, suggest use of fdescribe()/fit() and recommend some useful
Mocha flags.

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

--HG--
extra : moz-landing-system : lando
2020-01-03 16:11:19 +00:00
Henrik Skupin
b35d14d120 Bug 1605722 - [remote] Enable target discovery by default for browser chrome tests. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58162

--HG--
extra : moz-landing-system : lando
2020-01-02 21:13:20 +00:00
Andreas Tolfsen
defc8d9410 bug 1603451: remote: document add_task() r=remote-protocol-reviewers,maja_zf,whimboo
The documentation for the overridden add_task() is quite poor.
Document it as to not confuse new developers why it is behaving
differently to the default bc add_task().

DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-12-18 12:53:52 +00:00
Andreas Tolfsen
c0c59383f9 bug 1544393: remote: ship remote agent in Firefox Nightly r=remote-protocol-reviewers,whimboo,maja_zf
Now that the security review in bug 1542229 and the follow-up work
that came out of it is complete, we should go ahead and flip the
remote.enabled preference.

This patch causes the remote agent to be available to users on the
Firefox Nightly release channel.  This meansusing --remote-debugger
will no longer cause a fatal error

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

--HG--
extra : moz-landing-system : lando
2019-12-02 15:39:51 +00:00
Andreas Tolfsen
3ea9c9f00c bug 1600081: remote: correct build instructions for startup r=remote-protocol-reviewers,whimboo
With bug 1543115 we saw a rewrite of the startup code path in the
remote agent.  It forgot to update the build instructions to mention
that changes to the Rust code requires you to have a full build available.

DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-11-28 19:42:58 +00:00