Julian Descottes
0b3d4cc455
Bug 1732958 - [puppeteer] Skip 2 new mandatory tests on Firefox r=webdriver-reviewers,whimboo
...
Depends on D134666
Differential Revision: https://phabricator.services.mozilla.com/D134667
2022-01-04 12:11:45 +00:00
Julian Descottes
aa5938c302
Bug 1732958 - [puppeteer] Sync puppeteer v13.0.1 r=webdriver-reviewers,whimboo
...
Depends on D134665
Differential Revision: https://phabricator.services.mozilla.com/D134666
2022-01-04 12:11:44 +00:00
Nafees Nehar
7d06f219e0
Bug 1605354 - [remote] Support for Network.getCookies's "urls" parameter. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D126828
2021-12-23 15:39:46 +00:00
Henrik Skupin
a854264cda
Bug 1740798 - [puppeteer] Remove multiple results from test "Page.click should click the button". r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D131472
2021-11-18 09:12:03 +00:00
Henrik Skupin
bece95705b
Bug 1740798 - [puppeteer] Update expected meta data. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D131212
2021-11-16 14:58:11 +00:00
Henrik Skupin
ed424648de
Bug 1713030 - [puppeteer] Update puppeteer expectation data and launcher tests. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D128453
2021-11-10 17:21:04 +00:00
Henrik Skupin
4f094b2f9b
Bug 1713030 - [puppeteer] Support for custom user data (profile) directory for Firefox. r=webdriver-reviewers,jdescottes
...
When using a custom Firefox profile for Puppeteer the modified
preferences as present in prefs.js need to be reset once the
profile is no longer needed by Puppeteer. If not done this could
cause side-effects when the profile is used next time outside
of Puppeteer.
Differential Revision: https://phabricator.services.mozilla.com/D128452
2021-11-10 17:21:03 +00:00
Henrik Skupin
e679d9a2c5
Bug 1713030 - [puppeteer] Extract creation of Firefox preferences files from profile creation. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D128451
2021-11-10 17:21:03 +00:00
Henrik Skupin
2faff04c93
Bug 1713030 - [puppeteer] Extract default preferences for Firefox from profile creation. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D128450
2021-11-10 17:21:03 +00:00
Henrik Skupin
f84b7f51bd
Bug 1713030 - [puppeteer] "--foreground" argument for Firefox is only supported on MacOS. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D128449
2021-11-10 17:21:02 +00:00
Henrik Skupin
a2602f840c
Bug 1734208 - [remote] Ignore stdout in Puppeteer if dumpio isn't used. r=webdriver-reviewers,jdescottes
...
When the browser child process has logging enabled
and output on stdout isn't constantly processed,
the browser process is about to freeze.
To avoid such a situation at least the stdout
pipe shouldn't be set by default but only if
dumpio is enabled.
Differential Revision: https://phabricator.services.mozilla.com/D127883
2021-10-11 05:46:47 +00:00
Henrik Skupin
6553b9b08f
Bug 1601245 - [remote] Enable Puppeteer and CDP browser-chrome mochitests for Fission. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D127524
2021-10-06 04:30:27 +00:00
Nafees Nehar
7b783556f9
Bug 1605362 - Network.getCookies() returns all cookies of current page and all of its sub frames as well. r=webdriver-reviewers,jdescottes
...
Added check in Network.getCookies() to skip duplicate cookies
Also added tests.
Created html files for running tests which set cookies
- remote/cdp/test/browser/network/doc_get_cookies_page.html
- remote/cdp/test/browser/network/doc_get_cookies_frame.html
Added tests to /remote/cdp/test/browser/network/browser_getCookies.js
Updated Puppeteer tests-
- changed Page.setCookie should set secure same-site cookies from a frame spec to PASS
Differential Revision: https://phabricator.services.mozilla.com/D122382
2021-08-17 19:24:45 +00:00
Julian Descottes
1eef22c6b8
Bug 1714068 - Bug 1707588 - [puppeteer] Sync vendored puppeteer to v10.0.0 r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D118526
2021-06-23 12:37:53 +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
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
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
Dorel Luca
60a72134cc
Backed out changeset 4d29ba47da66 (bug 1693763) for causing Bug 1701960. CLOSED TREE
2021-03-30 21:35:47 +03: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
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
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
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
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
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
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
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
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