Alexandra Borovova
6d1ad5f6f8
Bug 1791819 - [marionette] Add support for the orientation parameter in WebDriver:Print. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D173413
2023-03-23 13:08:29 +00:00
Julian Descottes
37482a46bd
Bug 1822772 - [bidi] Use windowRoot to monitor load events r=webdriver-reviewers,whimboo
...
Depends on D173132
Event listeners are removed when using document.open, so we should use windowRoot instead
Differential Revision: https://phabricator.services.mozilla.com/D173020
2023-03-22 13:18:22 +00:00
Julian Descottes
0232a50aa5
Bug 1823670 - [messagehandler] Destroy MessageHandlers when pages move to BFCache r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D173132
2023-03-22 13:18:22 +00:00
Frazier Odhiambo
9ac5475c8f
Bug 1816664
Rename addSessionData/removeSessionData methods of RootMessageHandler to addSessionDataItem/removeSessionDataItem r=webdriver-reviewers,Sasha
...
Differential Revision: https://phabricator.services.mozilla.com/D172513
2023-03-21 07:57:31 +00:00
Dan Robertson
126bc64c16
Bug 1168182 - Update webdriver recommended prefs. r=whimboo,webdriver-reviewers,jdescottes
...
Update the webdriver recommended preferences to include
dom.events.wheel-event-groups.enabled=false
Differential Revision: https://phabricator.services.mozilla.com/D172025
2023-03-20 12:19:36 +00:00
Julian Descottes
ab3931ad56
Bug 1806794 - Support "network.response" events for cached responses r=webdriver-reviewers,whimboo,devtools-reviewers,ochameau
...
This fixes two issues:
- the transferred size was missing from cached responseStarted events
- the fromCache flag needs to be read on the initial network event payload from devtools, because relying on the isFromCache logic used to build the addResponseStart payload does not properly detect all cached responses (eg for a cached 301)
Differential Revision: https://phabricator.services.mozilla.com/D171508
2023-03-16 14:01:03 +00:00
Alexandra Borovova
8f8a400ed5
Bug 1783086 - [marionette] Rename `printBackground` to `background` for WebDriver compatibility. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D171693
2023-03-13 16:20:18 +00:00
Henrik Skupin
14f639087f
Bug 1770733 - [bidi] Serialize and deserialize objects of type Node with sharedId field. r=webdriver-reviewers,Sasha,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D169490
2023-03-08 22:30:05 +00:00
Julian Descottes
b5e9114eb4
Bug 1815459 - [devtools] Remove NetworkUtils.createNetworkEvent r=ochameau,bomsy,devtools-reviewers
...
Depends on D168537
Differential Revision: https://phabricator.services.mozilla.com/D168791
2023-03-07 21:36:06 +00:00
Julian Descottes
2396effc3f
Bug 1815459 - [devtools] Remove addRequestHeaders and addRequestCookies r=webdriver-reviewers,ochameau,bomsy,whimboo,devtools-reviewers
...
Depends on D168536
Differential Revision: https://phabricator.services.mozilla.com/D168537
2023-03-07 21:36:06 +00:00
Alexandra Borovova
8d4f57a4d7
Bug 1806810 - [bidi] Implement "browsingContext.print" as PDF command. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D170353
2023-03-01 08:18:54 +00:00
Frazier Odhiambo
cad57921d1
Bug 1810101 - [remote] Use add_task() instead of add_test() for xpcshell tests. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D170809
2023-02-28 07:32:29 +00:00
Alexandra Borovova
a93f88bfa8
Bug 1803392 - Remove usage of temporary file when printing to PDF. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D169795
2023-02-17 13:54:07 +00:00
Marian-Vasile Laza
8c0dd89bbe
Backed out changeset b92093717dcd (bug 1803392) for wp failures on block-page-break-inside-avoid-1-print.html.
2023-02-16 18:20:19 +02:00
Alexandra Borovova
689922e0fa
Bug 1803392 - Remove usage of temporary file when printing to PDF. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D169795
2023-02-16 14:04:23 +00:00
Alexandra Borovova
c98bd43a44
Bug 1806465 - [bidi] Implement "script.removePreloadScript" command. r=webdriver-reviewers,jdescottes
...
Depends on D169420
Differential Revision: https://phabricator.services.mozilla.com/D169421
2023-02-16 12:45:33 +00:00
Alexandra Borovova
231b3e98e0
Bug 1810687 - [messagehandler] Group SessionData initial updates by moduleName and category. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D169312
2023-02-10 08:12:07 +00:00
Alexandra Borovova
96f643b327
Bug 1806413 - [bidi] Add scheduling of preloaded scripts for execution. r=webdriver-reviewers,whimboo,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D168543
2023-02-03 18:43:26 +00:00
Mark Banner
8b2a7a80c7
Bug 1812977 - Remove now unnecessary import-globals-from statements in other directories. r=Gijs,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D168074
2023-01-30 19:33:39 +00:00
Henrik Skupin
4949526a4d
Bug 1808894 - [marionette] Complete (De-)serialization support for WebElement and ShadowRoot. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D167541
2023-01-27 10:31:48 +00:00
Stanca Serban
30b2ff14b6
Backed out 6 changesets (bug 1811545, bug 1808894) for landing with leftover files from a puppeteer install (under remote/test/puppeteer/packages/puppeteer-core/). CLOSED TREE
...
Backed out changeset 7f0a872abb09 (bug 1811545)
Backed out changeset 41daafb5d75a (bug 1811545)
Backed out changeset 82dee6290057 (bug 1811545)
Backed out changeset 3e0178b3e0dc (bug 1811545)
Backed out changeset 55cec0043044 (bug 1811545)
Backed out changeset 75eaaf96d039 (bug 1808894)
2023-01-27 04:37:23 +02:00
Henrik Skupin
3a9e7255a5
Bug 1808894 - [marionette] Complete (De-)serialization support for WebElement and ShadowRoot. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D167541
2023-01-26 21:38:26 +00:00
Gregory Pappas
5d44f7a543
Bug 1811347 - Remove useless parameter from TextEncoder constructor r=emk,webdriver-reviewers,extension-reviewers,credential-management-reviewers,dimi,jdescottes,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D167488
2023-01-23 15:41:49 +00:00
Julian Descottes
987247c956
Bug 1806820 - [remote] Refactor session data broadcast test r=webdriver-reviewers,Sasha,whimboo
...
The current test had complicated logic in the test module "command.sys.mjs" which means we were asserting the test module more than the actual behavior of MessageHandler/SessionData.
Instead, we use a simpler test module, and precisely assert all the updates we receive for session data updates. Also taking the opportunity to add some tests when updating session data items from several categories.
Differential Revision: https://phabricator.services.mozilla.com/D166969
2023-01-20 11:09:08 +00:00
Gijs Kruitbosch
8be066753c
Bug 1810995 - update BrowserTestUtils.loadURI consumers to use loadURIString (automated) - other directories - r=Standard8,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D167154
2023-01-19 20:16:43 +00:00
Henrik Skupin
1dd9c81aee
Bug 1807227 - [marionette] Refactor DOM Node (de-)serialization code. r=webdriver-reviewers,jdescottes
...
Based on WebDriver classic specification changes:
https://github.com/w3c/webdriver/pull/1705
Differential Revision: https://phabricator.services.mozilla.com/D166773
2023-01-16 18:04:41 +00:00
Julian Descottes
19196b8362
Bug 1790372 - [bidi] Add basic support for network.responseCompleted event r=webdriver-reviewers,whimboo
...
NetworkObserver addResponseContent is the last observable callback for a given request, so let's start by using this as the trigger for
responseCompleted. However, as noted on the bug and on Bug 1809210
, this does not meet the expectations from the spec completely so we might have to
change to another observable later.
Differential Revision: https://phabricator.services.mozilla.com/D166373
2023-01-12 10:50:16 +00:00
Julian Descottes
707344df29
Bug 1790370 - [bidi] Add basic support for network.responseStarted event r=webdriver-reviewers,Sasha,whimboo
...
Depends on D165431
Differential Revision: https://phabricator.services.mozilla.com/D165432
2023-01-07 00:38:47 +00:00
Julian Descottes
a507b63074
Bug 1806735 - [remote] Add browser mochitest for the shared NetworkListener r=webdriver-reviewers,whimboo
...
Add a browser mochitest for the listener and fix minor issues at the same time
Differential Revision: https://phabricator.services.mozilla.com/D165227
2023-01-06 20:53:19 +00:00
Henrik Skupin
88445f5567
Bug 1692468 - [marionette] Move Element Reference store as node cache into content process. r=jgraham,webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D151258
2023-01-01 20:24:02 +00:00
Alexandra Borovova
7b40f31aa5
Bug 1741834 - [messagehandler] Support transactions when using sessionData. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D163957
2022-12-21 13:31:36 +00:00
Julian Descottes
7d99823762
Bug 1790368 - [bidi] Implement basic support for network.beforeRequestSent event r=webdriver-reviewers,Sasha,whimboo
...
Depends on D164147
Differential Revision: https://phabricator.services.mozilla.com/D162037
2022-12-16 10:53:50 +00:00
Stanca Serban
501e1a40b6
Backed out 4 changesets (bug 1790368) for causing mochitests failures in browser_networkobserver_invalid_constructor.js. CLOSED TREE
...
Backed out changeset b04c179c53fb (bug 1790368)
Backed out changeset a50e9467f30b (bug 1790368)
Backed out changeset 8b438fe8bd72 (bug 1790368)
Backed out changeset 6df64c2927f1 (bug 1790368)
2022-12-16 12:11:47 +02:00
Julian Descottes
3f84a23c66
Bug 1790368 - [bidi] Implement basic support for network.beforeRequestSent event r=webdriver-reviewers,Sasha,whimboo
...
Depends on D164147
Differential Revision: https://phabricator.services.mozilla.com/D162037
2022-12-16 09:30:39 +00:00
John Bieling
8fd81748ad
Bug 1797914 - Remove usage of mail-delayed-startup-finished. r=whimboo,webdriver-reviewers,mkmelin,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D160607
2022-12-15 15:30:43 +00:00
Makoto Kato
e210695886
Bug 1742752 - GeckoDriver.setScreenOrientation should use Screen Orientation API. r=webdriver-reviewers,whimboo
...
`mozLockOrientation` is deprecated and it always returns `false`.
We should use standard API (it is still turned off as default).
Differential Revision: https://phabricator.services.mozilla.com/D161991
2022-12-13 11:49:14 +00:00
James Graham
5e0b15ac19
Bug 1800086 - Move capture.sys.mjs to shared module, r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D161801
2022-12-12 13:44:50 +00:00
Julian Descottes
dda315bf6a
Bug 1804219 - [remote] Clarify where to add remote preferences r=webdriver-reviewers,whimboo,Sasha
...
Depends on D163891
Differential Revision: https://phabricator.services.mozilla.com/D163922
2022-12-07 09:07:32 +00:00
Julian Descottes
ec74a5084d
Bug 1802473 - [remote] Set widget.windows.window_occlusion_tracking.enabled to false for all remote protocols r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D163891
2022-12-07 09:07:31 +00:00
Julian Descottes
1de6de4bba
Bug 1801461 - [bidi] browsingContext.navigate[interactive] should not stop the progress listener if navigation has not started r=webdriver-reviewers,Sasha,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D162485
2022-12-05 13:00:30 +00:00
Mark Banner
7837d8d2cf
Bug 1803341 - Automatically replace Cu.reportError with console.error (remote). r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D163455
2022-12-01 16:29:01 +00:00
Nika Layzell
98304d1200
Bug 1793463 - Part 5: Stop using contractids to fetch protocol handlers, r=necko-reviewers,xpcom-reviewers,webdriver-reviewers,whimboo,valentin,kmag
...
This patch replaces the previous ContractID-based lookup system for protocol
handlers, and replaces it with a new custom system in nsIOService. It will be
pre-populated with non-overridable static protocol handlers using the
StaticComponents infrastructure added in the previous part, and callers can
also dynamically register new protocol handlers at runtime.
This new system is intended to provide access to the default port and
non-dynamic protocol flags off-main-thread, by requiring these values to be
provided up-front as constants, rather than getting them from the xpcom
interface. The data is then guarded by an RWLock.
Callers which look up specific handlers by their contractID are not changed, as
the contract IDs for existing handlers have not been changed, so the lookup
will still succeed.
This change as-implemented breaks the nsGIOProtocolHandler on Linux, as it
removes the special code which would try to use that handler for some
protocols. This will be fixed in a later part by making the
nsGIOProtocolHandler use the dynamic registration APIs to register and
un-register protocol handlers at runtime in response to the GIO pref.
Differential Revision: https://phabricator.services.mozilla.com/D162804
2022-12-01 15:43:19 +00:00
Marian-Vasile Laza
7492025127
Backed out 7 changesets (bug 1793463) for causing bustages on nsIOService.cpp. CLOSED TREE
...
Backed out changeset 47c3acb30de2 (bug 1793463)
Backed out changeset 71afe900eb17 (bug 1793463)
Backed out changeset d168599a269e (bug 1793463)
Backed out changeset d0f18d300818 (bug 1793463)
Backed out changeset a116e6f089f2 (bug 1793463)
Backed out changeset eba1123c8b56 (bug 1793463)
Backed out changeset 68a3eb8a3057 (bug 1793463)
2022-12-01 02:30:02 +02:00
Nika Layzell
9cc8ee8c01
Bug 1793463 - Part 5: Stop using contractids to fetch protocol handlers, r=necko-reviewers,xpcom-reviewers,webdriver-reviewers,whimboo,valentin,kmag
...
This patch replaces the previous ContractID-based lookup system for protocol
handlers, and replaces it with a new custom system in nsIOService. It will be
pre-populated with non-overridable static protocol handlers using the
StaticComponents infrastructure added in the previous part, and callers can
also dynamically register new protocol handlers at runtime.
This new system is intended to provide access to the default port and
non-dynamic protocol flags off-main-thread, by requiring these values to be
provided up-front as constants, rather than getting them from the xpcom
interface. The data is then guarded by an RWLock.
Callers which look up specific handlers by their contractID are not changed, as
the contract IDs for existing handlers have not been changed, so the lookup
will still succeed.
This change as-implemented breaks the nsGIOProtocolHandler on Linux, as it
removes the special code which would try to use that handler for some
protocols. This will be fixed in a later part by making the
nsGIOProtocolHandler use the dynamic registration APIs to register and
un-register protocol handlers at runtime in response to the GIO pref.
Differential Revision: https://phabricator.services.mozilla.com/D162804
2022-11-30 18:13:43 +00:00
Henrik Skupin
d2ede54408
Bug 1785201 - [marionette] Don't select the tab when switching to a reftest window. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D162764
2022-11-25 07:47:35 +00:00
Henrik Skupin
1ed700de36
Bug 1802103 - [remote] Disable location change rate limit. r=webdriver-reviewers,Sasha,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D162826
2022-11-24 17:09:51 +00:00
Julian Descottes
8d6c7589a8
Bug 1797115 - [bidi] Rename log entry level warning to warn r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D161586
2022-11-08 17:27:01 +00:00
Julian Descottes
0c4f6cad4e
Bug 1795653 - [remote] Add trace logs when ProgressListener starts/stops r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D160848
2022-11-02 09:12:16 +00:00
Mark Banner
9189ff3f6f
Bug 1798018 - Convert consumers of toolkit/modules/tests to import ES modules direct. r=Gijs,webdriver-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D160664
2022-11-01 13:26:38 +00:00
Mark Banner
cce2d7f105
Bug 1795322 - Update toolkit modules references in marionette related code. r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D160026
2022-10-26 08:06:33 +00:00