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

745 Коммитов

Автор SHA1 Сообщение Дата
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
Yaron Tausky 768366d7b8 Bug 1496997 - Remove dom.serviceWorkers.parent_intercept pref r=asuth,dom-workers-and-storage-reviewers,perftest-reviewers,jgraham,sparky,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D101788
2021-06-15 08:52:39 +00:00
Julian Descottes a128c5a742 Bug 1707588 - [puppeteer] Sync vendored puppeteer to v9.1.1 r=webdriver-reviewers,whimboo
PR to upstream the comment update: https://github.com/puppeteer/puppeteer/pull/7324

Differential Revision: https://phabricator.services.mozilla.com/D117539
2021-06-15 07:35:20 +00:00
Henrik Skupin fbc78630d6 Bug 1715517 - [marionette] Only return moz:debuggerAddress capability if CDP is active. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D117289
2021-06-14 07:01:54 +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
Dorel Luca da37bdef95 Backed out 2 changesets (bug 1691414) for Documentation failures. CLOSED TREE
Backed out changeset ae8cc0a1bb6b (bug 1691414)
Backed out changeset 6df75d4ea57e (bug 1691414)
2021-06-08 23:54:59 +03:00
Henrik Skupin e6deaa6109 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-08 19:21:59 +00:00
Henrik Skupin 12e5e867eb 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-08 19:21:58 +00:00
surajeet310 ea853da3f4 Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' ,r=sylvestre,webdriver-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D116939
2021-06-07 19:28:40 +00:00
Julian Descottes 628a0fbaa3 Bug 1714348 - [remote] Create dedicated jar.mn in remote/cdp r=webdriver-reviewers,whimboo
Depends on D116732

Move all CDP files from remote/jar.mn to a new remote/cdp/jar.mn to mirror what is done for marionette in D116732

Differential Revision: https://phabricator.services.mozilla.com/D116950
2021-06-07 10:08:24 +00:00
Julian Descottes 5f47d42219 Bug 1714348 - [marionette] Update chrome imports for Marionette modules to /remote/content/marionette r=webdriver-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D116732
2021-06-07 10:08:24 +00:00
Agi Sferro 65b64cb3e0 Bug 1709640 - Rename android-api-16 to android-arm. r=marionette-reviewers,firefox-build-system-reviewers,nalexander,whimboo,aklotz,releng-reviewers,mhentges,glandium,mtabara
We don't offer API splits any more, and with the separation of GeckoView with
the rest of the front-end it's increasingly unlikely that we will in the
future.

This change makes it so that the build name doesn't contain the API version so
that we can update it without breaking all the automation that relies on the
build name.

Differential Revision: https://phabricator.services.mozilla.com/D114369
2021-06-04 22:31:14 +00:00
Sandor Molnar 2a126fe036 Backed out changeset 453cb34e4a4a (bug 1709640) for causing linting failures in perfdocs/config. CLOSED TREE 2021-06-05 01:00:19 +03:00
Agi Sferro ecf4f5f0ad Bug 1709640 - Rename android-api-16 to android-arm. r=marionette-reviewers,firefox-build-system-reviewers,nalexander,whimboo,aklotz,releng-reviewers,mhentges,glandium,mtabara
We don't offer API splits any more, and with the separation of GeckoView with
the rest of the front-end it's increasingly unlikely that we will in the
future.

This change makes it so that the build name doesn't contain the API version so
that we can update it without breaking all the automation that relies on the
build name.

Differential Revision: https://phabricator.services.mozilla.com/D114369
2021-06-04 21:20:56 +00:00
Julian Descottes 1ee8695215 Bug 1713775 - [marionette] Fail session creation if the webSocketUrl capability is passed r=remote-protocol-reviewers,marionette-reviewers,jgraham
Until a BiDi implementation can be successfully started, creating a session with the webSocketUrl capability should throw.

Differential Revision: https://phabricator.services.mozilla.com/D116590
2021-06-02 14:30:23 +00:00
Henrik Skupin 898afde834 Bug 1708532 - [marionette] Only do trace logging in MarionetteEventsChild.actorCreated when trace level is set. r=marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D116071
2021-06-02 07:07:12 +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 2c6099421a Bug 1693993 - [marionette] Move Marionette server code to /remote/marionette. r=remote-protocol-reviewers,marionette-reviewers,jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106311
2021-05-31 17:36:06 +00:00
Alexandru Michis d30bd50d0f Backed out changeset 37f2f9ef6ef8 (bug 1693993) for containing unreviewed changes.
CLOSED TREE
2021-05-31 15:55:11 +03:00
Henrik Skupin 55d4518049 Bug 1693993 - [marionette] Move Marionette server code to /remote/marionette. r=remote-protocol-reviewers,marionette-reviewers,jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106311
2021-05-31 08:56:32 +00:00
Alex Lopez 1ee8086c02 Bug 1696251 - Refactor constructors in MachCommandBase subclasses to remove them. r=mhentges,remote-protocol-reviewers
Another step towards avoiding the need for classes in mach commands;
here we are removing constructors either by changing them into helpers
or by simple refactorings.

Differential Revision: https://phabricator.services.mozilla.com/D112434
2021-05-28 18:30:03 +00:00
Butkovits Atila 6bb47ac424 Backed out changeset 4b889750da57 (bug 1696251) for causing lint failures. CLOSED TREE 2021-05-28 01:43:11 +03:00
Alex Lopez 2e8613720d Bug 1696251 - Refactor constructors in MachCommandBase subclasses to remove them. r=mhentges,remote-protocol-reviewers
Another step towards avoiding the need for classes in mach commands;
here we are removing constructors either by changing them into helpers
or by simple refactorings.

Differential Revision: https://phabricator.services.mozilla.com/D112434
2021-05-27 21:03:46 +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
Dana Keeler a6eb3f69cd Bug 1711599 - remove unused HSTS dynamic preloading implementation r=rmf,remote-protocol-reviewers,marionette-reviewers,whimboo
This patch removes the ability for Firefox profiles to receive dynamic HSTS
preloading information via kinto/remote settings. This feature was implemented
some time ago but was never used. It is being removed to make upcoming changes
easier.

Differential Revision: https://phabricator.services.mozilla.com/D115315
2021-05-20 00:27:12 +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
Alex Lopez 455d9a088b Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-05-17 16:15:58 +00:00
Geoff Lankow 638052c1f3 Bug 1706216 - Enable Remote Agent in Thunderbird. r=whimboo,remote-protocol-reviewers,firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D112677
2021-05-13 23:14:24 +00:00
Henrik Skupin d20778cacd Bug 1710000 - [remote] Allow the "remote-listening" observer to also print other messages to stderr. r=remote-protocol-reviewers,jgraham,jdescottes
It's needed to independently print messages for CDP and/or
WebDriver BiDi depending on which protocol is actually active.

Differential Revision: https://phabricator.services.mozilla.com/D114572
2021-05-10 08:55:31 +00:00
Iulian Moraru 8c46a6b4ca Backed out changeset 8307b8b0bc7c (bug 1710000) for causing mochitests failures on browser_agent.js. CLOSED TREE 2021-05-07 20:27:37 +03:00
Henrik Skupin 884ece1b7f Bug 1710000 - [remote] Allow the "remote-listening" observer to also print other messages to stderr. r=remote-protocol-reviewers,jgraham
It's needed to independently print messages for CDP and/or
WebDriver BiDi depending on which protocol is actually active.

Differential Revision: https://phabricator.services.mozilla.com/D114572
2021-05-07 14:26:59 +00:00
Henrik Skupin 955d7a045e Bug 1693296 - [remote] Hardening Browser.close() for a clean shutdown. r=remote-protocol-reviewers,jdescottes
For a shutdown attempt all windows should be informed first so
that various components can safely do clean-up work.

If something prevents the shutdown the Remote Agent should force it.
This will make sure that no application process remains,
or would have to be force killed externally via its PID.

Differential Revision: https://phabricator.services.mozilla.com/D105490
2021-05-04 06:34:37 +00:00
Henrik Skupin 3504533e98 Bug 1701674 - [remote] Add handling of expectation data to readme. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D113499
2021-04-27 12:43:31 +00:00
Henrik Skupin 460f0ed59f Bug 1676803 - [remote] Hardening discards of registered FileIO streams. r=remote-protocol-reviewers,jdescottes
In some situations the FileIO stream's underlying file might not
exist anymore. Discarding the stream should not fail.

Depends on D112004

Differential Revision: https://phabricator.services.mozilla.com/D113379
2021-04-26 19:46:09 +00:00
Butkovits Atila 2e34e363b9 Backed out 2 changesets (bug 1696251) for causing js-bench-sm failures. CLOSED TREE
Backed out changeset 1c84c9a34575 (bug 1696251)
Backed out changeset e169193b7423 (bug 1696251)
2021-04-23 02:53:36 +03:00
Alex Lopez d1a82b8092 Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-04-22 18:56:15 +00:00
Henrik Skupin e5512a23ac Bug 1701168 - [remote] Properly wait for resize events on browser dimension changes. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D112738
2021-04-20 18:15:45 +00:00
Henrik Skupin 4d050d2ebf Bug 1693763 - [remote] Downstream sync graceful browser shutdown. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D110061
2021-04-20 04:46:00 +00:00
Henrik Skupin a7c720d7c9 Bug 1704998 - [remote] Don't use hidden window for WebSocket creation. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D112082
2021-04-19 17:16:14 +00:00
Cosmin Sabou 785f9b8a87 Backed out changeset d4a5d8567977 (bug 1696251) for non-unified build bustages. CLOSED TREE 2021-04-19 19:43:31 +03:00
Alex Lopez 75dfe35468 Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-04-19 16:15:11 +00:00
Emilio Cobos Álvarez 9afefdd884 Bug 1705757 - Move FrameLoader.print to BrowsingContext.print. r=nika,remote-protocol-reviewers,marionette-reviewers,extension-reviewers,zombie
This makes it trivial to choose the right BrowserParent to print a
browsing context, by removing the OuterWindowID / FrameLoader
indirections.

Differential Revision: https://phabricator.services.mozilla.com/D112412
2021-04-17 18:41:11 +00:00
Henrik Skupin ff3dfaa3ad Bug 1704548 - [remote] Re-enable Target.receivedMessageFromTarget events. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D111702
2021-04-13 04:18:51 +00:00
Henrik Skupin 6303ba95ce Bug 1704542 - [remote] Remove "CDP: *" Bugzilla component suggestions from moz.build. r=remote-protocol-reviewers,jdescottes
DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D111643
2021-04-12 18:11:55 +00:00
tildaudufo bfa02a1052 Bug 1631570 - [remote] Use optional options arguments for all public CDP commands r=whimboo,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D105046
2021-04-10 10:36:53 +00:00
Mike Conley 3234dacb1a Bug 1686743 - Fix up CDP tests for when prompts.contentPromptSubDialog is enabled. r=remote-protocol-reviewers,mtigley,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D110270
2021-04-08 16:50:01 +00:00
Henrik Skupin 10ed8516d0 Bug 1702142 - [remote] Unify logging between Marionette and Remote Agent. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D110936
2021-04-06 15:08:50 +00:00
Bogdan Tara c4608fba0e Backed out changeset 0fccc6a4922d (bug 1686743) for remote failures on browser_javascriptDialog_* CLOSED TREE 2021-04-01 20:40:33 +03:00
Mike Conley e5940abe8b Bug 1686743 - Fix up CDP tests for when prompts.contentPromptSubDialog is enabled. r=remote-protocol-reviewers,mtigley,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D110270
2021-04-01 16:43:14 +00:00