James Graham
114a5d427e
Bug 1791736 - Move the caret to the end for send_keys r=webdriver-reviewers,jdescottes,whimboo
...
Only if the element isn't already focused. If it is already focused,
don't alter the focus.
Differential Revision: https://phabricator.services.mozilla.com/D158084
2022-10-03 15:18:41 +00:00
Julian Descottes
f7b11c4769
Bug 1790473 - [remote] Remove remote/.eslintrc.js r=webdriver-reviewers,whimboo
...
Depends on D158298
Differential Revision: https://phabricator.services.mozilla.com/D158299
2022-09-30 11:08:09 +00:00
Julian Descottes
5db63c4432
Bug 1790473 - [cdp] Convert /remote/cdp JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158297
Differential Revision: https://phabricator.services.mozilla.com/D158298
2022-09-30 11:08:09 +00:00
Julian Descottes
3635b10bad
Bug 1790472 - [bidi] Convert /remote/webdriver-bidi JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158296
Differential Revision: https://phabricator.services.mozilla.com/D158297
2022-09-30 11:08:08 +00:00
Julian Descottes
4a1ddfd485
Bug 1790471 - [marionette] Convert /remote/marionette JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158295
Differential Revision: https://phabricator.services.mozilla.com/D158296
2022-09-30 11:08:08 +00:00
Julian Descottes
bf82c5039a
Bug 1790468 - [remote] Convert /remote/server JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158294
Differential Revision: https://phabricator.services.mozilla.com/D158295
2022-09-30 11:08:07 +00:00
Julian Descottes
b24d46c99d
Bug 1790468 - [remote] Convert /remote/components JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158293
Differential Revision: https://phabricator.services.mozilla.com/D158294
2022-09-30 11:08:07 +00:00
Julian Descottes
d1f7dbe55e
Bug 1790468 - [remote] Convert /remote/shared JSM modules to ESM r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D158293
2022-09-30 11:08:06 +00:00
Butkovits Atila
539f87fe4f
Backed out changeset 3e220bf19d7b (bug 1141335) for causing failures at awsy/test_memory_usage.py. CLOSED TREE
2022-09-30 02:12:58 +03:00
Henrik Skupin
932d46b87f
Bug 1141335 - [marionette] Use in_app by default for quit() and restart(). r=webdriver-reviewers,jdescottes
...
Hereby the "in_app" argument is required to be specified in case some
other argument eg. "clean" requires a termination of the application.
Differential Revision: https://phabricator.services.mozilla.com/D157219
2022-09-29 18:34:25 +00:00
Mark Banner
8d1ebcb9d6
Bug 1792365 - Convert toolkit/modules consumers to use ES module imports directly. r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,extension-reviewers,preferences-reviewers,desktop-theme-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,robwu,Gijs,sgalich,bytesized,AlexandruIonescu,dao,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D158094
2022-09-29 06:52:34 +00:00
Henrik Skupin
d5c7f69016
Bug 1789659 - [remote] Make TabManager.removeTab asynchronous. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D158252
2022-09-28 15:39:23 +00:00
Julian Descottes
895acde24b
Bug 1780005 - [remote] Add more trace logs to ProgressListener r=webdriver-reviewers,whimboo
...
Depends on D158142
Tried to cover all branches so that we know exactly why a progress listener stops or hangs.
Added a #trace private helper for readability.
Differential Revision: https://phabricator.services.mozilla.com/D158143
2022-09-27 13:24:53 +00:00
Julian Descottes
c62ef2f36b
Bug 1763109 - [remote] ProgressListener should not resolve early if waitForExplicitStart is true r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D158142
2022-09-27 13:24:52 +00:00
Alexandra Borovova
f32dba0420
Bug 1770754 - [bidi] Support serialization of complex objects with container value fields. r=webdriver-reviewers,jdescottes,whimboo
...
Depends on D157813
Differential Revision: https://phabricator.services.mozilla.com/D157635
2022-09-27 11:31:27 +00:00
Alexandra Borovova
f3094bccfc
Bug 1770754 - [bidi] Add internal ids to the duplicated objects for a given serialization. r=webdriver-reviewers,jdescottes,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D157634
2022-09-27 11:31:26 +00:00
Julian Descottes
f52f1c98c3
Bug 1788861 - [bidi] Deserialization of remote references should not create new objects r=Sasha,webdriver-reviewers,whimboo
...
Depends on D156691
Differential Revision: https://phabricator.services.mozilla.com/D156717
2022-09-20 13:29:50 +00:00
Alexandra Borovova
6ca2b6a083
Bug 1778976 - [bidi] Enable "script.evaluate", "script.callFunction" and "script.disown" on release channels. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D157091
2022-09-20 09:12:51 +00:00
Alexandra Borovova
9f3df6a72a
Bug 1779231
- [bidi] Add Realm support to "target" argument for "script.evaluate", "script.callFunction" and "script.disown" r=webdriver-reviewers,jdescottes,whimboo
...
Depends on D156051
Differential Revision: https://phabricator.services.mozilla.com/D156690
2022-09-20 09:12:49 +00:00
Dana Keeler
bdb75eecd3
Bug 1790451 - remove now-unnecessary QueryInterface(Ci.nsITransportSecurityInfo) calls r=jschanck,webdriver-reviewers,necko-reviewers,application-update-reviewers,nalexander,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D157166
2022-09-20 03:58:50 +00:00
Henrik Skupin
1b97aa447f
Bug 1790950 - [remote] Improve logging for Remote Agent protocol messages. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D157431
2022-09-19 19:19:23 +00:00
Henrik Skupin
119e894f82
Bug 1790950 - [marionette] Improve logger output for protocol messages. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D157430
2022-09-19 19:19:22 +00:00
Henrik Skupin
f27030b222
Bug 1790950 - [remote] Remove deprecated Marionette preferences from documentation. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D157428
2022-09-19 19:19:22 +00:00
James Graham
265bbc2061
Bug 1781066 - Disallow missing pointerMove / wheel scroll coordinates, r=webdriver-reviewers,whimboo
...
The spec claims that undefined is allowed for these values, but later
treats them as if they're always integers. I suspect the original
intent was to default to 0, but since there seems to be interop around
rasing an exception, make geckodriver and marionette explicitly check
for valid integers and disallow missing/undefined values.
Differential Revision: https://phabricator.services.mozilla.com/D152645
2022-09-19 16:25:12 +00:00
Butkovits Atila
0a4c1b25bc
Backed out changeset 95bc55ad64d7 (bug 1781066) for causing linting failures. CLOSED TREE
2022-09-14 21:07:02 +03:00
James Graham
90ca0c23d3
Bug 1781066 - Disallow missing pointerMove / wheel scroll coordinates, r=webdriver-reviewers,whimboo
...
The spec claims that undefined is allowed for these values, but later
treats them as if they're always integers. I suspect the original
intent was to default to 0, but since there seems to be interop around
rasing an exception, make geckodriver and marionette explicitly check
for valid integers and disallow missing/undefined values.
Differential Revision: https://phabricator.services.mozilla.com/D152645
2022-09-14 17:48:17 +00:00
Alexandra Borovova
87706fdb4e
Bug 1766240 - [bidi] Implement "script.getRealms" command. r=webdriver-reviewers,jdescottes,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D156049
2022-09-12 12:35:19 +00:00
Henrik Skupin
fd1f1425ea
Bug 1506782 - [remote] Add support for opening and closing tabs on Android. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D156746
2022-09-09 11:58:45 +00:00
Henrik Skupin
16d96ac3fd
Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 11:58:44 +00:00
Marian-Vasile Laza
27fd1e9739
Backed out 2 changesets (bug 1789357, bug 1506782) for causing xpcshell failures on test_Capabilities.js. CLOSED TREE
...
Backed out changeset 144d4be497c6 (bug 1506782)
Backed out changeset 0884729fca31 (bug 1789357)
2022-09-09 12:34:02 +03:00
Henrik Skupin
f747c73194
Bug 1506782 - [remote] Add support for opening and closing tabs on Android. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D156746
2022-09-09 08:55:33 +00:00
Henrik Skupin
3246749215
Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 08:55:33 +00:00
James Graham
0f8a84132a
Bug 1746601 - Implement wheel input support in marionette, r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D139123
2022-09-08 13:45:22 +00:00
Alexandra Borovova
c9433699f7
Bug 1756619 - [bidi] Implement "browsingContext.load" event. r=webdriver-reviewers,jdescottes,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D155820
2022-09-06 08:11:54 +00:00
Julian Descottes
584c2ea03d
Bug 1770740 - [bidi] Implement "script.disown" command r=webdriver-reviewers,Sasha,whimboo
...
Depends on D155522
Differential Revision: https://phabricator.services.mozilla.com/D155634
2022-09-05 08:53:15 +00:00
Julian Descottes
84dec7594d
Bug 1763137 - [messagehandler] Filter events based on context descriptor used to subscribe to them r=webdriver-reviewers,whimboo
...
Depends on D155070
Differential Revision: https://phabricator.services.mozilla.com/D155243
2022-09-02 12:04:15 +00:00
Julian Descottes
5bb89bff06
Bug 1762334 - [messagehandler] Use EventsDispatcher in session module r=webdriver-reviewers,whimboo
...
Depends on D155062
Some additional corrections had to be made on the EventsDispatcher module at the same time.
Differential Revision: https://phabricator.services.mozilla.com/D155070
2022-09-02 12:04:14 +00:00
Julian Descottes
a06ffb598a
Bug 1762334 - [messagehandler] Remove _subscribe/_unsubscribeEvent commands in favor of SessionData r=webdriver-reviewers,whimboo
...
Depends on D155061
All events now only react to SessionData and the session module can directly add/remove session data instead of using internal commands.
In the next patch, it will start relying on EventsDispatcher directly.
Differential Revision: https://phabricator.services.mozilla.com/D155062
2022-09-02 12:04:14 +00:00
Julian Descottes
fb6fa92fdf
Bug 1788124 - [bidi] Deserialize remote values with handle field r=webdriver-reviewers,whimboo
...
Depends on D155446
With this you can retrieve a remote value with a handle from script.execute and then use it in your next call to script.callFunction
Differential Revision: https://phabricator.services.mozilla.com/D155522
2022-08-31 22:59:31 +00:00
Julian Descottes
d3b9951dbf
Bug 1783820 - [bidi] Add resultOwnership support for script.evaluate and script.callFunction r=webdriver-reviewers,Sasha,whimboo
...
Depends on D156121
Differential Revision: https://phabricator.services.mozilla.com/D155446
2022-08-31 22:59:31 +00:00
Julian Descottes
af63f4ed2c
Bug 1783820 - [bidi] Add a RemoteValue class to hold data for serialized values r=webdriver-reviewers,whimboo
...
Depends on D155862
Differential Revision: https://phabricator.services.mozilla.com/D156121
2022-08-31 22:59:30 +00:00
Julian Descottes
8a7d5bbaaf
Bug 1783820 - [bidi] Create handle in RemoteValue.serialize if ownershipType is root r=webdriver-reviewers,whimboo
...
Depends on D155632
Differential Revision: https://phabricator.services.mozilla.com/D155862
2022-08-31 22:59:30 +00:00
Julian Descottes
9a69a3180a
Bug 1783820 - [bidi] Fix errors lazy imports in RemoteValue r=webdriver-reviewers,whimboo
...
Depends on D155445
The test was only passing because the error thrown was "InvalidArgumentError is not a constructor"
Differential Revision: https://phabricator.services.mozilla.com/D155632
2022-08-31 22:59:29 +00:00
Julian Descottes
a13c398666
Bug 1770736 - [bidi] Add an object reference map to the Realm class r=webdriver-reviewers,Sasha,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D155445
2022-08-31 22:59:29 +00:00
Julian Descottes
6f2ab5a719
Bug 1786255 - [messagehandler] Use session data to subscribe to browsingContext.contextCreated r=webdriver-reviewers,whimboo
...
Depends on D155060
The _subscribe/_unsubscribeEvent can be removed in the next patch
Differential Revision: https://phabricator.services.mozilla.com/D155061
2022-08-30 11:53:47 +00:00
Julian Descottes
d4bc15c1be
Bug 1786255 - [messagehandler] Apply session data to Root layer modules r=webdriver-reviewers,whimboo
...
Depends on D155059
In order for all events to really use similar codepaths, they should not use different subscription mechanism.
Setting an event in SessionData should be the entry point for all modules to decide to update their listeners or not.
Therefore we will also call _applySessionData on root modules which support this.
Next patch will start using this for the browsingContext.contextCreated event.
Differential Revision: https://phabricator.services.mozilla.com/D155060
2022-08-30 11:53:47 +00:00
Julian Descottes
c2b9c6fa6a
Bug 1786255 - [messagehandler] RootMessageHandler _applySessionData should return the session data update r=webdriver-reviewers,whimboo
...
The current version returns the return value of the command (which can be a broadcast, depending on the provided descriptor).
This makes it impossible to know what to consistently expect as a return value.
It seems it was only used for a test assertion, so rewrite the test and cleanup the return value
Differential Revision: https://phabricator.services.mozilla.com/D155059
2022-08-30 11:53:47 +00:00
Geoff Lankow
f8a55c3c79
Bug 1787081 - Remove Thunderbird special case from remote TabManager. r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D155529
2022-08-28 22:47:39 +00:00
Julian Descottes
7d8eb136be
Bug 1783177 - [messagehandler] Merge internal and protocol events r=webdriver-reviewers,whimboo
...
We no longer distinguish between internal and protocol events within the framework.
All events now have the same behavior:
- emitted both under their own name and under the name message-handler-event
- bubble up to the root message handler
- the session which owns the RootMessageHandler does not listen for those events
The emitProtocolEvent has been moved to the RootMessageHandler only and can be used to emit events under a specific name "message-handler-protocol-event".
Only those events will be sent over to the actual client.
Internally the session module now keeps track of which events have already been subscribed to, to avoid forwarding duplicated events.
In a followup this will be centralized over in the EventsDispatcher, which can now play a bigger role.
Note that in the same way as for commands, there is still an implicit notion of "internal event", as in "an event which can not be subscribed to by consumers".
For commands this is done by having a "_" before the command name.
For events this is done by listing or not the event in the "supportedEvents" static array of the Module.
Differential Revision: https://phabricator.services.mozilla.com/D155025
2022-08-26 14:21:28 +00:00
Mark Banner
1a1669c8c4
Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for remote. r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D155173
2022-08-26 13:39:37 +00:00
Alexandra Borovova
d42cab3b3c
Bug 1756680 - Update links in Vendoring Puppeteer docs r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D155073
2022-08-23 09:07:43 +00:00
Alexandra Borovova
3b13e92b62
Bug 1756680 - [puppeteer] Sync puppeteer v16.1.1 r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D154912
2022-08-23 09:07:42 +00:00
harshrai654
b6c5f1c902
Bug 1776377 changed MessageHandler classes to use private class fields. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D154885
2022-08-22 07:23:08 +00:00
Henrik Skupin
c193147b7b
Bug 1769994 - [remote] Resolve localhost to an IP before starting httpd.js. r=webdriver-reviewers,jdescottes
...
By resolving localhost to an actual IP for the httpd.js server
allows us to supply unique URLs for the CDP and WebDriver BiDi
WebSocket connection details and CDP's JSON handler end-points.
Hereby the first resolved IP will be used which should always be
the local IPv4 address (127.0.0.1). If IPv4 is disabled `[::1]`
will be used.
It will prevent issues especially on dualstack systems where DNS
resolution might prefer IPv6 over IPv4 (like with node.js > 16).
Differential Revision: https://phabricator.services.mozilla.com/D154151
2022-08-19 18:48:49 +00:00
Henrik Skupin
9e065aa42b
Bug 1769994 - [remote] Set final host and port for chrome-remote-interface client. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D154150
2022-08-19 18:48:49 +00:00
Henrik Skupin
63bb86f569
Bug 1785092 - [remote] Added Realm class for Windows and Sandboxes. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D154973
2022-08-19 18:15:30 +00:00
Alexandra Borovova
41b3a21f9d
Bug 1770480 - [bidi] Add support for script evaluation inside sandboxes for "script.evaluate" and "script.callFunction" commands. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D153440
2022-08-17 14:35:02 +00:00
Henrik Skupin
69cedc69ba
Bug 1784957 - [marionette] Don't fail when unregistering "browser-delayed-startup-finished" observer. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D154687
2022-08-16 11:37:14 +00:00
Henrik Skupin
b1c401d013
Bug 1398792 - [marionette] Waive Xrays in "WebDriver:GetElementProperty" to get unfiltered access to untrusted elements. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D154219
2022-08-10 18:30:54 +00:00
Alexandra Borovova
c389c09521
Bug 1779226 - Add support for serialization of plain JS objects with simple value fields. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D153745
2022-08-04 19:15:18 +00:00
Iulian Moraru
197ca9977c
Backed out changeset 0d0c8aa6e1d0 (bug 1746601) for causing wpt failures on iframe-chains.html. CLOSED TREE
2022-08-04 19:24:20 +03:00
James Graham
59ebc886d9
Bug 1746601 - Implement wheel input support in marionette, r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D139123
2022-08-04 13:30:58 +00:00
Alexandra Borovova
4928d6559f
Bug 1779179 - Rename "+Infinity" to "Infinity" in serialization and deserialization. r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D153729
2022-08-04 10:49:20 +00:00
Florian Quèze
6d15c3f4b2
Bug 1742842 - Workaround known issues in tests that currently keep vsync enabled forever, r=mconley,webdriver-reviewers,jdescottes.
...
Differential Revision: https://phabricator.services.mozilla.com/D153204
2022-08-01 16:04:15 +00:00
Tooru Fujisawa
a1a992d3cc
Bug 1780543 - Part 2: Use eslint-env mozilla/frame-script consistently in test frame script. r=Standard8,webdriver-reviewers,perftest-reviewers,sparky,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D152427
2022-07-26 02:46:29 +00:00
Tooru Fujisawa
a6aabba5a4
Bug 1780543 - Part 1: Use eslint-env mozilla/frame-script consistently in frame script. r=Standard8,webdriver-reviewers,geckoview-reviewers,jdescottes,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D152426
2022-07-26 02:46:28 +00:00
Julian Descottes
81897c2b7d
Bug 1780752 - [bidi] Handle exception objects which don't support toString r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D152506
2022-07-22 19:51:41 +00:00
Emilio Cobos Álvarez
10a8d9eb8a
Bug 1780212 - Consistently use sizemodechange events to minimize/restore windows. r=webdriver-reviewers,jdescottes
...
Like we do to maximize/fullscreen. This makes the code less confusing
and more reliable over-all.
Differential Revision: https://phabricator.services.mozilla.com/D152177
2022-07-19 21:31:57 +00:00
James Graham
e56d9c755b
Bug 1543337 - Change some `for (let _ of …)` to `for (const _ of …)`, r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D150812
2022-07-15 14:42:09 +00:00
James Graham
cce5215825
Bug 1543337 - Implement support for touch input in marionette, r=webdriver-reviewers,whimboo,jdescottes
...
Touch is a bit different to mouse inputs because there are often
multiple pointers (i.e. fingers) acting at the same time. It turns out
that Gecko wants a single call containing all the positions etc. of
the touch pointers for each event, rather than having a single call
per pointer. So we have to group the pointer actions from one tick
together.
Differential Revision: https://phabricator.services.mozilla.com/D139120
2022-07-15 14:42:08 +00:00
James Graham
58f8f3c0a9
Bug 1779694 - Await window closing during reftest cleanup, r=webdriver-reviewers,whimboo
...
If a reftest times out we close the window before the following
test. However because we weren't waiting for this close to complete
there was a race condition where the following test would fail with a
"browsing context was discarded".
Ensuring that we wait for the window to close in `abort` seems to be
sufficient to fix this issue.
Differential Revision: https://phabricator.services.mozilla.com/D151918
2022-07-15 11:33:48 +00:00
Henrik Skupin
1ed1175d97
Bug 1774476 - [cdp] Delay initialization of CDP until browserStartupFinished. r=webdriver-reviewers,jgraham
...
Initializing CDP before the first window has been opened can break
the registration of the first browser window because a pre-loaded
window gets opened first before the gBrowser is attached.
This also prevents any CDP client to connect to any the JSONHandler
end-points before CDP is actually ready.
Differential Revision: https://phabricator.services.mozilla.com/D151843
2022-07-15 06:30:34 +00:00
Zach Bloomquist
bf158e7643
Bug 1715366 - [CDP] Fix URL fragment handling in Network.requestWillBeSent. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D117559
2022-07-13 12:34:28 +00:00
Iulian Moraru
daab9825a4
Backed out 6 changesets (bug 1543337, bug 1756182) for causing multiple wpt failures. CLOSED TREE
...
Backed out changeset 48dac2cac9ee (bug 1756182)
Backed out changeset 122a095250a4 (bug 1543337)
Backed out changeset 9f7f9a7915fb (bug 1543337)
Backed out changeset 0c6c62853a16 (bug 1543337)
Backed out changeset 3fadd0a4cf4c (bug 1543337)
Backed out changeset b6f26244bf55 (bug 1543337)
2022-07-13 02:37:43 +03:00
James Graham
ccf619cde0
Bug 1543337 - Change some `for (let _ of …)` to `for (const _ of …)`, r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D150812
2022-07-12 18:05:48 +00:00
James Graham
71bd61bee2
Bug 1543337 - Implement support for touch input in marionette, r=webdriver-reviewers,whimboo,jdescottes
...
Touch is a bit different to mouse inputs because there are often
multiple pointers (i.e. fingers) acting at the same time. It turns out
that Gecko wants a single call containing all the positions etc. of
the touch pointers for each event, rather than having a single call
per pointer. So we have to group the pointer actions from one tick
together.
Differential Revision: https://phabricator.services.mozilla.com/D139120
2022-07-12 18:05:47 +00:00
Julian Descottes
481846b3e9
Bug 1777460 - [bidi] Support "this" parameter for "script.callFunction" command r=webdriver-reviewers,whimboo
...
Depends on D150823
Differential Revision: https://phabricator.services.mozilla.com/D150824
2022-07-12 16:19:32 +00:00
Julian Descottes
b7742d679e
Bug 1770492 - [bidi] Support basic "arguments" for "script.callFunction" command r=webdriver-reviewers,whimboo
...
Depends on D151529
Differential Revision: https://phabricator.services.mozilla.com/D150823
2022-07-12 16:19:31 +00:00
Julian Descottes
53f88bc86d
Bug 1770492 - [bidi] RemoteValue deserialize should throw when type is not a string r=webdriver-reviewers,whimboo
...
Depends on D151034
Differential Revision: https://phabricator.services.mozilla.com/D151529
2022-07-12 16:19:31 +00:00
Julian Descottes
75eac83967
Bug 1770492 - [messagehandler] Support emitting protocol errors from MessageHandler modules r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151034
2022-07-12 16:19:30 +00:00
Alexandra Borovova
61d71c792e
Bug 1777951 - Enable partially implemented WebDriver BIDi features on Nightly channel only. r=webdriver-reviewers,whimboo,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D151364
2022-07-12 15:55:37 +00:00
Bogdan Szekely
9e138df7de
Backed out 6 changesets (bug 1756182, bug 1543337) for causing wpt failures on pointerevent_attributes_hoverable_pointers.html
...
Backed out changeset 60ee209b5c23 (bug 1756182)
Backed out changeset fcb9effe543d (bug 1543337)
Backed out changeset f0192382bd67 (bug 1543337)
Backed out changeset 2982c3f1cee3 (bug 1543337)
Backed out changeset dcf8d6675ecb (bug 1543337)
Backed out changeset a2a4ccd34675 (bug 1543337)
2022-07-12 16:02:14 +03:00
James Graham
dc97e1ee9d
Bug 1543337 - Change some `for (let _ of …)` to `for (const _ of …)`, r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D150812
2022-07-12 12:00:29 +00:00
James Graham
55e6b2248e
Bug 1543337 - Implement support for touch input in marionette, r=webdriver-reviewers,whimboo,jdescottes
...
Touch is a bit different to mouse inputs because there are often
multiple pointers (i.e. fingers) acting at the same time. It turns out
that Gecko wants a single call containing all the positions etc. of
the touch pointers for each event, rather than having a single call
per pointer. So we have to group the pointer actions from one tick
together.
Differential Revision: https://phabricator.services.mozilla.com/D139120
2022-07-12 12:00:28 +00:00
Tooru Fujisawa
54623364da
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
7738a75fdd
Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
...
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Julian Descottes
655537ec77
Bug 1767295 - [remote] Extend unload timeout for navigation on slow platforms r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151072
2022-07-11 16:02:31 +00:00
Tooru Fujisawa
8cd6ed7409
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
bf93d07148
Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Tooru Fujisawa
f3a8c52c53
Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
...
Differential Revision: https://phabricator.services.mozilla.com/D150893
2022-07-11 12:41:50 +00:00
Henrik Skupin
fc98681137
Bug 1775141 - [webdriver-bidi] Send live "browsingContext.contextCreated" events with "about:blank" as URL. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D151321
2022-07-08 10:01:47 +00:00
Julian Descottes
87ebacdf14
Bug 1750541 - [bidi] Implement basic support for "script.callFunction" command r=webdriver-reviewers,whimboo
...
Depends on D150245
Differential Revision: https://phabricator.services.mozilla.com/D150822
2022-07-06 19:34:33 +00:00
Julian Descottes
25cf447901
Bug 1770477 - [bidi] Return the innerWindowId as realm id for script.evaluate r=webdriver-reviewers,jgraham,whimboo
...
Depends on D149413
Differential Revision: https://phabricator.services.mozilla.com/D150245
2022-07-06 19:34:32 +00:00
Julian Descottes
62cafcc5f3
Bug 1770477 - [bidi] Handle javascript errors in script.evaluate r=webdriver-reviewers,whimboo
...
Depends on D150467
Differential Revision: https://phabricator.services.mozilla.com/D149413
2022-07-06 19:34:32 +00:00
Julian Descottes
26cb8439ba
Bug 1777936
- [bidi] script.evaluate awaitPromise should be mandatory r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D150920
2022-07-05 07:11:41 +00:00
Tooru Fujisawa
9afd92bff5
Bug 1776837 - Part 1: Do not use lazy getter for eagerly loaded modules. r=mossop,webdriver-reviewers,application-update-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D150935
2022-07-05 01:01:34 +00:00
Alexandra Borovova
d47145fdcc
Bug 1767260 - [bidi] Add support for source to log.entryAdded event. r=webdriver-reviewers,jdescottes,whimboo
...
Depends on D150107
Differential Revision: https://phabricator.services.mozilla.com/D150405
2022-07-04 06:02:00 +00:00
Alexandra Borovova
147e207e97
Bug 1775463 - Allow windowglobal-in-root modules to intercept events from their corresponding windowglobal module. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D150107
2022-07-04 06:01:59 +00:00
Julian Descottes
d86a6ea69a
Bug 1770461 - [bidi] Add support for awaitPromise to script.evaluate r=webdriver-reviewers,whimboo,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D149412
2022-07-03 20:24:03 +00:00
Mark Banner
05e3f1ea83
Bug 1646183
- Extend ESLint rule reject-importGlobalProperties to also handle defineLazyGlobalGetters. r=arai,webdriver-reviewers,webcompat-reviewers,extension-reviewers,whimboo,twisniewski,kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D150353
2022-06-29 22:37:57 +00:00
Henrik Skupin
745a8f5c2b
Bug 1775036 - [marionette] Remove support for ChromeWebElements. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149956
2022-06-24 08:38:13 +00:00
Henrik Skupin
fb3e2b8be8
Bug 1775036 - [marionette] Fix JSDoc comments in element.js. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D150179
2022-06-24 08:38:12 +00:00
Henrik Skupin
fba9aab1f1
Bug 1775036 - [marionette] Rename ContentShadowRoot to ShadowRoot. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D150178
2022-06-24 08:38:12 +00:00
Henrik Skupin
a2c4a1e752
Bug 1775036 - [marionette] Rename ContentWebWindow to WebWindow. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149960
2022-06-24 08:38:11 +00:00
Henrik Skupin
495f3169a0
Bug 1775036 - [marionette] Rename ContentWebFrame to WebFrame. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149959
2022-06-24 08:38:11 +00:00
Henrik Skupin
ada89cd0d6
Bug 1775036 - [marionette] Rename ContentWebElement to WebElement. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149958
2022-06-24 08:38:11 +00:00
Henrik Skupin
394b39cd02
Bug 1775036 - [marionette] Rename WebElement to WebReference. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149957
2022-06-24 08:38:10 +00:00
Alexandra Borovova
f49bf0fabd
Bug 1741861 - Move shared logic from _subscribeEvent and _unsubscribeEvent. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149401
2022-06-22 12:15:08 +00:00
Tooru Fujisawa
baf350744e
Bug 1772969 - Part 1: Define lazy getter for ModuleRegistry.jsm on different objects for each protocol. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149707
2022-06-22 07:36:49 +00:00
Henrik Skupin
53819cc312
Bug 1775064 - [marionette] Return chrome element references for elements within any privileged document. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149852
2022-06-21 18:45:26 +00:00
criss
de373eee8c
Backed out changeset d24535fc8fc5 (bug 1775064) for causing mochitest failures on browser_all_files_referenced.js . CLOSED TREE
2022-06-21 20:47:12 +03:00
Henrik Skupin
e9a9660f44
Bug 1775064 - [marionette] Return chrome element references for elements within any privileged document. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149852
2022-06-21 16:42:50 +00:00
Julian Descottes
5a9f0dbb27
Bug 1770476 - [bidi] Add support for return values in script.evaluate r=webdriver-reviewers,whimboo
...
Depends on D148907
Differential Revision: https://phabricator.services.mozilla.com/D149411
2022-06-21 13:55:22 +00:00
Salil Mishra :naming_is_hard
f7b6465372
Bug 1771760 - [marionette] Rename vendor specific capability `platformVersion` to `moz:platformVersion` r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D149694
2022-06-20 21:11:36 +00:00
Alexandra Borovova
23b3bd73b9
Bug 1770751 - Add support for deserialization of complex objects with simple value fields. r=webdriver-reviewers,whimboo,jdescottes
...
Depends on D149407
Differential Revision: https://phabricator.services.mozilla.com/D148901
2022-06-20 07:36:42 +00:00
Alexandra Borovova
8a09c96cd0
Bug 1770751 - Make Date serialization return Date Time string. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D149407
2022-06-20 07:36:42 +00:00
criss
81774d378d
Bug 1742979 - Fix ES lint failure. CLOSED TREE
2022-06-16 23:50:59 +03:00
Julian Descottes
f5a579509a
Bug 1742979 - [bidi] Implement basic support for "script.evaluate" command r=webdriver-reviewers,whimboo,ochameau
...
Adds a new root script module, and a new windowglobal script module.
The root script module supports the public command evaluate, with the following limitations:
- awaitPromise is not supported
- the RealmTarget type is not supported
- sandbox is not supported for the ContextTarget type
- evaluation return values are not supported
- exception handling is not supported
- ownership model is not supported
wdspec tests will be added via https://github.com/web-platform-tests/wpt/pull/34162
Differential Revision: https://phabricator.services.mozilla.com/D148907
2022-06-16 19:44:43 +00:00
Henrik Skupin
85dac95fed
Bug 1772484 - [marionette] Update JSDoc @throws entries for WebDriver commands. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149266
2022-06-16 09:40:33 +00:00
Henrik Skupin
8c97174e34
Bug 1772484 - [marionette] Raise "stale element reference" error if a stale element is returned by executing a script. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D149265
2022-06-16 09:40:33 +00:00
Tooru Fujisawa
5e0731b2a4
Bug 1608282 - Part 4: Remove Cu.defineLazyGlobalGetters from JSM. r=webdriver-reviewers,extension-reviewers,jdescottes,kmag
...
Depends on D149196
Differential Revision: https://phabricator.services.mozilla.com/D149197
2022-06-16 00:19:54 +00:00
Butkovits Atila
8218713aac
Backed out 4 changesets (bug 1608282) for causing hazard failures. CLOSED TREE
...
Backed out changeset 32aebc8be201 (bug 1608282)
Backed out changeset 37c970364269 (bug 1608282)
Backed out changeset ced8d82cc2d2 (bug 1608282)
Backed out changeset e26e480c7dd6 (bug 1608282)
2022-06-16 03:10:02 +03:00
Tooru Fujisawa
2337bc5418
Bug 1772299 - Reject modification to globalThis inside system module. r=Standard8,webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D148116
2022-06-15 22:20:53 +00:00
Tooru Fujisawa
25d05032b1
Bug 1773829 - Part 6: Stop using lazy getter unnecessarily in remote/. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D149015
2022-06-15 20:56:24 +00:00
Tooru Fujisawa
8b8d6b141a
Bug 1608282 - Part 4: Remove Cu.defineLazyGlobalGetters from JSM. r=webdriver-reviewers,extension-reviewers,jdescottes,kmag
...
Depends on D149196
Differential Revision: https://phabricator.services.mozilla.com/D149197
2022-06-15 20:34:35 +00:00
Tooru Fujisawa
b79dac722c
Bug 1607331 - Part 1: Do not use global this in remote/shared/messagehandler/transports/FrameTransport.jsm. r=jdescottes,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D148550
2022-06-13 20:03:01 +00:00
Alexandra Borovova
2794384788
Bug 1770752 - Add support for serialization of complex objects with simple value fields. r=webdriver-reviewers,jdescottes,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148100
2022-06-13 14:26:56 +00:00
Julian Descottes
cbca674b9e
Bug 1773939 - [marionette] Add a trace log when MarionetteCommandsActorProxy returns null r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D149047
2022-06-13 09:45:56 +00:00
James Graham
159ca0c579
Bug 1773264 - Refactor actions support, r=webdriver-reviewers,whimboo
...
Move from having lots of switch/case statements to dispatch the
correct actions to a more normal OO setup where each action type is
represented by a class with a static fromJSON method for construction,
and a `dispatch()` method for emitting the event.
The state is also passed around explictly rather than being stored in
a module global. This will allow us to have e.g. different state per
session.
Differential Revision: https://phabricator.services.mozilla.com/D139119
2022-06-13 09:03:33 +00:00
Tooru Fujisawa
c1095df1e5
Bug 1772014 - Fix use-isInstance rule to support lazy.OS.File. r=Standard8,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D147808
2022-06-10 20:42:21 +00:00
Cosmin Sabou
a8fe62db96
Backed out 2 changesets (bug 1773265, bug 1773264) for causing wpt mouse-pointer related failures.
...
Backed out changeset a4dd1e07fbf5 (bug 1773265)
Backed out changeset 96fbfb8cd08a (bug 1773264)
2022-06-09 18:57:30 +03:00
James Graham
91ec3edca9
Bug 1773264 - Refactor actions support, r=webdriver-reviewers,whimboo
...
Move from having lots of switch/case statements to dispatch the
correct actions to a more normal OO setup where each action type is
represented by a class with a static fromJSON method for construction,
and a `dispatch()` method for emitting the event.
The state is also passed around explictly rather than being stored in
a module global. This will allow us to have e.g. different state per
session.
Differential Revision: https://phabricator.services.mozilla.com/D139119
2022-06-09 12:55:27 +00:00
ui.sayuree
78181c00b8
Bug 1723058 - [cdp] Enhance Browser.getVersion with product name including application version. r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D147883
2022-06-09 06:16:34 +00:00
Karl Tomlinson
8b39a8e258
Bug 1745595 wait for expected geometry after move or resize r=whimboo,webdriver-reviewers
...
The requestAnimationFrame() callback used in IdlePromise() may run sooner than
1/60 second, providing insufficient time for changes to be effected.
https://searchfox.org/mozilla-central/rev/e567185fa464270f94430e7cf62d134f4df9a69f/layout/base/nsRefreshDriver.cpp#1730-1731
Waiting for the "resize" and "MozUpdateWindowPos" events should provide
minimum wait in the common cases that the OS completes the changes requested.
This change should also resolve
https://bugzilla.mozilla.org/show_bug.cgi?id=1702255
Differential Revision: https://phabricator.services.mozilla.com/D147729
2022-06-09 02:32:17 +00:00
Tooru Fujisawa
19087e48c1
Bug 1772096 - Part 9: Use plain object for lazy getter in remote/webdriver-bidi/. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D148006
2022-06-06 07:10:45 +00:00
Tooru Fujisawa
cda5ad9e91
Bug 1772096 - Part 8: Use plain object for lazy getter in remote/shared/. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D148005
2022-06-06 07:10:45 +00:00
Tooru Fujisawa
2d20b01ca6
Bug 1772096 - Part 7: Use plain object for lazy getter in remote/shared/webdriver/. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D148004
2022-06-06 07:10:44 +00:00
Tooru Fujisawa
f0d1eaf7b1
Bug 1772096 - Part 6: Use plain object for lazy getter in remote/shared/messagehandler/. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D148003
2022-06-06 07:10:44 +00:00
Tooru Fujisawa
631a13a650
Bug 1772096 - Part 5: Use plain object for lazy getter in remote/shared/listeners/. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D148002
2022-06-06 07:10:43 +00:00
Tooru Fujisawa
ab140eb7bd
Bug 1772096 - Part 4: Use plain object for lazy getter in remote/server/. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D148001
2022-06-06 07:10:43 +00:00
Tooru Fujisawa
1ef92ec3a2
Bug 1772096 - Part 3: Use plain object for lazy getter in remote/marionette/. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D148000
2022-06-06 07:10:43 +00:00
Tooru Fujisawa
433bb2ca9f
Bug 1772096 - Part 2: Use plain object for lazy getter in remote/components/. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D147999
2022-06-06 07:10:42 +00:00
Tooru Fujisawa
43afe4f072
Bug 1772096 - Part 1: Use plain object for lazy getter in remote/cdp/. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D147998
2022-06-06 07:10:42 +00:00
Tooru Fujisawa
4f96aa80b2
Bug 1772360 - Remove unnecessary call for XPCOMUtils.defineLazyGlobalGetters. r=florian,webdriver-reviewers,webcompat-reviewers,denschub,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148168
2022-06-06 04:42:10 +00:00
Tooru Fujisawa
6b0608c9bd
Bug 1772351 - Part 3: Stop calling XPCOMUtils.defineLazyModuleGetters for AppConstants. r=florian,webdriver-reviewers,whimboo,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D148166
2022-06-06 04:42:09 +00:00
Tooru Fujisawa
f7650958c8
Bug 1772313 - Part 7: Stop calling XPCOMUtils.defineLazyModuleGetters for Services. r=kmag,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148160
2022-06-06 04:42:06 +00:00
Molnar Sandor
77402a5caa
Backed out 15 changesets (bug 1772313, bug 1772351, bug 1772360) for causing xpc failures in telemetry/tests/unit/test_SocketScalars.js CLOSED TREE
...
Backed out changeset c8b0a2ed239e (bug 1772360)
Backed out changeset 1922adad6abe (bug 1772351)
Backed out changeset 6d3634cce489 (bug 1772351)
Backed out changeset f03968a9d053 (bug 1772351)
Backed out changeset e7a38ef90fe4 (bug 1772351)
Backed out changeset b389e7654771 (bug 1772313)
Backed out changeset 59a33598ff51 (bug 1772313)
Backed out changeset ab60885a8a93 (bug 1772313)
Backed out changeset aad8efac9d05 (bug 1772313)
Backed out changeset 4378e519a8e7 (bug 1772313)
Backed out changeset 302ac54741f8 (bug 1772313)
Backed out changeset 74c59f9fd51c (bug 1772313)
Backed out changeset 575fb877c56c (bug 1772313)
Backed out changeset 2eaa68f10b19 (bug 1772313)
Backed out changeset 4a8b3ba193dc (bug 1772313)
2022-06-06 07:04:25 +03:00
Tooru Fujisawa
c7229a1a17
Bug 1772360 - Remove unnecessary call for XPCOMUtils.defineLazyGlobalGetters. r=florian,webdriver-reviewers,webcompat-reviewers,denschub,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148168
2022-06-06 02:49:14 +00:00
Tooru Fujisawa
b200384ddb
Bug 1772351 - Part 3: Stop calling XPCOMUtils.defineLazyModuleGetters for AppConstants. r=florian,webdriver-reviewers,whimboo,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D148166
2022-06-06 02:49:13 +00:00
Tooru Fujisawa
fc45e50920
Bug 1772313 - Part 7: Stop calling XPCOMUtils.defineLazyModuleGetters for Services. r=kmag,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148160
2022-06-06 02:49:10 +00:00
Julian Descottes
8fa17f2e94
Bug 1764314 - [bidi] Allow browsingContext.navigate to retry the _getBaseURL command r=webdriver-reviewers,whimboo
...
Depends on D147715
No test added, hopefully this should address intermittents such as Bug 1767226
_getBaseURL is so far the only command explicitly sent to a windowglobal MessageHandler,
and therefore is the only one we should consider for the retry behavior.
Differential Revision: https://phabricator.services.mozilla.com/D147719
2022-06-02 18:42:04 +00:00
Julian Descottes
9b0cc99afd
Bug 1764314 - [remote] Allow MessageHandler commands to be retried upon AbortError r=webdriver-reviewers,whimboo
...
Depends on D147713
This adds a "retryOnAbort" property on MessageHandler Commands.
When set to true, this will allow the FrameTransport to retry a command up to 10 times in case of an AbortError.
Difference with Marionette, this doesn't attempt to detect BrowsingContexts in bfcache, because retrying commands
does not make sense in bfcache (this is not a temporary state, retrying in a loop will most likely not help).
A browser mochitest is added to cover various retry scenarios.
Differential Revision: https://phabricator.services.mozilla.com/D147715
2022-06-02 18:42:04 +00:00
Julian Descottes
f2157ae0e6
Bug 1764314 - [bidi] Cleanup private methods for events in windowglobal/log module r=webdriver-reviewers,whimboo
...
Two private methods which were still listed as internal commands.
Differential Revision: https://phabricator.services.mozilla.com/D147713
2022-06-02 18:42:04 +00:00
Alexandra Borovova
2f91f4d05d
Bug 1763133 - Ignore cache error in browsingContext.navigate. r=webdriver-reviewers,whimboo,nika,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D147300
2022-06-02 10:25:49 +00:00
Gabriele Svelto
fd3fc54c5d
Bug 1771875 - Add BrowserTestUtils.reloadTab() and use it everywhere r=mconley,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D147732
2022-06-01 09:34:05 +00:00
ui.sayuree
bef8f04748
Bug 1723079 - added revision to Browser and updated tests.r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D146691
2022-06-01 07:12:26 +00:00
Tooru Fujisawa
441904c318
Bug 1771460 - Part 2: Remove redundant global variable that conflicts with lazy getter. r=Standard8,webdriver-reviewers
...
Depends on D147592
Differential Revision: https://phabricator.services.mozilla.com/D147593
2022-05-30 20:50:21 +00:00
Tooru Fujisawa
266e05342c
Bug 1610653 - Part 17: Do not store lexical variable also to global this property in remote/shared/webdriver. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D144124
2022-05-30 15:19:41 +00:00
Tooru Fujisawa
254ae3eb3a
Bug 1610653 - Part 16: Do not store lexical variable also to global this property in remote/marionette. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D144123
2022-05-30 15:19:41 +00:00
Tooru Fujisawa
5d5801331b
Bug 1610653 - Part 15: Do not store lexical variable also to global this property in remote/cdp. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D144122
2022-05-30 15:19:40 +00:00
Tooru Fujisawa
15b0b687c1
Bug 1610653 - Part 6: Do not use global this property assignment to define global variable in remote/shared. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D144113
2022-05-30 15:19:37 +00:00
Tooru Fujisawa
f42d269cfa
Bug 1610653 - Part 5: Do not use global this property assignment to define global variable in remote/marionette. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D144112
2022-05-30 15:19:37 +00:00
Henrik Skupin
97278a4db7
Bug 1763124 - [webdriver-bidi] Support error handling for browsingContext.navigate. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D146908
2022-05-24 04:38:10 +00:00
Henrik Skupin
18dcc1968e
Bug 1763124 - [remote] Use Deferred instead of a plain Promise for ProgressListener. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D146907
2022-05-24 04:38:09 +00:00
Julian Descottes
42dc9793cb
Bug 1636453 - [cdp] Support Page.navigate for hash navigation r=webdriver-reviewers,whimboo
...
Depends on D146985
The previous changeset changed the implementation of navigatedWithinDocument to
be emitted in the proper scenarios (ie, same document navigation).
However our Page.navigate implementation would still timeout waiting on a
network request if you tried to programmatically perform a hash navigation.
Meaning hash navigation was only working when triggered from the page.
With this changeset, we try to detect hash navigations in Page.navigate and
treat them as "network-less" navigations (same as for non http/https navigations)
Differential Revision: https://phabricator.services.mozilla.com/D147076
2022-05-23 19:06:12 +00:00
Julian Descottes
ee5e9e8926
Bug 1636453 - [cdp] Move Page.navigatedWithinDocument to hashChange r=webdriver-reviewers,whimboo
...
Depends on D146984
This is needed to be forward compatible with new versions of puppeteer
The navigatedWithinDocument event should only have been emitted for same
document navigation (either hashchange or history navigation), but it was
emitted on load.
Differential Revision: https://phabricator.services.mozilla.com/D146985
2022-05-23 19:06:12 +00:00
Julian Descottes
4a2012ba2d
Bug 1632008 - [cdp] Return a randomly generated loaderId for file/data/about navigations r=webdriver-reviewers,whimboo
...
Per CDP documentation, loaderId should be a string so we generate a random uuid here.
To make sure the loaderId will be consistent with other events, we notify the content Page domain
about this loaderId via "_updateLoaderId" which is already used to map browsing context ids to
loader ids.
Differential Revision: https://phabricator.services.mozilla.com/D146984
2022-05-23 19:06:11 +00:00
Alexandra Borovova
0354f52f8e
Bug 1767924 - Handle navigation between urls with the same hashes. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D146918
2022-05-23 08:01:38 +00:00
Julian Descottes
788e418691
Bug 1770195 - [bidi] cleanup method declarations in windowglobal/log.jsm r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D146826
2022-05-19 20:24:32 +00:00
Henrik Skupin
ee5c6046af
Bug 1757701 - [puppeteer] Disable Husky when installing Puppeteer via npm. r=webdriver-reviewers,jdescottes
...
Depends on D145857
Differential Revision: https://phabricator.services.mozilla.com/D145858
2022-05-17 21:52:11 +00:00
Henrik Skupin
4a53582427
Bug 1757701 - [puppeteer] Allow to skip the installation of Husky in the prepare step. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D145857
2022-05-17 21:52:10 +00:00
Alexandra Borovova
c0b8074405
Bug 1763127 - Add support for hash changes for browsingContext.navigate. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D146108
2022-05-17 07:58:23 +00:00
Jonathan Watt
6e5bce1349
Bug 1769388 - Change nsIPrintSettingsService's 'newPrintSettings' attribute to a 'createNewPrintSettings' function. r=bobowen,webdriver-reviewers,whimboo
...
Having an attribute be a constructor is just...wrong.
Differential Revision: https://phabricator.services.mozilla.com/D146383
2022-05-16 11:50:34 +00:00
Cristian Tuns
d2ecccf757
Backed out changeset 400255519b66 (bug 1533058) for causing multiple web platform tests failures CLOSED TREE
2022-05-13 12:14:22 -04:00
Henrik Skupin
8954c02657
Bug 1765727 - [remote] Add explanation comment to error.isWebDriverError() to explain why not using instanceof. r=webdriver-reviewers,jgraham DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D146123
2022-05-13 12:51:25 +00:00
Henrik Skupin
466753ca05
Bug 1533058 - [marionette] "WebDriver:NewWindow" for type "tab" has to open "about:blank". r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D139058
2022-05-13 09:45:18 +00:00
Joel Maher
ab1727d3e3
Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-10 17:41:03 +00:00
Henrik Skupin
6534c7686e
Bug 1726465 - [marionette-client] Add silent restart option on MacOS to Marionette client. r=webdriver-reviewers,jdescottes
...
Depends on D134277
Differential Revision: https://phabricator.services.mozilla.com/D134387
2022-05-10 15:08:20 +00:00
Henrik Skupin
266ffea2f6
Bug 1726465 - [marionette] Don't wait for initial window when new "moz:windowless" capability is set. r=webdriver-reviewers,jdescottes
...
Depends on D142727
Differential Revision: https://phabricator.services.mozilla.com/D134277
2022-05-10 15:08:19 +00:00
Henrik Skupin
e01270a585
Bug 1726465 - [marionette] Improve reliablitly of waitForInitialApplicationWindowLoaded. r=webdriver-reviewers,jdescottes
...
Depends on D134276
Differential Revision: https://phabricator.services.mozilla.com/D142727
2022-05-10 15:08:19 +00:00
Henrik Skupin
64a9901794
Bug 1726465 - [marionette] Initialize Marionette before the first top-level window has been opened. r=webdriver-reviewers,agi,jdescottes,mossop,bytesized
...
Depends on D134275
Differential Revision: https://phabricator.services.mozilla.com/D134276
2022-05-10 15:08:18 +00:00
Henrik Skupin
7a02223f3a
Bug 1726465 - [marionette] Remove handling of GFX sanity window. r=webdriver-reviewers,jdescottes
...
Since Firefox 84 the GFX sanity window is force disabled in
Marionette by a preference (bug 1572687). As such the related
code can be removed.
Depends on D145934
Differential Revision: https://phabricator.services.mozilla.com/D134275
2022-05-10 15:08:18 +00:00
criss
70783e1c31
Backed out 8 changesets (bug 1726465) for causing failures on browser_preferences_usage.js. CLOSED TREE
...
Backed out changeset 4b57310622a0 (bug 1726465)
Backed out changeset 0c6c4a15621a (bug 1726465)
Backed out changeset 081a0f91e0a7 (bug 1726465)
Backed out changeset 60bceb18ff57 (bug 1726465)
Backed out changeset f241655ea876 (bug 1726465)
Backed out changeset 7bc0a3aeb254 (bug 1726465)
Backed out changeset b2f7c710daef (bug 1726465)
Backed out changeset e9b90fd1b4ec (bug 1726465)
2022-05-10 13:59:54 +03:00
Henrik Skupin
c408cc705d
Bug 1726465 - [marionette-client] Add silent restart option on MacOS to Marionette client. r=webdriver-reviewers,jdescottes
...
Depends on D134277
Differential Revision: https://phabricator.services.mozilla.com/D134387
2022-05-10 09:04:05 +00:00
Henrik Skupin
09b795477f
Bug 1726465 - [marionette] Don't wait for initial window when new "moz:windowless" capability is set. r=webdriver-reviewers,jdescottes
...
Depends on D134276
Differential Revision: https://phabricator.services.mozilla.com/D134277
2022-05-10 09:04:05 +00:00
Henrik Skupin
25618e908d
Bug 1726465 - [marionette] Improve reliablitly of waitForInitialApplicationWindowLoaded. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D142727
2022-05-10 09:04:04 +00:00
Henrik Skupin
371d0b1fab
Bug 1726465 - [marionette] Initialize Marionette before the first top-level window has been opened. r=webdriver-reviewers,agi,jdescottes,mossop,bytesized
...
Depends on D134275
Differential Revision: https://phabricator.services.mozilla.com/D134276
2022-05-10 09:04:04 +00:00
Henrik Skupin
d9243cf19e
Bug 1726465 - [marionette] Remove handling of GFX sanity window. r=webdriver-reviewers,jdescottes
...
Since Firefox 84 the GFX sanity window is force disabled in
Marionette by a preference (bug 1572687). As such the related
code can be removed.
Differential Revision: https://phabricator.services.mozilla.com/D134275
2022-05-10 09:04:04 +00:00
Tooru Fujisawa
32bc0bc61e
Bug 1768022 - Use globalThis instead of Cu.getGlobalForObject(this). r=Standard8,webdriver-reviewers,necko-reviewers,whimboo,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D145842
2022-05-10 07:52:01 +00:00
Butkovits Atila
8a2fe790ec
Backed out changeset 1ce55e10b927 (bug 1762991) for causing jit failures. CLOSED TREE
2022-05-10 09:41:32 +03:00
Joel Maher
f33bac2082
Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
...
updated patch for android_hardware_unittests.py, asking for a review- please look at the interdiff to see recent changes.
Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-10 00:41:01 +00:00
Cosmin Sabou
56702f5f93
Backed out 6 changesets (bug 1726465) for causing several browser-chrome failures. CLOSED TREE
...
Backed out changeset 74016350f302 (bug 1726465)
Backed out changeset e7dd44d08121 (bug 1726465)
Backed out changeset 25865657dd3c (bug 1726465)
Backed out changeset f874f1a56157 (bug 1726465)
Backed out changeset 2fea5a6446f3 (bug 1726465)
Backed out changeset 0f96ac926aac (bug 1726465)
2022-05-09 17:01:17 +03:00
Henrik Skupin
2064b538c6
Bug 1726465 - [marionette-client] Add silent restart option on MacOS to Marionette client. r=webdriver-reviewers,jdescottes
...
Depends on D134277
Differential Revision: https://phabricator.services.mozilla.com/D134387
2022-05-09 12:40:56 +00:00
Henrik Skupin
0c6c23d3f0
Bug 1726465 - [marionette] Don't wait for initial window when new "moz:windowless" capability is set. r=webdriver-reviewers,jdescottes
...
Depends on D134276
Differential Revision: https://phabricator.services.mozilla.com/D134277
2022-05-09 12:40:56 +00:00
Henrik Skupin
74ac88493e
Bug 1726465 - [marionette] Improve reliablitly of waitForInitialApplicationWindowLoaded. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D142727
2022-05-09 12:40:56 +00:00
Henrik Skupin
e6b4be97d6
Bug 1726465 - [marionette] Initialize Marionette before the first top-level window has been opened. r=webdriver-reviewers,agi,jdescottes,mossop,bytesized
...
Depends on D134275
Differential Revision: https://phabricator.services.mozilla.com/D134276
2022-05-09 12:40:55 +00:00
Henrik Skupin
dfde22c1b7
Bug 1726465 - [marionette] Remove handling of GFX sanity window. r=webdriver-reviewers,jdescottes
...
Since Firefox 84 the GFX sanity window is force disabled in
Marionette by a preference (bug 1572687). As such the related
code can be removed.
Differential Revision: https://phabricator.services.mozilla.com/D134275
2022-05-09 12:40:55 +00:00
Norisz Fay
40387d8d75
Bug 1766217 - Fix lint failure r=fix CLOSED TREE
2022-05-09 13:33:59 +03:00
Alexandra Borovova
eb159be8ad
Bug 1766217 - Add expectNavigation flag to Webdriver BiDi Navigate. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D145617
2022-05-09 10:13:48 +00:00
Cristian Tuns
9462119251
Backed out changeset 60dcc095f627 (bug 1762991) for causing multiple failures (exit status 2). CLOSED TREE
2022-05-06 14:34:10 -04:00
Henrik Skupin
7b4b73ccde
Bug 1749666 - [remote] Wait for TabSelect when switching tabs. r=webdriver-reviewers,whimboo
...
Depends on D139059
Differential Revision: https://phabricator.services.mozilla.com/D139060
2022-05-06 15:20:30 +00:00
Henrik Skupin
0961e10a66
Bug 1749666 - [marionette] Remove usage of waitForEvent in favor of EventPromise. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D139059
2022-05-06 15:20:30 +00:00
Joel Maher
8e2741c219
Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-06 15:01:22 +00:00
Jonathan Watt
600bd64a9b
Bug 1712104 p1 - Refactor PrintUtils.startPrintWindow for easier reasoning. r=emilio,webdriver-reviewers
...
Having the called-back-for-new-static-doc logic mixed in with the
start-new-print logic was confusing. The new structure, function names
and comments should hopefully make it easier for people unfamiliar with the
various printing code flows to understand and reason about this code. It also
allows the addition of new print-via-system-dialog logic without things getting
completely out of hand.
Differential Revision: https://phabricator.services.mozilla.com/D135451
2022-05-06 14:30:24 +00:00
Alexandra Borovova
7f163ba39c
Bug 1754132 - Use WebProgressListener to detect navigation start when PageLoadStrategy is "none". r=webdriver-reviewers,whimboo,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D144814
2022-05-04 12:29:52 +00:00
Henrik Skupin
20249ab796
Bug 1767387 - [remote-bidi] Also await browser startup finished when creating a newsession from Marionette. r=webdriver-reviewers,jdescottes
...
Previously the check has been added when starting the protocol.
But given that httpd.js gets started already in final-ui-startup
a new BiDi session request from Marionette can add required
path handlers, which results in accepting incoming commands
even with the browser not fully started up yet.
Differential Revision: https://phabricator.services.mozilla.com/D145311
2022-05-04 04:28:49 +00:00
Henrik Skupin
22d7c6a0be
Bug 1767387 - [remote] Don't use sessionstore-windows-restored to determine whenapplication is fully started. r=webdriver-reviewers,jdescottes
...
This observer notification is only available on desktop and for
applications that actually use the feature. This is not the case
for GeckoView and as such it cannot be used.
Instead the notifications "browser-idle-startup-tasks-finished"
and "mail-idle-startup-tasks-finished" can be used. These also
align to our formerly used custom "remote-startup-requested"
notification, which now no longer exists.
Differential Revision: https://phabricator.services.mozilla.com/D145310
2022-05-04 04:28:49 +00:00
Henrik Skupin
63b664b0cd
Bug 1767387 - [remote-cdp] Register handlers for httpd.js before waiting for the initial application window. r=webdriver-reviewers,jdescottes
...
Similar to WebDriver BiDi the JSON handlers for the CDP protocol
should be immediately registered, so that only the announcement
that CDP is enabled gets delayed.
Differential Revision: https://phabricator.services.mozilla.com/D145325
2022-05-04 04:28:48 +00:00
Doug Thayer
04d1c8fd1e
Bug 1756823
- Replace ConsoleAPIStorage observer calls with js array r=nchevobbe,webdriver-reviewers,geckoview-reviewers,agi,jdescottes
...
See the comment in the file explaining it. For a case of logging 100k numbers,
this dropped the time per number from 15 microseconds to 9 with the console
closed, and 55 microseconds to 38 with the console open. I think we could shave
off more with a native approach, but I don't know that it's worth it and it's
much more likely for that to introduce bugs.
Differential Revision: https://phabricator.services.mozilla.com/D143782
2022-05-03 17:21:59 +00:00
Tooru Fujisawa
39b29ad9f4
Bug 1765167 - Part 8: Stop using Cu.import in remote/. r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D144101
2022-05-03 06:32:31 +00:00
Julian Descottes
e1a0f3e103
Bug 1753997 - [remote] Add documentation about remote hosts and origins for RemoteAgent r=webdriver-reviewers,jgraham
...
Depends on D144847
Differential Revision: https://phabricator.services.mozilla.com/D144851
2022-05-02 19:45:48 +00:00
Julian Descottes
87503e11b9
Bug 1753997 - [remote] Enable WebDriver BiDi on all channels r=webdriver-reviewers,whimboo
...
Depends on D144984
Differential Revision: https://phabricator.services.mozilla.com/D144846
2022-05-02 19:45:47 +00:00
Henrik Skupin
dcd3dae49f
Bug 1719505 - [remote] Add CDP and WebDriver BiDi tests for navigator.webdriver. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D144984
2022-04-29 17:38:14 +00:00
Henrik Skupin
4d7a8c9ac8
Bug 1719505 - [remote] Add Remote Agent class for content processes. r=webdriver-reviewers,jdescottes
...
When accessing the nsIRemoteAgent interface from a content
process the running state cannot be determined without
communicating with the Remote Agent class from the parent
process.
Similar to Marionette this patch adds a dedicated class of
the Remote Agent for content processes, and exports an
instance of the appropriate class depending on in which
process the Remote Agent gets created in.
Differential Revision: https://phabricator.services.mozilla.com/D144983
2022-04-29 17:38:14 +00:00
Henrik Skupin
78f7bbce86
Bug 1719505 - [remote] Unify Remote Agent's running state with Marionette. r=webdriver-reviewers,mossop,smaug,keeler,jdescottes
...
Both components are related to WebDriver and should expose the
same flag for their running state.
Differential Revision: https://phabricator.services.mozilla.com/D144982
2022-04-29 17:38:14 +00:00
Henrik Skupin
19c9ee78f9
Bug 1719505 - [remote] Remove no longer used methods from Remote Agent interface. r=webdriver-reviewers,jdescottes
...
Both methods have been removed via bug 1717899 and can no
longer be used.
Differential Revision: https://phabricator.services.mozilla.com/D144980
2022-04-29 17:38:13 +00:00
Butkovits Atila
fc54f60211
Backed out 6 changesets (bug 1719505) for causing failures at browser_Troubleshoot.js. CLOSED TREE
...
Backed out changeset 915b5331f6b2 (bug 1719505)
Backed out changeset 8df69b3445e5 (bug 1719505)
Backed out changeset 674fe8523cf6 (bug 1719505)
Backed out changeset f40c2fe6872d (bug 1719505)
Backed out changeset 3e3df2a6b1e3 (bug 1719505)
Backed out changeset 621024810236 (bug 1719505)
2022-04-29 17:32:32 +03:00
Henrik Skupin
7ef2a5fe1d
Bug 1719505 - [remote] Add CDP and WebDriver BiDi tests for navigator.webdriver. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D144984
2022-04-29 11:55:43 +00:00
Henrik Skupin
dba3b8b30a
Bug 1719505 - [remote] Add Remote Agent class for content processes. r=webdriver-reviewers,jdescottes
...
When accessing the nsIRemoteAgent interface from a content
process the running state cannot be determined without
communicating with the Remote Agent class from the parent
process.
Similar to Marionette this patch adds a dedicated class of
the Remote Agent for content processes, and exports an
instance of the appropriate class depending on in which
process the Remote Agent gets created in.
Differential Revision: https://phabricator.services.mozilla.com/D144983
2022-04-29 11:55:43 +00:00
Henrik Skupin
8a69201f2e
Bug 1719505 - [remote] Unify Remote Agent's running state with Marionette. r=webdriver-reviewers,mossop,smaug,keeler,jdescottes
...
Both components are related to WebDriver and should expose the
same flag for their running state.
Differential Revision: https://phabricator.services.mozilla.com/D144982
2022-04-29 11:55:43 +00:00
Henrik Skupin
72288a3f87
Bug 1719505 - [remote] Remove no longer used methods from Remote Agent interface. r=webdriver-reviewers,jdescottes
...
Both methods have been removed via bug 1717899 and can no
longer be used.
Differential Revision: https://phabricator.services.mozilla.com/D144980
2022-04-29 11:55:42 +00:00
Henrik Skupin
12f8ed22e1
Bug 1766802 - [remote] Delay startup of WebDriver BiDi until all initial application windows have been restored. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D144963
2022-04-28 16:38:25 +00:00
Julian Descottes
668c1c61e7
Bug 1759559 - [webdriver-bidi] Implement browsingContext.create command r=webdriver-reviewers,whimboo
...
Depends on D144453
Differential Revision: https://phabricator.services.mozilla.com/D143648
2022-04-28 08:27:05 +00:00
Julian Descottes
43ad9bf453
Bug 1759559 - [remote] Add focus and window parameters to TabManager.addTab r=webdriver-reviewers,whimboo
...
Update the addTab API to support BiDi's browsingContext.create, including the context argument
Differential Revision: https://phabricator.services.mozilla.com/D144453
2022-04-28 08:27:04 +00:00
Henrik Skupin
dcdabedb93
Bug 1717899 - [remote] Extend the lifetime of the Remote Agent to the Firefox session. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D144338
2022-04-27 05:43:23 +00:00
Alexandra Borovova
3511ca17e1
Bug 1764521 - Add pending Promise check in Navigation tests. r=webdriver-reviewers,jdescottes,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D144449
2022-04-26 12:47:35 +00:00
Henrik Skupin
72eb782161
Bug 1759169 - [remote] Initialize the Remote Agent before the first top-level window has been opened. r=webdriver-reviewers,geckoview-reviewers,jdescottes,agi,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D143380
2022-04-25 17:20:43 +00:00
Henrik Skupin
04defaf0a4
Bug 1759169 - [remote] Add DeferredPromise helper. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D140368
2022-04-25 17:20:43 +00:00
Henrik Skupin
06b4c49953
Bug 1759169 - [puppeteer] Also kill Firefox when temporary profile is used. r=webdriver-reviewers,jdescottes
...
Depends on D144027
Differential Revision: https://phabricator.services.mozilla.com/D144028
2022-04-25 17:20:42 +00:00
Henrik Skupin
ed733b2679
Bug 1759169 - [puppeteer] Use separate tests for "Puppeteer.launch should filter out ignored default arguments". r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D144027
2022-04-25 17:20:42 +00:00
ui.sayuree
b68c90a4d2
Bug 1666456 - [remote] added tests to Assert.positiveNumber. r=whimboo,jdescottes,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D144315
2022-04-22 08:15:49 +00:00
Alexandra Borovova
c972e94585
Bug 1761443 - Remove unneeded getBrowserIdForBrowsingContext. r=jdescottes,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D144283
2022-04-21 14:52:43 +00:00
Henrik Skupin
9e73783530
Bug 1722090 - [remote] Move useful browser chrome tests for Remote Agent to wdspec. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D144213
2022-04-21 12:13:14 +00:00
Alexandra Borovova
e97bcb6bf6
Bug 1760900 - Ensure a correct error message when trying to call an unknown internal command. r=jdescottes,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D144021
2022-04-21 11:49:29 +00:00
Henrik Skupin
1fdc18969d
Bug 1764740
- [wdspec] Rename "parent" parameter of "browsingContext.getTree" to "root". r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D143733
2022-04-19 15:13:16 +00:00
Julian Descottes
5f1e21ad97
Bug 1764804 - [marionette] Check embedder element of content browsing contexts in assert.open r=webdriver-reviewers,whimboo
...
For content browsingContexts, assert.open should check if they are connected to a valid embedder element
Differential Revision: https://phabricator.services.mozilla.com/D143772
2022-04-19 11:55:19 +00:00
Tooru Fujisawa
6b7683af58
Bug 1764688 - Fix this variable in MessageHandlerFrameActor.register. r=jdescottes,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D143713
2022-04-14 23:08:01 +00:00
ui.sayuree
92dd774844
Bug 1702491 - remove redundant checks for QI. r=mkaply,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D143732
2022-04-14 20:20:38 +00:00
Henrik Skupin
2257a994e2
Bug 1756532 - [marionette] waitForInitialNavigationCompleted has to wait for a potential page load after about:blank. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D143181
2022-04-13 09:53:14 +00:00
Alexandra Borovova
ad907ed4fb
Bug 1723137: Create a shared module for PDF creation. r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D143449
2022-04-12 13:26:11 +00:00
Henrik Skupin
7960d0832b
Bug 1759998 - [remote] Only accept system-local loopback WebSocket connections for clients. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D143396
2022-04-12 04:31:08 +00:00
Julian Descottes
b381342993
Bug 1673104 - [puppeteer] Synchronize page.spec.ts fix from puppeteer PR #8208 r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D143179
2022-04-07 20:55:05 +00:00
Julian Descottes
07b6609d7d
Bug 1730642 - [webdriver-bidi] Implement a basic browsingContext.navigate command r=webdriver-reviewers,whimboo
...
Depends on D142514
Differential Revision: https://phabricator.services.mozilla.com/D141583
2022-04-07 13:27:25 +00:00
Julian Descottes
e3c22ecafc
Bug 1730642 - [remote] Extract internal event logic to a dedicated class r=webdriver-reviewers,whimboo
...
Depends on D142513
Differential Revision: https://phabricator.services.mozilla.com/D142514
2022-04-07 13:27:25 +00:00
Julian Descottes
3982c53c50
Bug 1730642 - [remote] Emit internal MessageHandler events with their original name r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D142513
2022-04-07 13:27:24 +00:00
Kagami Sascha Rosylight
1409f37ca3
Bug 1703953 - Part 2: Apply mozilla/use-isInstance rules for .jsm files r=webdriver-reviewers,pip-reviewers,mhowell,Gijs,whimboo
...
This replaces all `instanceof` uses for DOM interfaces, since the operator in priviliged context works same as .isInstance().
Differential Revision: https://phabricator.services.mozilla.com/D141785
2022-04-06 11:57:57 +00:00
Emilio Cobos Álvarez
f2c3712011
Bug 1763158 - Make WPT reftests honor the color-scheme content-override pref again. r=jgraham,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D142966
2022-04-05 20:22:03 +00:00
Henrik Skupin
0d5a0d6a98
Bug 1759994 - [remote] Use command line arguments for allowed hosts and origins for Remote Agent. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D142188
2022-04-02 11:47:16 +00:00
Henrik Skupin
3f863ffa97
Bug 1759994 - [remote] Use private properties for Remote Agent class. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D142187
2022-04-02 11:47:15 +00:00
Csoregi Natalia
adf09a8219
Backed out 4 changesets (bug 1761436, bug 1759994) for causing remote failures. CLOSED TREE
...
Backed out changeset f75298e767bb (bug 1759994)
Backed out changeset edfc642ff2f3 (bug 1759994)
Backed out changeset 3cce6dda3252 (bug 1759994)
Backed out changeset d0cc26a88d21 (bug 1761436)
2022-04-01 18:23:55 +03:00