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

686 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin 306b013345 Bug 1695243 - [remote] Remove 3rd argument when importing "addDebuggerToGlobal". r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D107649
2021-03-09 15:15:40 +00:00
Henrik Skupin 85f09833cd Bug 1695639 - [remote] Enforce disabling of update checks. r=remote-protocol-reviewers,jdescottes
Use the preference "app.update.disabledForTesting" to enforce
that no update checks are performed when the Remote Agent is
active.

Differential Revision: https://phabricator.services.mozilla.com/D106909
2021-03-08 13:44:55 +00:00
Henrik Skupin 983c92b44e Bug 1696160 - [remote] Only reset those recommended preferences that were previously set. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D107054
2021-03-08 13:44:55 +00:00
Bogdan Tara 9d696ebe03 Backed out 2 changesets (bug 1695639) for remote crashes CLOSED TREE
Backed out changeset a54388a30704 (bug 1695639)
Backed out changeset d345b8a1d9ec (bug 1695639)
2021-03-03 00:22:18 +02:00
Henrik Skupin f46a866ba6 Bug 1695639 - [remote] Enforce disabling of update checks. r=remote-protocol-reviewers,jdescottes
Use the preference "app.update.disabledForTesting" to enforce
that no update checks are performed when the Remote Agent is
active.

Differential Revision: https://phabricator.services.mozilla.com/D106909
2021-03-02 17:35:15 +00:00
Henrik Skupin b7893c030d Bug 1601618 - [remote] Use lazy loading of modules and delayed setting of global properties. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D106602
2021-02-26 15:37:41 +00:00
Henrik Skupin 889c0aae00 Bug 1694322 - [remote] Fix "mach file-info bugzilla-component" for /remote/cdp. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D106614
2021-02-26 15:22:58 +00:00
Cosmin Sabou 960ace0eea Bug 1690475 - Fix lint error on mach_commands.py. a=lint-fix 2021-02-23 19:55:30 +02: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 c1aa949ca0 Bug 1693021 - [puppeteer] Add --enable-webrender argument to mach command. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D105361
2021-02-17 08:48:57 +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
Henrik Skupin a8048b6222 Bug 1691814 - [remote] Improve failure message for timestamp assertions. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D104578
2021-02-13 11:04:09 +00:00
Henrik Skupin 198eb87df5 Bug 1682076 - [remote] Add favicon.ico for Puppeteer unit tests. r=remote-protocol-reviewers,jdescottes
Temporarily add a favicon to fix Puppeteer tests relying on a proper set of console log messages. It's the same favicon as used in https://github.com/puppeteer/puppeteer/pull/6868 which will land post Puppeteer 7.0.4.

Differential Revision: https://phabricator.services.mozilla.com/D104809
2021-02-13 11:03:29 +00:00
Kris Maglione 0ec4615244 Bug 1662840: Move `overrideDPPX` from nsIContentViewer to BrowsingContext. r=whimboo,remote-protocol-reviewers,mtigley,emilio
Differential Revision: https://phabricator.services.mozilla.com/D104001
2021-02-10 01:30:35 +00:00
Henrik Skupin dec36ad2f5 Bug 1690469 - [remote] Reorganize Remote Agent Rust module. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D104209
2021-02-06 16:27:22 +00:00
Henrik Skupin d461492d57 Bug 1690468 - [remote] Move Remote Agent component related files to components/. r=remote-protocol-reviewers,jgraham,mak
Differential Revision: https://phabricator.services.mozilla.com/D104159
2021-02-08 12:34:37 +00:00
Henrik Skupin a82f8b1b2d Bug 1690472 - [remote] Move sharable top-level JS modules to shared/ subfolder. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D103944
2021-02-06 16:27:01 +00:00
Paul Zuehlcke cbda00d7e1 Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99893
2021-02-05 13:40:42 +00:00
Bogdan Tara bbc8af695c Backed out 3 changesets (bug 1690472, bug 1690469, bug 1690468) for browser_Troubleshoot.js failures CLOSED TREE
Backed out changeset a8552dfa3009 (bug 1690469)
Backed out changeset dccc9af2fd2d (bug 1690468)
Backed out changeset 3f2817c73dff (bug 1690472)
2021-02-05 18:15:26 +02:00
Henrik Skupin af8ff9325e Bug 1690469 - [remote] Reorganize Remote Agent Rust module. r=remote-protocol-reviewers,jgraham
Depends on D104159

Differential Revision: https://phabricator.services.mozilla.com/D104209
2021-02-05 15:07:03 +00:00
Henrik Skupin ffff48e5b5 Bug 1690468 - [remote] Move Remote Agent component related files to components/. r=remote-protocol-reviewers,jgraham
Depends on D103944

Differential Revision: https://phabricator.services.mozilla.com/D104159
2021-02-05 15:07:33 +00:00
Henrik Skupin 1a93388c50 Bug 1690472 - [remote] Move sharable top-level JS modules to shared/ subfolder. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D103944
2021-02-05 16:03:15 +00:00
Bogdan Tara ad1e568c64 Backed out 3 changesets (bug 1690472, bug 1690469, bug 1690468) for test_Sync.js failures CLOSED TREE
Backed out changeset a997c2b34b36 (bug 1690469)
Backed out changeset fc757eec91bd (bug 1690468)
Backed out changeset b60bf057d62f (bug 1690472)
2021-02-05 17:02:21 +02:00
Henrik Skupin c8e15bb92e Bug 1690469 - [remote] Reorganize Remote Agent Rust module. r=remote-protocol-reviewers,jgraham
Depends on D104159

Differential Revision: https://phabricator.services.mozilla.com/D104209
2021-02-05 13:31:33 +00:00
Henrik Skupin 7cb9dcf75e Bug 1690468 - [remote] Move Remote Agent component related files to components/. r=remote-protocol-reviewers,jgraham
Depends on D103944

Differential Revision: https://phabricator.services.mozilla.com/D104159
2021-02-05 13:23:40 +00:00
Henrik Skupin 696ff9be8a Bug 1690472 - [remote] Move sharable top-level JS modules to shared/ subfolder. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D103944
2021-02-05 13:21:03 +00:00
Masayuki Nakano cb448c5095 Bug 1685491 - part.1: Map typical commands to synthesized keyboard events for test on Linux and macOS r=smaug,remote-protocol-reviewers
Currently, we don't allow keyboard events synthesized for tests retrieve native
key bindings in content process.  However, due to this, we cannot test keyboard
navigation, deleting per word, etc on Linux and macOS either with mochitest
or WPT.  For making better compatibility with the other browsers, we should
write WPT more with the test driver.  Therefore, we should allow keyboard
events synthesized for tests retrieve native key bindings.

On the other hand, if we make them retrieve customized keyboard shortcuts
in the environment, some developers may not be able to run tests locally without
resetting their customization.  Therefore, this patch makes `NativeKeyBindings`
set "standard" shortcut keys on the platform instead of retrieving actual
shortcut key results.

If referring the default shortcut key bindings is not good thing for
WebDriver/CDP, perhaps, `TextInputProcessor` should have a new flag which can
refer customized shortcut keys even in content process.  But I think that it
should be done in another bug because some edit commands are mapped forcibly
like this patch.
https://searchfox.org/mozilla-central/rev/c03e8de87cdb0ce0378c0886d3c0ce8bbf9dc44e/remote/domains/parent/Input.jsm#82-102

Differential Revision: https://phabricator.services.mozilla.com/D102877
2021-02-02 03:02:30 +00:00
Henrik Skupin 45553af4bb Bug 1683392 - [puppeteer] Use "npm ci" only when tests are run on TaskCluster. r=remote-protocol-reviewers,jdescottes
This patch adds a new "--ci" argument for the
"mach puppeteer-test" command. As such it can
also be used locally to simulate a test job in CI.

Differential Revision: https://phabricator.services.mozilla.com/D101780
2021-02-01 10:59:38 +00:00
Narcis Beleuzu 868935867c Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js
Backed out changeset 635972f169e7 (bug 1596897)
Backed out changeset a84b667007e2 (bug 1596897)
2021-01-30 04:01:21 +02:00
Paul Zuehlcke 3d476753eb Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99893
2021-01-29 16:11:08 +00:00
David Burns 3cc69b8cc4 Bug 1687021: Allow connection header names to be case insensitive. r=remote-protocol-reviewers,whimboo
Some client bindings will send over the headers with either a capital
first letter and some might not. We need to handle all cases

Differential Revision: https://phabricator.services.mozilla.com/D103384
2021-01-29 08:17:38 +00:00
Masatoshi Kimura 54c1b8dee1 Bug 1687108 - Remove unused content policy types. r=ckerschb,remote-protocol-reviewers,smaug
Differential Revision: https://phabricator.services.mozilla.com/D102083
2021-01-19 09:42:13 +00:00
Micah Tigley 1b5b46ec79 Bug 1680637 - Update tests using the old dialog UI to only use the old UI. r=jaws,Gijs,marionette-reviewers,whimboo,remote-protocol-reviewers
Depends on D100172

Differential Revision: https://phabricator.services.mozilla.com/D101388
2021-01-14 21:45:14 +00:00
Kartik Gautam 7ae6aea145 Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D100484
2021-01-07 08:53:08 +00:00
Cosmin Sabou 2978aa00a3 Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
Kartik Gautam 775cdec032 Bug 1684173 - Add newline character at end of files when missing r=sylvestre
Depends on D100443

Differential Revision: https://phabricator.services.mozilla.com/D100484
2020-12-27 11:43:41 +00:00
Henrik Skupin 300b5a7010 Bug 1606604 - [remote] Disable experimental SameSite=Lax by default. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D100168
2020-12-22 12:54:55 +00:00
Brindusan Cristian 65644db919 Backed out 2 changesets (bug 1606604) for build bustages on remote_default. CLOSED TREE
Backed out changeset 7357db102337 (bug 1606604)
Backed out changeset 8c6c88dc5956 (bug 1606604)
2020-12-22 13:57:29 +02:00
Henrik Skupin 0d33e4db2d Bug 1606604 - [remote] Disable experimental SameSite=Lax by default. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D100168
2020-12-21 12:50:44 +00:00
Henrik Skupin 016c762add Bug 1680504 - [remote] Implement Runtime.exceptionThrown. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D100026
2020-12-21 12:35:40 +00:00
Henrik Skupin 915e1d9809 Bug 1681855 - [remote] Fallback to default timeout in browser_consoleAPICalled.js. r=remote-protocol-reviewers,jgraham
The 250ms are too short given that the call to any console API could be
delayed due to IPC communication. As such use the default timeout
value as done by all the other tests that are using the events
recorder.

Differential Revision: https://phabricator.services.mozilla.com/D99657
2020-12-14 09:25:49 +00:00
Xidorn Quan 3173c39eb9 Bug 1681935 - Replace dependency to failure with thiserror in remote crate. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99442
2020-12-11 14:34:23 +00:00
Henrik Skupin f4dc4d8584 Bug 1553854 - [remote] Implement Runtime.consoleAPICalled. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D98599
2020-12-10 21:54:10 +00:00
Sam Foster a42c193442 Bug 1654684 - Move chevron.svg to toolkit. r=remote-protocol-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D97394
2020-12-09 20:49:25 +00:00
Csoregi Natalia 4eae934956 Backed out 2 changesets (bug 1654684) for browser chrome failures with .printPreviewCurrentPageNumber. CLOSED TREE
Backed out changeset 2fdc1b5569e1 (bug 1654684)
Backed out changeset 8ae1d037aa9c (bug 1654684)
2020-12-09 16:11:42 +02:00
Sam Foster c5963a5340 Bug 1654684 - Move chevron.svg to toolkit. r=remote-protocol-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D97394
2020-12-09 02:45:29 +00:00
Henrik Skupin f56f5b402f Bug 1680814 - [remote] Target events have to emit a complete TargetInfo dictionary. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D98848
2020-12-08 09:19:39 +00:00
Henrik Skupin 8bbcc2773b Bug 1680962 - [remote] sendResponse has to always return a result in the response payload. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D98854
2020-12-07 14:01:17 +00:00
Brindusan Cristian 6474307318 Backed out 2 changesets (bug 1654684) for bc failures at browser_ext_tabs_printPreview. CLOSED TREE
Backed out changeset 5a0333ca8a19 (bug 1654684)
Backed out changeset 87d06a4d6ab6 (bug 1654684)
2020-12-07 12:59:10 +02:00