Commit Graph

2118 Commits

Author SHA1 Message Date
Henrik Skupin
37f46525ca Bug 1931822 - [marionette] Do not always wrap errors into a WebDriver error for IPC messages. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D229898
2024-11-22 15:18:44 +00:00
Alexandra Borovova
4bb6868042 Bug 1810718 - Add support for installing an add-on that is enabled in Private Browsing mode. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D229147
2024-11-18 10:24:54 +00:00
Alexandra Borovova
7feb9b159c Bug 1922014 - [bidi] Don't emit "browsingContext.navigationStarted" event when creating a new top-level browsing contexts when "about:blank" is loaded. r=webdriver-reviewers,whimboo,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D228640
2024-11-18 10:00:57 +00:00
Tim Huang
1afd1eb494 Bug 1922193 - Drop first-party partitioned cookies that don't have CHIPS. r=valentin,cookie-reviewers,edgul,extension-reviewers,sessionstore-reviewers,willdurand,sfoster,webdriver-reviewers,Sasha,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D226125
2024-11-15 11:05:25 +00:00
Norisz Fay
2a985d80bc Backed out 6 changesets (bug 1923663, bug 1922193) for causing bc failures on browser_cookies_legacy.js CLOSED TREE
Backed out changeset e2c5151ea497 (bug 1922193)
Backed out changeset eb53ce8d9fd7 (bug 1923663)
Backed out changeset 8a47156d3dfa (bug 1923663)
Backed out changeset 817a9db0594b (bug 1922193)
Backed out changeset 7a03590458f2 (bug 1922193)
Backed out changeset abfae75af05f (bug 1922193)
2024-11-15 12:11:13 +02:00
Tim Huang
f629ac8767 Bug 1922193 - Drop first-party partitioned cookies that don't have CHIPS. r=valentin,cookie-reviewers,edgul,extension-reviewers,sessionstore-reviewers,willdurand,sfoster,webdriver-reviewers,Sasha,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D226125
2024-11-15 08:41:26 +00:00
Henrik Skupin
87f8b4d440 Bug 1930530 - [marionette] Correctly retry to dispatch actions when the browsing context is replaced. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D228658
2024-11-14 18:15:56 +00:00
Henrik Skupin
924898ae31 Bug 1930845 - [remote] Add reverse action to "input cancel list" after trying to dispatch the action. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D228818
2024-11-14 11:16:55 +00:00
Julian Descottes
287457fbb0 Bug 1930849 - [bidi] Fallback to channelCreationTime if asyncOpenTime is set to 0 r=webdriver-reviewers,whimboo
The root cause for asyncOpenTime = 0 should be investigated, but this leads to missing events in har recordings so we should try to fix it as soon as possible.

Differential Revision: https://phabricator.services.mozilla.com/D228780
2024-11-13 15:09:11 +00:00
Henrik Skupin
9241412ab7 Bug 1930090 - [webdriver-bidi] Retry dispatching single event if navigation aborted a dispatch. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D228442
2024-11-12 08:48:45 +00:00
Alexandra Borovova
79c4116f7e Bug 1806135 - Allow installation and uninstallation of addons in GeckoView. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D226132
2024-11-08 19:14:32 +00:00
Alexandra Borovova
49ee499f89 Bug 1927172 - Save the addon file in profile folder when using "Addon:Install" command with base64 interface. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D226928
2024-11-08 19:14:32 +00:00
Alexandru Marc
5ea2ca1ea1 Backed out 5 changesets (bug 1923663, bug 1922193) for causing cookie parsing crashes.
Backed out changeset f70a3f184cef (bug 1923663)
Backed out changeset a7114c76e107 (bug 1923663)
Backed out changeset 01c2f8a4572f (bug 1922193)
Backed out changeset 6ca20b512745 (bug 1922193)
Backed out changeset fb747408813c (bug 1922193)
2024-11-08 11:43:06 +02:00
Tim Huang
0847c16e3e Bug 1922193 - Drop first-party partitioned cookies that don't have CHIPS. r=valentin,cookie-reviewers,edgul,extension-reviewers,sessionstore-reviewers,willdurand,sfoster,webdriver-reviewers,Sasha,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D226125
2024-11-07 18:53:08 +00:00
Stanca Serban
788fe8f53a Backed out 5 changesets (bug 1923663, bug 1922193) for causing build bustages in CookiePersistentStorage.cpp. CLOSED TREE
Backed out changeset e412f867e774 (bug 1923663)
Backed out changeset 6e00139cb45c (bug 1923663)
Backed out changeset b160e175b74e (bug 1922193)
Backed out changeset 6f22034706d4 (bug 1922193)
Backed out changeset 72c01388440a (bug 1922193)
2024-11-07 17:43:57 +02:00
Tim Huang
88444baab1 Bug 1922193 - Drop first-party partitioned cookies that don't have CHIPS. r=valentin,cookie-reviewers,edgul,extension-reviewers,sessionstore-reviewers,willdurand,sfoster,webdriver-reviewers,Sasha,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D226125
2024-11-07 14:05:39 +00:00
Temidayo
6a50b65da7 Bug 1855025 - [webdriver-bidi] Implement "browser.getClientWindows" command. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225065
2024-11-05 19:18:52 +00:00
Alexandra Borovova
578b303229 Bug 1924859 - [bidi] Only allow "browsingContext.traverseHistory" command for top-level browsing contexts. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D227215
2024-10-29 16:33:45 +00:00
Julian Descottes
784964ba7b Bug 1927144 - [remote] Fix test helper hasPromiseResolved r=webdriver-reviewers,whimboo
Depends on D226890

Differential Revision: https://phabricator.services.mozilla.com/D227017
2024-10-29 13:14:19 +00:00
Henrik Skupin
2288505619 Bug 1927073 - [remote] Retrieve new browsing context if old one was replaced when forwarding a command to the window global. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D226890
2024-10-29 05:56:05 +00:00
pstanciu
8591f727f3 Backed out 2 changesets (bug 1914407) for causing Wd navigation related failure CLOSED TREE
Backed out changeset 098952454738 (bug 1914407)
Backed out changeset 59ae3c80d4f7 (bug 1914407)
2024-10-29 01:42:43 +02:00
Julian Descottes
25d94901c6 Bug 1914407 - [bidi] Send custom error when navigation is aborted because of another navigation r=webdriver-reviewers,whimboo
Depends on D226770

Differential Revision: https://phabricator.services.mozilla.com/D226774
2024-10-28 17:29:15 +00:00
Henrik Skupin
4554ed34e7 Bug 1926270 - [puppeteer] Fix setting of shard values for mach commands. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D226478
2024-10-22 16:00:31 +00:00
Julian Descottes
a10311ba30 Bug 1924469 - [marionette] Include dialog text in unexpected alert open error message r=webdriver-reviewers,whimboo
Consumers seem to depend on having the dialog text in the error message, so we restore it here.

Differential Revision: https://phabricator.services.mozilla.com/D226289
2024-10-22 11:54:33 +00:00
Julian Descottes
8f75db2421 Bug 1923899 - [bidi] Wait for currentWindowGlobal when sending commands to window global message handlers r=webdriver-reviewers,Sasha
When attempting to send commands on a very early browsing context, the command might fail
due to a missing currentWindowGlobal.
This patch adds a helper to wait for the currentWindowGlobal property to be set and uses it from
RootTransport in order to avoid this issue.
A browser mochitest is added to cover this scenario.

Differential Revision: https://phabricator.services.mozilla.com/D225281
2024-10-15 14:33:29 +00:00
Liam DeBeasi
00a9c3e81a Bug 1916498 - Add _forwardToWindowGlobal helper r=jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D224880
2024-10-15 08:31:01 +00:00
Julian Descottes
b21e6d226e Bug 1886518 - [remote] Add cached resource test for images and scripts r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D224505
2024-10-14 08:51:48 +00:00
Alexandra Borovova
4520602101 Bug 1857571 - [marionette] Handle window positioning on Wayland. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D224952
2024-10-10 13:54:27 +00:00
Temidayo
5023365fef Bug 1886382 - browsingContext.print" needs to raise "unsupported operation" error for PDFs with zero dimension. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D224329
2024-10-10 09:16:28 +00:00
Julian Descottes
eca3838731 Bug 1922327 - [bidi] Do not override ongoing navigations with fragment or same document navigation ids r=webdriver-reviewers,Sasha
Fragment and same-document navigations could override an ongoing navigation and lead browsing
context events such as load and domContentLoaded events to no longer be linked to the expected navigation
id.

Differential Revision: https://phabricator.services.mozilla.com/D224385
2024-10-09 12:26:19 +00:00
Julian Descottes
e50991db5e Bug 1898158 - [bidi] Support url parameter in network.continueRequest r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D223377
2024-10-08 17:30:45 +00:00
Calixte
676758d8f5 Bug 1923162 - Avoid to throw from CachedResourceListener::observe when the channel isn't a http one r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D224823
2024-10-08 13:46:29 +00:00
Julian Descottes
6ce4f710e6 Bug 1922390 - [bidi] Use asyncOpenTime instead of channelCreationTime for bidi network event timings r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D224442
2024-10-08 12:18:20 +00:00
Masayuki Nakano
033db44f68 Bug 1922709 - Make dom.isInView restore original style attribute r=webdriver-reviewers,jgraham
It sets `el.style.pointerEvents` to `"auto"`.  Then, it causes updating (or
adding) `style` attribute of `el`.  Finally, it'll restore the original
`el.style.pointerEvents` value, but unnecessary `style` attribute may stay
on `el`.  Therefore, it should restore original `style` attribute` state too.

Differential Revision: https://phabricator.services.mozilla.com/D224567
2024-10-07 23:06:06 +00:00
Tooru Fujisawa
44facc902b Bug 1919218 - Part 2: Merge http-on-stylesheet-cache-response notification to http-on-resource-cache-response. r=emilio,Sasha,webdriver-reviewers,devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D224432
2024-10-07 08:07:45 +00:00
Julian Descottes
a497a9f50d Bug 1921756 - [bidi] Avoid errors on uninitialized browsingContexts during command broadcast r=webdriver-reviewers,whimboo
The isExtensionContext and isParentProcess browsing context helpers could throw if the
browsingContext did not have a valid currentWindowGlobal property.

Here we perform an early check on currentWindowGlobal from the only caller of those helpers, which
is isBrowsingContextCompatible. For this helper, it makes sense to return false if the browsing
context is not correctly attached yet. But it is more difficult to return a meaningful value
from isExtensionContext or isParentProcess, because those 2 helpers cannot assess the browsing
context correctly.

Differential Revision: https://phabricator.services.mozilla.com/D224238
2024-10-03 08:46:22 +00:00
Alexandra Borovova
366c4b53b6 Bug 1912292 - Run puppeteer tests in several chunks. r=webdriver-reviewers,whimboo,ahal
Differential Revision: https://phabricator.services.mozilla.com/D223500
2024-10-02 07:06:34 +00:00
Henrik Skupin
0562020fcf Bug 1915798 - [remote] Add support for "Action queues" to sequencially perform actions without races. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D220900
2024-09-30 20:36:57 +00:00
Henrik Skupin
0449a3d041 Bug 1904665 - [remote] Prepare the Remote Agent code base for parent process event dispatching. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D220543
2024-09-30 20:36:57 +00:00
Henrik Skupin
965d913e9c Bug 1904665 - [webdriver] Update JSdoc in Actions module. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D220542
2024-09-30 20:36:56 +00:00
Henrik Skupin
84099ccb99 Bug 1854942 - [remote] Add documentation for the new "remote.retry-on-abort" preference. r=webdriver-reviewers,jdescottes
I initially forgot to add this documentation.

DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D223744
2024-09-26 16:27:27 +00:00
Benjamin VanderSloot
5ffc34408c Bug 1873418 - Support Partitioned cookie attribute for browser extensions - r=robwu,anti-tracking-reviewers,webdriver-reviewers,timhuang,Sasha
The part that is covered here is extending the partitionKey attribute, as in the proposal of aselya here:

https://github.com/w3c/webextensions/pull/581/files

Notably not included is adding the new Cookies.GetPartitionKey function.

Differential Revision: https://phabricator.services.mozilla.com/D219990
2024-09-26 05:36:00 +00:00
Butkovits Atila
18cff65ed8 Backed out changeset b8b6e3f85b20 (bug 1873418) for causing failures at test_getPartitionKeyFromURL.js. CLOSED TREE 2024-09-26 02:03:50 +03:00
Benjamin VanderSloot
bf000ea68c Bug 1873418 - Support Partitioned cookie attribute for browser extensions - r=robwu,anti-tracking-reviewers,webdriver-reviewers,timhuang,Sasha
The part that is covered here is extending the partitionKey attribute, as in the proposal of aselya here:

https://github.com/w3c/webextensions/pull/581/files

Notably not included is adding the new Cookies.GetPartitionKey function.

Differential Revision: https://phabricator.services.mozilla.com/D219990
2024-09-25 21:55:08 +00:00
Alexandra Borovova
9e2deb46de Bug 1899978 - [bidi] Use "network.cookie.CHIPS.enabled" preference in cookie APIs. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D223321
2024-09-25 15:59:29 +00:00
Henrik Skupin
5b63deea14 Bug 1854942 - [remote] Retry invocation of module methods automatically. r=webdriver-reviewers,jdescottes
The message handler framework now automatically retries executing
module methods in the window global if the corresponding
JSWindowActor pair is destroyed or becomes inactive.

This behavior can be disabled by setting the preference
"remote.retry-on-abort" to false, in which case retries
will only occur during the initial navigation.

Additionally, the behavior can be explicitly controlled
by individual callers by passing the "retryOnAbort" flag.

Differential Revision: https://phabricator.services.mozilla.com/D223398
2024-09-25 13:05:51 +00:00
Henrik Skupin
2eaa19befe Bug 1920053 - [remote] Make sure to call ProgressListener.destroy() to not leak registered observers and events. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D222945
2024-09-21 06:33:00 +00:00
Julian Descottes
704b3ddf01 Bug 1919784 - [remote] Update browser mochitest for cachedResourceListener r=arai,webdriver-reviewers,whimboo
This should allow to reenable the test after https://phabricator.services.mozilla.com/D222791

Differential Revision: https://phabricator.services.mozilla.com/D222876
2024-09-20 08:39:07 +00:00
William Wen
be5526492f Bug 1913000 - Add more rate limiting to History interface. r=webidl,smaug,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D221255
2024-09-19 16:09:02 +00:00
Julian Descottes
b0dd829377 Bug 1916685 - [bidi] Convert all network event timings to milliseconds r=webdriver-reviewers,whimboo
Platform timestamps are in microseconds, while we expect network event timings in milliseconds

Differential Revision: https://phabricator.services.mozilla.com/D221033
2024-09-19 13:37:04 +00:00