1853 Commits

Author SHA1 Message Date
Alexandra Borovova
1510b2cfbf Bug 1884647 - [bidi] Fix partitioning in cookie commands. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D204220
2024-03-15 15:08:55 +00:00
Julian Descottes
fab6b87d22 Bug 1885495 - [remote] Add support for the default userAgent capability r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D204746
2024-03-15 14:14:09 +00:00
Alexandra Borovova
4873bc8217 Bug 1855040 - Implement "input.setFiles" command. r=webdriver-reviewers,whimboo,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D203285
2024-03-12 09:41:24 +00:00
Alexandra Borovova
4e99ec1bc9 Bug 1855040 - Move Event module to webdriver shared folder. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D203284
2024-03-12 09:41:23 +00:00
Mark Banner
ecaac10c8e Bug 1884623 - Update more jsm references in production code and docs in remote/. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204187
2024-03-12 08:55:41 +00:00
Henrik Skupin
997202a1d6 Bug 1877469 - [webdriver-bidi] Await visibilitystatus change for previously selected tab when creating or switching tabs. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D201061
2024-03-08 21:17:11 +00:00
Henrik Skupin
ad72058ded Bug 1877629 - [remote] Fix "mach puppeteer-test" for product "chrome". r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D203885
2024-03-08 14:23:19 +00:00
Gregory Pappas
ea69b62538 Bug 1883217 - Remove unused defines in IDL files r=webdriver-reviewers,necko-reviewers,credential-management-reviewers,places-reviewers,dom-core,Standard8,valentin,mccr8,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D203347
2024-03-06 19:04:25 +00:00
Henrik Skupin
1b8e66e079 Bug 1878632 - [puppeteer] Update test expectations. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D200800
2024-03-06 09:40:06 +00:00
Henrik Skupin
ff95590c0f Bug 1878632 - [puppeteer] Remove -S parameter in Shebang from mocha-runner script because it's not supported in CI. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D200799
2024-03-06 09:40:05 +00:00
Henrik Skupin
f2fbca6ecd Bug 1878632 - [puppeteer] Sync vendored puppeteer to v22.4.0. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D200798
2024-03-06 09:40:05 +00:00
Julian Descottes
11892affc1 Bug 1882086 - [cdp] Add a deprecation warning to the log output when CDP is enabled r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D203530
2024-03-05 09:46:47 +00:00
Henrik Skupin
ffcae73032 Bug 1882748 - [remote] Always apply recommended common preferences. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D203236
2024-03-04 14:47:37 +00:00
Sean Feng
3efbd66e3f Bug 1483828 - [Part 5] Add a dummy element to a few tests to ensure the focus is not unexpectedly moved to the Chrome UI. r=webdriver-reviewers,search-reviewers,mcheang,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D202873
2024-03-04 14:16:32 +00:00
Dave Townsend
b1df411027 Bug 1864896: Remove jsdoc params for removed arguments (remote). r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D202982
2024-03-01 23:43:51 +00:00
Dave Townsend
049e4fc37a Bug 1864896: Autofix unused function arguments (remote). r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D202981
2024-03-01 23:43:51 +00:00
Alexandra Borovova
0bf957f309 Bug 1880131 - Remove "network.cookie.cookieBehavior" preference from CDP recommended preferences. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D202924
2024-02-29 10:47:27 +00:00
Alexandra Borovova
23f130c799 Bug 1875255 - [bidi] Add support for "userContext" as a field on "partition" argument for cookies commands. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D201965
2024-02-28 09:35:06 +00:00
Alexandra Borovova
cbd246264a Bug 1854581 - [bidi] Implement "storage.deleteCookies" command. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D200935
2024-02-27 17:26:16 +00:00
Julian Descottes
876d3096fd Bug 1880160 - [bidi] Ignore file channels in BiDi network listener r=webdriver-reviewers,Sasha
File channels do not support the same APIs as other channels and make the NetworkEventRecord throw.
Support should be added in Bug 1826210.

Differential Revision: https://phabricator.services.mozilla.com/D202558
2024-02-23 14:55:57 +00:00
Julian Descottes
41a59dc6d8 Bug 1880477 - [bidi] Add basic support for network.provideResponse command r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D201967
2024-02-22 16:17:20 +00:00
Mark Banner
b4dc975e82 Bug 1880535 - Enable ESLint rule no-unused-private-class-members. r=Gijs,webdriver-reviewers,webcompat-reviewers,extension-reviewers,application-update-reviewers,devtools-reviewers,translations-reviewers,bytesized,twisniewski,jhirsch,robwu,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D202002
2024-02-20 22:09:21 +00:00
Gijs Kruitbosch
6168506717 Bug 1780071 - autofix violations of no-comparison-or-assignment-inside-ok in misc other folders r=webdriver-reviewers,necko-reviewers,sync-reviewers,profiler-reviewers,sgalich,whimboo,markh,kershaw,julienw
Differential Revision: https://phabricator.services.mozilla.com/D198978
2024-02-19 21:47:41 +00:00
Henrik Skupin
8b9bfc7ede Bug 1880391 - [puppeteer] Upgrade node module ljharb/through to fix bustage. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D201994
2024-02-15 17:57:44 +00:00
Iulian Moraru
3c429990cb Backed out 2 changesets (bug 1875040) for causing performance regression - Bug 1877481. CLOSED TREE
Backed out changeset 8af7503ecb57 (bug 1875040)
Backed out changeset 0e77ff8e2bfc (bug 1875040)
2024-02-15 17:40:41 +02:00
Alexandra Borovova
67e1ebde82 Bug 1854582 - [bidi] Implement "storage.setCookie" command. r=webdriver-reviewers,whimboo,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D200187
2024-02-15 12:46:42 +00:00
Nathan LaPre
e6e1c8b58d Bug 1878350: Expose empty string to WebDriver to represent "no accessible name", r=Jamie,webdriver-reviewers,whimboo
This revision modifies the WebDriver implementation to return an empty string,
rather than null, for the value of an accessible name, in the event that the
accessible name calculation produces no accessible name. This does not change
what we actually think the accessible name is (null), nor does it change how we
expose it to platforms, but it does bring us in line with other browsers for the
purpose of passing web platform name tests. This revision also removes the 16
expected failures in html "no name" tests.

Differential Revision: https://phabricator.services.mozilla.com/D201633
2024-02-14 23:24:37 +00:00
Alexandra Borovova
a05f76918a Bug 1854580 - [bidi] Implement "storage.getCookies" command. r=webdriver-reviewers,jdescottes,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D199068
2024-02-13 17:08:48 +00:00
Henrik Skupin
5f3f1738d7 Bug 1865381 - [marionette] Update Selenium atoms to 21560a497470f0c769931c17fa9803c6cddf6f1c. r=webdriver-reviewers,jdescottes
Depends on D201582

Differential Revision: https://phabricator.services.mozilla.com/D201583
2024-02-12 21:56:36 +00:00
Mark Banner
c689ddb4a2 Bug 1879811 - Replace deprecated ESLint rule no-new-object with no-object-constructor. r=Gijs,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D201362
2024-02-12 18:46:29 +00:00
Julian Descottes
168ad4647b Bug 1845345 - [bidi] Remove the experimental flag for network intercept features r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D201509
2024-02-12 17:44:28 +00:00
Kagami Sascha Rosylight
466dba5633 Bug 1876754 - Add Permissions::ParseSetParameters for webdriver r=webdriver-reviewers,webidl,smaug,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D200941
2024-02-12 16:08:03 +00:00
Henrik Skupin
19cc83e98a Bug 1693857 - [marionette] Implicitly accept "beforeunload" prompts in Marionette. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D198681
2024-02-10 16:46:33 +00:00
Henrik Skupin
b14035e694 Bug 1693857 - [remote] Only apply custom preferences if provided. r=webdriver-reviewers,jdescottes
If we aren't checking that extra preferences are actually
provided, we will fail completely in setting recommended
preferences.

Differential Revision: https://phabricator.services.mozilla.com/D198698
2024-02-10 16:46:32 +00:00
Henrik Skupin
ac1ced1f8c Bug 1693857 - [remote] Support "beforeunload" prompt type in dialog class. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D198680
2024-02-10 16:46:32 +00:00
Henrik Skupin
9d52a3520c Bug 1693857 - [marionette] Use Promise.withResolvers for dialog handling. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D198679
2024-02-10 16:46:31 +00:00
Cristina Horotan
f0a3839410 Backed out 2 changesets (bug 1877469) for causing Wd failures at context_destroyed.py CLOSED TREE
Backed out changeset 9bda3647e32c (bug 1877469)
Backed out changeset 4aa0d79f3e06 (bug 1877469)
2024-02-09 15:40:14 +02:00
Henrik Skupin
bdbbb4eca8 Bug 1877469 - [webdriver-bidi] Await visibilitystatus change for previously selected tab when creating or switching tabs. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D201061
2024-02-09 12:18:26 +00:00
Julian Descottes
f231ce5833 Bug 1879363 - [wdspec] Use consistent pattern for all event subsriptions in browsingContext module r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D201130
2024-02-09 10:10:41 +00:00
Julian Descottes
f0769c94cb Bug 1877438 - [bidi] Emit fetchError event for requests blocked early r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D200873
2024-02-08 21:16:06 +00:00
Kagami Sascha Rosylight
1fce01ac0e Bug 1875257 - Part 1: Generalize permission handling of storage-access to all permissions r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198836
2024-02-06 15:57:30 +00:00
Julian Descottes
191a9767e8 Bug 1874920 - [bidi] Avoid using internal user context id in bidi modules r=webdriver-reviewers,whimboo
Depends on D200182

Differential Revision: https://phabricator.services.mozilla.com/D200610
2024-02-06 13:34:44 +00:00
Julian Descottes
11481b0940 Bug 1874920 - [bidi] Add userContext field to browsingContext.Info r=webdriver-reviewers,whimboo
Depends on D200339

Differential Revision: https://phabricator.services.mozilla.com/D200024
2024-02-06 13:34:42 +00:00
Julian Descottes
a5b2920165 Bug 1874918 - [bidi] Support userContext parameter for browsingContext.create r=webdriver-reviewers,Sasha,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D200019
2024-02-06 13:34:41 +00:00
Henrik Skupin
527aa78bb4 Bug 1876035 - [remote] Only register NavigationListenerActor when a window global is available. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D200769
2024-02-06 12:14:09 +00:00
jingz
23adbf7d3d Bug 1832792 - [remote] Update RemoteValue deserialization methods to have serializedValue as first argument r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D200214
2024-02-06 09:44:12 +00:00
Julian Descottes
9fe63665df Bug 1874206 - [bidi] Implement basic support for network.continueResponse r=webdriver-reviewers,Sasha
Depends on D199748

On top of request support, also add credentials support since we already have the underlying logic for continueWithAuth

Differential Revision: https://phabricator.services.mozilla.com/D199749
2024-02-05 17:18:10 +00:00
Julian Descottes
5fb3e4a99b Bug 1874206 - [bidi] Implement basic support for network.continueRequest r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D199748
2024-02-05 17:18:10 +00:00
Henrik Skupin
e8e5c46096 Bug 1878324 - [puppeteer] replace usages of webkit-scrollbar with scrollbar-width r=webdriver-reviewers,Sasha
To continue investigating issues with screenshots these
changes will be pulled before the next vendoring.

Differential Revision: https://phabricator.services.mozilla.com/D200466
2024-02-05 09:44:15 +00:00
Henrik Skupin
d601656f8a Bug 1873948 - [puppeteer] Keep "browser.tabs.closeWindowWithLastTab" disabled for CDP. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D200073
2024-02-02 16:54:32 +00:00