Commit Graph

2299 Commits

Author SHA1 Message Date
William Wen
0a4544fe76 Bug 1977066 - Change missed "cm" strings to "cryptoTP". a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D257271

Differential Revision: https://phabricator.services.mozilla.com/D259824
2025-08-05 11:49:17 +00:00
Henrik Skupin
7af5bc0ba2 Bug 1971512 - [remote] Replace usage of "TimedPromise" with a simple timer in AnimationFramePromise. a=dmeehan DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D253321

Differential Revision: https://phabricator.services.mozilla.com/D253619
2025-06-13 12:08:30 +00:00
Mark Banner
0dae27506b Bug 1881701 - Change new .eslintrc.mjs files to modules (misc), and export as flat config. r=frontend-codestyle-reviewers,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,devtools-reviewers,sync-reviewers,android-reviewers,mossop,spidermonkey-reviewers,Gijs,ohall,whimboo,nchevobbe,arai,sparky,skhamis,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D249951
2025-05-24 17:11:10 +00:00
Mark Banner
d7c7c5369b Bug 1881701 - Rename many ESLint files to use .mjs. r=frontend-codestyle-reviewers,perftest-reviewers,Gijs,sparky,webcompat-reviewers,twisniewski
This is separate to help preserve history of the files.

Differential Revision: https://phabricator.services.mozilla.com/D249945
2025-05-24 17:10:51 +00:00
Julian Descottes
c8ba89c73e Bug 1945184 - [bidi] Implement browsingContext.navigationCommitted event r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D249644
2025-05-23 22:40:02 +00:00
iulian moraru
46e2e19b80 Revert "Bug 1945184 - [bidi] Implement browsingContext.navigationCommitted event r=webdriver-reviewers,Sasha" for causing wpt failures on prefetch-transfer-size-executor.html.
This reverts commit 21c296b19f.
2025-05-23 18:28:55 +00:00
Julian Descottes
42a686b989 Bug 1968242 - [bidi] Force network.http.rcwn.enabled to true when using WebDriver BiDi r=webdriver-reviewers,whimboo
Disabling RCWN currently causes issues with the WebDriver BiDi network.addIntercept feature.
When suspending a channel in the responseStarted phase, subsequent requests to the same URL will also be blocked.

This needs to be fixed at the platform level, but for now we will force the preference to true in WebDriver BiDi while it is still supported.

Differential Revision: https://phabricator.services.mozilla.com/D251009
2025-05-23 15:53:38 +00:00
Julian Descottes
21c296b19f Bug 1945184 - [bidi] Implement browsingContext.navigationCommitted event r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D249644
2025-05-23 13:59:24 +00:00
Tom Schuster
e709a4d123 Bug 1964754 - Remove nsIContentPolicy TYPE_OBJECT_SUBREQUEST. r=necko-reviewers,webdriver-reviewers,extension-reviewers,devtools-reviewers,valentin,robwu,whimboo,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D250027
2025-05-22 08:27:55 +00:00
Julian Descottes
bef59f48d0 Bug 1967590 - [remote] Add logs for skipped state changes in ProgressListener r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D250347
2025-05-21 09:01:47 +00:00
Julian Descottes
bd5265eaf4 Bug 1967590 - [bidi] Add jsdoc for wait argument in browsingContext navigate and reload r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D250346
2025-05-21 09:01:43 +00:00
Alexandra Borovova
12f4f59ed6 Bug 1959372 - [webdriver-bidi] Add support for "acceptInsecureCerts" argument to "browser.createUserContext" command. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D247748
2025-05-21 08:58:46 +00:00
Alexandra Borovova
d8d4a13e8e Bug 1959372 - Move cert.sys.mjs to the shared folder. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D247747
2025-05-21 08:58:43 +00:00
Niklas Baumgardner
934819c080 Bug 1948366 - Remove extensions.screenshots.disabled pref. r=sfoster,webdriver-reviewers,firefox-desktop-core-reviewers ,whimboo,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D248324
2025-05-20 23:49:14 +00:00
Dão Gottwald
e0a00e5f7d Bug 1966912 - Remove addTab's index alias for the tabIndex parameter. r=extension-reviewers,sessionstore-reviewers,tabbrowser-reviewers,robwu,dwalker
Differential Revision: https://phabricator.services.mozilla.com/D249783
2025-05-20 12:06:21 +00:00
Alexandru Marc
43acd12a3b Revert "Bug 1955685 - Improve cookie validation - part 7 - Fix existing tests, r=valentin,webdriver-reviewers,extension-reviewers,settings-reviewers,devtools-reviewers,cookie-reviewers,sessionstore-reviewers,migration-reviewers,backup-reviewers,sthompson,robwu,ochameau" for causing multiple failures
This reverts commit 585626d8fc.

Revert "Bug 1955685 - Improve cookie validation - part 6 - CookieValidation for web-ext, r=robwu,cookie-reviewers,valentin"

This reverts commit b38d308433.

Revert "Bug 1955685 - Improve cookie validation - part 5 - 0x20 as invalid chars for cookie names and values r=valentin,cookie-reviewers"

This reverts commit 3578880f65.

Revert "Bug 1955685 - Improve cookie validation - part 4 - expiry validation, r=edgul,cookie-reviewers,valentin"

This reverts commit 26e16d402f.

Revert "Bug 1955685 - Improve cookie validation - part 3 - nsICookieValidation in cookieManager.add, r=edgul,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,cookie-reviewers,sessionstore-reviewers,backup-reviewers,nchevobbe,mconley,Standard8,webdriver-reviewers,whimboo,valentin,sfoster,robwu"

This reverts commit 433a4d736d.

Revert "Bug 1955685 - Improve cookie validation - part 2 - nsICookieValidation in cookieManager.addNative, r=edgul,cookie-reviewers,geckoview-reviewers,nalexander,glandium"

This reverts commit 818c2c1769.

Revert "Bug 1955685 - Improve cookie validation - part 1 - nsICookieValidation, r=edgul,cookie-reviewers"

This reverts commit 55ad680779.
2025-05-20 09:31:40 +00:00
Andrea Marchesini
585626d8fc Bug 1955685 - Improve cookie validation - part 7 - Fix existing tests, r=valentin,webdriver-reviewers,extension-reviewers,settings-reviewers,devtools-reviewers,cookie-reviewers,sessionstore-reviewers,migration-reviewers,backup-reviewers,sthompson,robwu,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D248600
2025-05-20 08:02:18 +00:00
Andrea Marchesini
433a4d736d Bug 1955685 - Improve cookie validation - part 3 - nsICookieValidation in cookieManager.add, r=edgul,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,cookie-reviewers,sessionstore-reviewers,backup-reviewers,nchevobbe,mconley,Standard8,webdriver-reviewers,whimboo,valentin,sfoster,robwu
Differential Revision: https://phabricator.services.mozilla.com/D244897
2025-05-20 08:02:03 +00:00
Olli Pettay
fa024d34a5 Bug 1965183 - Consider to set microtask level to 0 when dispatching events, r=masayuki,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D248391
2025-05-17 13:52:20 +00:00
Henrik Skupin
ce8212c41b Bug 1966575 - [remote] Clean-up QueryInterface and classID usage. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D249521
2025-05-16 12:16:17 +00:00
Serban Stanca
dc54f505ba Revert "Bug 1965183 - Consider to set microtask level to 0 when dispatching events, r=masayuki,webdriver-reviewers,whimboo" for causing wpt failures in select-events-2.tentative.html.
This reverts commit 28c56d4a93.
2025-05-16 11:19:19 +00:00
Olli Pettay
28c56d4a93 Bug 1965183 - Consider to set microtask level to 0 when dispatching events, r=masayuki,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D248391
2025-05-16 09:19:33 +00:00
agoloman
70e402a241 Revert "Bug 1965183 - Consider to set microtask level to 0 when dispatching events, r=masayuki,webdriver-reviewers,whimboo" for causing wpt failures @select-events-2.tentative.html.
This reverts commit 1e2a30af40.
2025-05-16 03:07:22 +00:00
Olli Pettay
1e2a30af40 Bug 1965183 - Consider to set microtask level to 0 when dispatching events, r=masayuki,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D248391
2025-05-16 00:36:43 +00:00
Henrik Skupin
e5b4d19014 Bug 1960319 - [remote] Use shared data to sync the WebDriver active status with content processes. r=webdriver-reviewers,jdescottes,nika
Differential Revision: https://phabricator.services.mozilla.com/D248432
2025-05-15 06:47:28 +00:00
Henrik Skupin
e5d15be83d Bug 1966206 - [remote] Update "browsingContext.setViewport" command to at least validate the input on Android. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D249122
2025-05-14 18:30:53 +00:00
Nina Pypchenko
b0fed0975d Bug 1902921 - Consolidate New Tab wallpaper preferences r=home-newtab-reviewers,webdriver-reviewers,whimboo,thecount,reemhamz
- Updated New Tab wallpaper code to only use `browser.newtabpage.activity-stream.newtabWallpapers.enabled` pref for turning the wallpapers on and off.

- Removed usage of `browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled` everywhere except for Marionette setup so that testing older versions of Firefox is not affected.

Differential Revision: https://phabricator.services.mozilla.com/D248376
2025-05-14 04:17:03 +00:00
Julian Descottes
9084de2026 Bug 1903272 - [bidi] Skip browsingContext events for webextension contexts r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D248647
2025-05-13 16:46:41 +00:00
Liam DeBeasi
be00e5e1d3 Bug 1953743 - [webdriver-bidi] clientWindow is returned in contextCreated and contextDestroyed events r=Sasha,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D246068
2025-05-07 15:08:01 +00:00
Emilio Cobos Álvarez
351dbd5aad Bug 1963526 - Explicitly initialize layout from document-element-inserted if needed. r=jdescottes,webdriver-reviewers
This is a somewhat low-risk-fix-to-previous behavior. But, I'd note, not
great.

Differential Revision: https://phabricator.services.mozilla.com/D247662
2025-05-06 23:10:07 +00:00
Cristina Horotan
13f2a784e2 l# This is a combination of 3 commits.
Revert "Bug 1963526 - Explicitly initialize layout from document-element-inserted if needed. r=jdescottes,webdriver-reviewers"

This reverts commit 4477e2470a.

Revert "Bug 1963526 - [wdspec] Fix type hints for various BiDi wdspec helpers r=webdriver-reviewers,whimboo"

This reverts commit 1acb26ff9d.

Revert "Bug 1963526 - [wdspec] Add test for setViewport for user context and window.open() r=webdriver-reviewers,whimboo"

This reverts commit 2afb2fbaa6.
2025-05-06 20:11:14 +00:00
Emilio Cobos Álvarez
4477e2470a Bug 1963526 - Explicitly initialize layout from document-element-inserted if needed. r=jdescottes,webdriver-reviewers
This is a somewhat low-risk-fix-to-previous behavior. But, I'd note, not
great.

Differential Revision: https://phabricator.services.mozilla.com/D247662
2025-05-06 18:56:45 +00:00
Martin Pitt
c47fbeccd9 Bug 1947402 - [bidi] Time out waiting for frame animation r=webdriver-reviewers,jdescottes
There is currently some ambiguity about animations of hidden iframes (with
`display: none`). Current Firefox does not animate them. This introduces a race
condition if an input event causes a navigation: If the animation wait finishes
before the `fragmentNavigated`, things are fine. But if the `fragmentNavigated`
happens before, the `AnimationFramePromise` never finishes, and eventually the
Input BiDi event times out and never returns an actual result.

Waiting for animations is opportunistic in any case, so as a bandaid add a
default timeout to the animation promise. It can be overridden with
`{ timeout: null }` if desired.

[1] https://github.com/whatwg/html/issues/11138

Differential Revision: https://phabricator.services.mozilla.com/D247042
2025-05-05 23:50:57 +00:00
Martin Pitt
82e49344b2 Bug 1958325 - Move TimedPromise to remote/shared/Sync.sys.mjs r=webdriver-reviewers,jdescottes
We will use it in the BiDi module in the next commit.

Drop the unused TimedPromise import from telemetry test altogether.

Differential Revision: https://phabricator.services.mozilla.com/D247041
2025-05-05 23:50:53 +00:00
Henrik Skupin
1b0be82b60 Bug 1848957 - [remote] Add support for wheel scroll widget events to Marionette and WebDriver BiDi. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D186549
2025-05-05 09:11:47 +00:00
John Schanck
b9bc6ad148 Bug 1958771 - align WebAuthn virtual authenticator authenticatorId with the specification. r=keeler,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D246130
2025-05-01 20:47:38 +00:00
Ben Chatterton
c0e5560d49 Bug 1956945 - [webdriver-bidi] Improve "webExtension.uninstall" command for empty extension id r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D246046
2025-05-01 03:52:47 +00:00
Andrea Marchesini
5bb09f929e Bug 1960824 - Introduce nsICookie::SAMESITE_UNSET, r=edgul,webdriver-reviewers,extension-reviewers,cookie-reviewers,valentin,Sasha,robwu
Differential Revision: https://phabricator.services.mozilla.com/D246638
2025-04-30 08:59:18 +00:00
Julian Descottes
552e1f0e33 Bug 1930616 - [remote] Prototype parent process NavigationListener r=webdriver-reviewers,Sasha
Depends on D245945

Differential Revision: https://phabricator.services.mozilla.com/D245946
2025-04-29 06:59:18 +00:00
Julian Descottes
ea04c29179 Bug 1930616 - [remote] Rename NavigationListener actors to WebProgressListener r=webdriver-reviewers,whimboo
The goal is to reduce the confusion between the high level navigation manager/listener which
provide events about the navigation to WebDriver BiDi with some logic specific to BiDi and the underlying
listeners directly monitoring the platform notifications.

In the next patch in the stack we need to introduce an alternate way to listen to those platform
notifications so having more distinct names could be useful.

Differential Revision: https://phabricator.services.mozilla.com/D245945
2025-04-29 06:59:18 +00:00
Butkovits Atila
53687eeb3d Backed out 2 changesets (bug 1936774) as requested by Julian. CLOSED TREE
Backed out changeset 35f43832e05c (bug 1936774)
Backed out changeset 842565c0705e (bug 1936774)
2025-04-29 09:47:02 +03:00
Julian Descottes
ea1907fec4 Bug 1936774 - [remote] Prototype parent process NavigationListener r=webdriver-reviewers,Sasha
Depends on D245945

Differential Revision: https://phabricator.services.mozilla.com/D245946
2025-04-29 06:31:17 +00:00
Julian Descottes
d168b1434d Bug 1936774 - [remote] Rename NavigationListener actors to WebProgressListener r=webdriver-reviewers,whimboo
The goal is to reduce the confusion between the high level navigation manager/listener which
provide events about the navigation to WebDriver BiDi with some logic specific to BiDi and the underlying
listeners directly monitoring the platform notifications.

In the next patch in the stack we need to introduce an alternate way to listen to those platform
notifications so having more distinct names could be useful.

Differential Revision: https://phabricator.services.mozilla.com/D245945
2025-04-29 06:31:16 +00:00
Narcis Beleuzu
c32821220e Backed out changeset a029116ae05a (bug 1958771) for bustages on MacOSWebAuthnService.mm 2025-04-29 05:27:55 +03:00
John Schanck
dab76003e0 Bug 1958771 - align WebAuthn virtual authenticator authenticatorId with the specification. r=keeler,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D246130
2025-04-28 20:43:30 +00:00
Alexandra Borovova
36911e142c Bug 1960077 - [webdriver-bidi] Improve validation of geolocation coordinates for "emulation.setGeolocationOverride" command. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D246390
2025-04-25 19:11:14 +00:00
Julian Descottes
7b689af303 Bug 1958756 - [bidi] Monitor data channels in windowglobal network module r=webdriver-reviewers,Sasha
Depends on D246571

Differential Revision: https://phabricator.services.mozilla.com/D246572
2025-04-24 18:27:55 +00:00
Daisuke Akatsuka
8652401299 Bug 1915762: Remove faviconUrl of TabTarget in cdp r=webdriver-reviewers,jdescottes
Depends on D241350

Differential Revision: https://phabricator.services.mozilla.com/D241351
2025-04-23 04:40:35 +00:00
Cristian Tuns
a9d8f21da6 Backed out 11 changesets (bug 1915762) for causing node failures in gecko.d.ts CLOSED TREE
Backed out changeset 5c7edcb3b105 (bug 1915762)
Backed out changeset 05691232a461 (bug 1915762)
Backed out changeset 964a29c9a07a (bug 1915762)
Backed out changeset 5d74e419e249 (bug 1915762)
Backed out changeset 677c35e884d3 (bug 1915762)
Backed out changeset 8a7b0b87a0ef (bug 1915762)
Backed out changeset 5e38449cd4d9 (bug 1915762)
Backed out changeset ec8a0553d97a (bug 1915762)
Backed out changeset fb2232e5f3b5 (bug 1915762)
Backed out changeset b290501f5832 (bug 1915762)
Backed out changeset 9955e42e749b (bug 1915762)
2025-04-22 22:15:19 -04:00
Daisuke Akatsuka
0f66c72474 Bug 1915762: Remove faviconUrl of TabTarget in cdp r=webdriver-reviewers,jdescottes
Depends on D241350

Differential Revision: https://phabricator.services.mozilla.com/D241351
2025-04-23 01:49:39 +00:00