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
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
Dorel Luca
60a72134cc
Backed out changeset 4d29ba47da66 (bug 1693763) for causing Bug 1701960. CLOSED TREE
2021-03-30 21:35:47 +03:00
Julian Descottes
43975df10a
Bug 1609162 - [remote] Start remote agent only once in remote mochitests r=remote-protocol-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D110214
2021-03-30 12:25:32 +00:00
Henrik Skupin
9f673fb7ee
Bug 1693763 - [remote] Downstream sync graceful browser shutdown. r=remote-protocol-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D110061
2021-03-29 12:30:02 +00:00
Julian Descottes
7f55e6839f
Bug 1694506 - [puppeteer] Update puppeteer-expected.json for v8.0.0 r=remote-protocol-reviewers,whimboo
...
Depends on D108859
Summary of changes.
New tests:
- PASS: Page Page.waitForRequest should work with async predicate (page.spec.ts)
- PASS: JSHandle JSHandle.jsonValue works with jsonValues that are not objects (jshandle.spec.ts)
- PASS: JSHandle JSHandle.jsonValue works with jsonValues that are primitives (jshandle.spec.ts)
- FAIL: Page Page.emulateNetworkConditions should change navigator.connection.effectiveType (page.spec.ts)
- FAIL: Launcher specs Puppeteer Puppeteer.connect should be able to reconnect (launcher.spec.ts)
The existing TIMEOUT test "Page Page.Events.Popup should work with clicking target=_blank (page.spec.ts)" was split in 2:
- TIMEOUT: Page Page.Events.Popup should work with clicking target=_blank and without rel=opener (page.spec.ts)
- TIMEOUT: Page Page.Events.Popup should work with clicking target=_blank and with rel=opener (page.spec.ts)
The existing FAIL test "Screenshots Page.screenshot should clip elements to the viewport (screenshot.spec.ts)" was changed and is now passing (we didn't clip to the viewport, and puppeteer doesn't expect that anymore):
- PASS: Screenshots Page.screenshot should get screenshot bigger than the viewport (screenshot.spec.ts)
The existing SKIP test "Launcher specs Puppeteer Puppeteer.launch should be able to launch Firefox (launcher.spec.ts)" is now running with itFailsWindows instead of itOnlyRegularInstall. It used to be flagged as SKIP, but it is now failing because we attempt to run it.
- FAIL: Launcher specs Puppeteer Puppeteer.launch should be able to launch Firefox (launcher.spec.ts)
Differential Revision: https://phabricator.services.mozilla.com/D108100
2021-03-18 15:02:13 +00:00
Julian Descottes
408f997797
Bug 1694506 - [puppeteer] chore: skip non-standard cookie asserts on Firefox (sync #6994 ) r=remote-protocol-reviewers,whimboo
...
Depends on D108099
Synchronize the upstream change merged at https://github.com/puppeteer/puppeteer/pull/6994
Differential Revision: https://phabricator.services.mozilla.com/D108859
2021-03-18 15:02:13 +00:00
Julian Descottes
3eac4f3ce3
Bug 1694506 - [puppeteer] Sync vendored puppeteer to v8.0.0 r=remote-protocol-reviewers,whimboo
...
Generated by running ./mach remote vendor-puppeteer and replacing itFailsFirefox to it etc...
Differential Revision: https://phabricator.services.mozilla.com/D108099
2021-03-18 15:02:12 +00:00
Henrik Skupin
43261f7648
Bug 1698152 - [puppeteer] Improve "Page.close should run beforeunload if asked for" unittest for Firefox. r=remote-protocol-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D108636
2021-03-16 15:38:39 +00:00
Ted Campbell
0004fb8b5c
Bug 1697954 - Remove unused javascript.options.showInConsole prefs r=marionette-reviewers,webdriver-reviewers,mossop,remote-protocol-reviewers,whimboo
...
This dates back to a time before the browser console where the normal content
console could optionally show chrome code messages. Today it serves no use.
Differential Revision: https://phabricator.services.mozilla.com/D108130
2021-03-15 19:50:41 +00:00
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