Commit Graph

481 Commits

Author SHA1 Message Date
Julian Descottes
b17c68fc9b Bug 1886821 - [remote] Cleanup Dialog class after removal of old modal implementation r=webdriver-reviewers,whimboo
We no longer need the curBrowserFn to build the Dialog instance, so we can simplify the implementation

Differential Revision: https://phabricator.services.mozilla.com/D205348
2024-03-22 13:19:58 +00:00
Gijs Kruitbosch
999878b497 Bug 1705440 - remove old modal prompt implementation, r=mconley,webdriver-reviewers,extension-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,whimboo,rpl
Differential Revision: https://phabricator.services.mozilla.com/D204759
2024-03-20 17:47:47 +00:00
Butkovits Atila
8fd100bae7 Backed out 2 changesets (bug 1883557, bug 1705440) for causing failures at browser_ext_sidebarAction_contextMenu.js. CLOSED TREE
Backed out changeset 89f62e190e69 (bug 1705440)
Backed out changeset 79dfddac72f9 (bug 1883557)
2024-03-20 14:17:11 +02:00
Gijs Kruitbosch
a3568826b0 Bug 1705440 - remove old modal prompt implementation, r=mconley,webdriver-reviewers,extension-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,whimboo,rpl
Differential Revision: https://phabricator.services.mozilla.com/D204759
2024-03-20 10:10:26 +00:00
Mark Banner
f089db76c4 Bug 1885723 - Fix more jsm references in remote/. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D204847
2024-03-19 08:59:11 +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
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
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
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
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
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
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
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
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
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
Henrik Skupin
c21618b331 Bug 1873948 - [webdriver-bidi] "browsingContext.close" should be able to close the last tab of a window. r=webdriver-reviewers,Sasha
This also removes the custom value of the recommended
preference `browser.tabs.closeWindowWithLastTab` because
it's not needed anymore.

Differential Revision: https://phabricator.services.mozilla.com/D199134
2024-02-02 16:54:32 +00:00
Henrik Skupin
7e84232557 Bug 1878014 - [remote] Do not truncate long WebSocket response payloads if "remote.log.truncate" is not set. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D200335
2024-02-01 15:38:17 +00:00
Julian Descottes
d02d67c3b8 Bug 1870849 - [remote] Add NoSuchUserContext error r=webdriver-reviewers,whimboo
Depends on D198970

Differential Revision: https://phabricator.services.mozilla.com/D198986
2024-01-24 14:15:42 +00:00
Julian Descottes
6f17ac3554 Bug 1870848 - [remote] Introduce shared webdriver helper UserContextManager r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D198946
2024-01-24 14:15:41 +00:00
Alexandra Borovova
54c6b6ae1e Bug 1858458 - [bidi] Add support for "contexts" argument to "script.addPreloadScript" command. r=webdriver-reviewers,whimboo,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D199225
2024-01-24 09:58:45 +00:00
Norisz Fay
aa4cd964cc Backed out changeset 44ed20f894fb (bug 1873948) for causing Puppeteer related failure CLOSED TREE 2024-01-22 20:11:57 +02:00
Julian Descottes
c8810b1f72 Bug 1875299 - [remote] Use openTrustedLinkIn in WindowManager.openBrowserWindow r=webdriver-reviewers,whimboo
openTrustedLinkIn allows to specify additional parameters such as the userContextId which is useful to support user context features in
webdriver bidi.

Differential Revision: https://phabricator.services.mozilla.com/D198980
2024-01-22 13:59:54 +00:00
Henrik Skupin
78c3eb9876 Bug 1873948 - [webdriver-bidi] "browsingContext.close" should be able to close the last tab of a window. r=webdriver-reviewers,Sasha
This also removes the custom value of the recommended
preference `browser.tabs.closeWindowWithLastTab` because
it's not needed anymore.

Differential Revision: https://phabricator.services.mozilla.com/D199134
2024-01-22 13:29:21 +00:00
Gregory Pappas
e3882b1984 Bug 1837747 - Use Services.prefs instead of Preferences.sys.mjs in remote/ r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D198755
2024-01-17 15:42:33 +00:00
Julian Descottes
bb528b2f97 Bug 1790375 - [bidi] Implement network.fetchError event r=webdriver-reviewers,whimboo
Implements https://w3c.github.io/webdriver-bidi/#event-network-fetchError

Differential Revision: https://phabricator.services.mozilla.com/D197586
2024-01-11 23:29:42 +00:00
Cosmin Sabou
2a8f474615 Backed out 3 changesets (bug 1790375) for causing wd failures on fetch_error.py. CLOSED TREE
Backed out changeset 12e0d45fb593 (bug 1790375)
Backed out changeset a51daae37008 (bug 1790375)
Backed out changeset aaee4331946c (bug 1790375)
2024-01-11 22:47:18 +02:00
Julian Descottes
b06a1d4e19 Bug 1790375 - [bidi] Implement network.fetchError event r=webdriver-reviewers,whimboo
Implements https://w3c.github.io/webdriver-bidi/#event-network-fetchError

Differential Revision: https://phabricator.services.mozilla.com/D197586
2024-01-11 15:49:30 +00:00
Hubert Boma Manilla
9920ba5385 Bug 1353798 - [devtools] Display service worker timings in the devtools UI r=devtools-reviewers,webdriver-reviewers,perftest-reviewers,ochameau,sparky
Differential Revision: https://phabricator.services.mozilla.com/D195238
2023-12-19 12:54:36 +00:00
Hubert Boma Manilla
26665d9dae Bug 1353798 - [devtools] Cleanup server timings r=devtools-reviewers,ochameau,webdriver-reviewers,whimboo
Cleanup how the server timings are extracted andadded  to distinct functions

Differential Revision: https://phabricator.services.mozilla.com/D193429
2023-12-19 12:54:36 +00:00
Julian Descottes
bb6e197ba9 Bug 1826196 - [remote] Add no such request error r=webdriver-reviewers,whimboo
Depends on D196424

Differential Revision: https://phabricator.services.mozilla.com/D195673
2023-12-15 15:45:06 +00:00
Alexandra Borovova
bc785a10b5 Bug 1868591 - Fix PollPromise timeout warning. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D195783
2023-12-08 17:37:58 +00:00
Alexandra Borovova
ccaf643370 Bug 1681076 - [remote] Reset ClickTracker when pointer is moved. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D195093
2023-12-05 12:49:35 +00:00
Alexandra Borovova
a8e3936c65 Bug 1858758 - [remote] Focus a window if it has no focus when selecting a tab. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D195099
2023-12-05 09:15:58 +00:00
Alexandra Borovova
6a4b87e88e Bug 1866463 - [bidi] Add a multiplier for slow platforms to set browser history entry timeout. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D194752
2023-11-30 09:03:16 +00:00
Alexandra Borovova
2742cacf14 Bug 1864614 - [remote] Refactor DoubleClickTracker to work with multiple clicks sequences. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D194613
2023-11-29 09:51:47 +00:00
Julian Descottes
bb06c44645 Bug 1826198 - [bidi] Add support for the network.authRequired event r=webdriver-reviewers,whimboo
Depends on D194607

Differential Revision: https://phabricator.services.mozilla.com/D189516
2023-11-27 11:27:21 +00:00
Joel Maher
81afbdce9a Bug 1859896 - Batch 16 - convert xpcshell.ini -> .toml. r=aryx,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D194383
2023-11-25 21:08:44 +00:00
Jonathan Watt
dc8ed6ecc1 Bug 1866319. Make WPT use the CSS page size for Print Reftests. r=jgraham,webdriver-reviewers
Needed in order for upcoming mixed page size tests to work.

Differential Revision: https://phabricator.services.mozilla.com/D194565
2023-11-24 11:14:59 +00:00
Alexandra Borovova
120294a016 Bug 1841018 - [bidi] Implement "browsingContext.traverseHistory" command. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D193895
2023-11-24 09:25:00 +00:00
Henrik Skupin
75645b7999 Bug 1824664 - [marionette] Evaluate Selenium atom code in content and not in privileged code. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D193650
2023-11-20 21:30:35 +00:00