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
CanadaHonk
3bf32814f0
Bug 1811290 - [cdp] Implement Target.getBrowserContexts r=webdriver-reviewers,whimboo
...
Depends on D168203
Differential Revision: https://phabricator.services.mozilla.com/D167293
2023-02-03 16:07:36 +00:00
Henrik Skupin
4ef6f23775
Bug 1813981 - [geckodriver] Don't disable Fission when `moz:debuggerAddress` is used. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D168369
2023-01-31 19:25:17 +00:00
Gijs Kruitbosch
96480e22fb
Bug 1795255 - bustage fix: fix up some more imports that shouldn't have been removed because of confused environment conflicts. CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D168379
2023-01-31 13:07:58 +00:00
Gijs Kruitbosch
01261997d7
Bug 1795255 - autofix duplicate imports in tests under docshell, dom, layout, security, testing, toolkit and widget, r=Standard8,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D167715
2023-01-31 11:48:42 +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
Kagami Sascha Rosylight
d5986c606b
Bug 1689565 - Part 2: Tweak marionette hack to allow `notifications` r=jgraham,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D167976
2023-01-30 12:50:51 +00:00
Alexandra Borovova
9d1c945ad9
Bug 1811232 - [puppeteer] Add CI job to run Puppeteer with BiDi protocol. r=webdriver-reviewers,jgraham,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D167789
2023-01-27 16:50:46 +00:00
Alexandra Borovova
dce954d449
Bug 1797744 - [puppeteer] Remove mention of --subset argument from the documentation. r=webdriver-reviewers,jdescottes
...
Depends on D167407
Differential Revision: https://phabricator.services.mozilla.com/D167408
2023-01-27 16:50:46 +00:00
Alexandra Borovova
7e919228b0
Bug 1797744 - [puppeteer] Sync vendored puppeteer to v19.6.0. r=webdriver-reviewers,jdescottes,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D167407
2023-01-27 16:50:45 +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
Henrik Skupin
e26e58a3ab
Bug 1764594 - [marionette] Unwaive XRays for Node objects before checking for the element or shadow root type. r=webdriver-reviewers,jdescottes
...
Without unwaiving XRays first our checks for at least isShadowRoot
will fail because "containingShadowRoot" will not be available.
Differential Revision: https://phabricator.services.mozilla.com/D167912
2023-01-26 21:38:26 +00:00
Henrik Skupin
f8b3f248f1
Bug 1691683 - [marionette] Remove unused WebElementEventTarget class. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D167688
2023-01-25 09:12:23 +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
CanadaHonk
7d0f445be8
Bug 1811494 - Fix running Puppeteer tests on Windows erroring out r=webdriver-reviewers,Sasha,jdescottes
...
Fixed regression which caused a Python error preventing Puppeteer tests
on Windows being ran.
Differential Revision: https://phabricator.services.mozilla.com/D167386
2023-01-20 15:48:55 +00:00
CanadaHonk
8e0454bf81
Bug 1810230
- [cdp] Update JSONHandler to set "/json" as alias for "/json/list" r=webdriver-reviewers,whimboo
...
Added /json as an alias for /json/list endpoint in the HTTP routes.
Also added tests for /json/list generally.
Differential Revision: https://phabricator.services.mozilla.com/D166829
2023-01-20 14:47:15 +00:00
CanadaHonk
70ce66342c
Bug 1810253 - [cdp] Support trailing slashes for supported JSONHandler endpoints r=webdriver-reviewers,whimboo
...
Added support for trailing slashes when using HTTP endpoints
(eg: /json/protocol/), previously they would return 404, not conforming
with CDP docs / expected result. Also added tests for such cases.
Depends on D167048
Differential Revision: https://phabricator.services.mozilla.com/D166873
2023-01-20 14:47:15 +00:00
CanadaHonk
bedadc5cd8
Bug 1810726 - [cdp] Fix JSONHandler for "/json/list" to not include the main process target. r=webdriver-reviewers,whimboo
...
The list given by /json/list should not include the main process target
(/json/version should be used instead), Chromium does the same.
General tests for /json/list including using this fixed behavior are
added by the commit after to avoid having to fix newly added tests.
Differential Revision: https://phabricator.services.mozilla.com/D167048
2023-01-20 14:47:14 +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
Barret Rennie
d4eecd8ee4
Bug 1724687 - Remove osfile.jsm usage from remote/cdp r=webdriver-reviewers,nika,whimboo
...
This patch replaces the internals of the StreamRegistry et al to use a new
Stream class as the stream type. Under the hood, it delegates the IO to
IOUtils.
In the case where a PDF's data is returned directly (i.e., they don't request a
stream), we write the data to an nsIStorageStream in memory and hand over the
contents without touching the disk.
Differential Revision: https://phabricator.services.mozilla.com/D163372
2023-01-18 18:05:38 +00:00
Alexandra Borovova
de7723b023
Bug 1797723 - [puppeteer] Update vendor documentation. r=webdriver-reviewers,whimboo
...
Depends on D166651
Differential Revision: https://phabricator.services.mozilla.com/D166652
2023-01-17 10:42:50 +00:00
Alexandra Borovova
d115e24d80
Bug 1797723 - [puppeteer] Sync vendored puppeteer to v18.0.0. r=webdriver-reviewers,whimboo,jdescottes
...
Depends on D166650
Differential Revision: https://phabricator.services.mozilla.com/D166651
2023-01-17 10:42:50 +00:00
Alexandra Borovova
b306cf161f
Bug 1806681 - [puppeteer] Make "mach puppeteer-test" clean up before setting up puppeteer. r=webdriver-reviewers,jdescottes,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D166650
2023-01-17 10:42:49 +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
Mark Banner
d691c51a0d
Bug 1808173 - Convert prompts imports to direct ES imports. r=Gijs,webdriver-reviewers,necko-reviewers,application-update-reviewers,credential-management-reviewers,valentin,whimboo,dimi,bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D165794
2023-01-16 13:32:20 +00:00
Henrik Skupin
9d9a32281c
Bug 1809105 - [cdp] Increase TIMEOUT_MULTIPLIER for browser chrome tests for debug, ASAN/TSAN, and CCOV builds. r=webdriver-reviewers,Sasha,jdescottes
...
Depends on D166826
Differential Revision: https://phabricator.services.mozilla.com/D166827
2023-01-16 11:23:07 +00:00
Henrik Skupin
8647837ae8
Bug 1734312 - [cdp] Request longer timeout for browser_lifecycleEvent.js. r=webdriver-reviewers,Sasha,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D166826
2023-01-16 11:23:06 +00:00
CanadaHonk
95c057ba8f
Bug 1809712 - [cdp] Fix /json/version reporting incorrect Protocol-Version r=webdriver-reviewers,whimboo
...
The HTTP endpoint /json/version reports Protocol-Version as 1.0, when it
should be 1.3 (as Browser.getVersion correctly reports already). Also
updates test which validates endpoint.
Differential Revision: https://phabricator.services.mozilla.com/D166583
2023-01-12 13:05:05 +00:00
CanadaHonk
0fb5e948b4
Bug 1809051 - [cdp] Browser.getVersion: compute jsVersion and add tests r=webdriver-reviewers,whimboo
...
Compute jsVersion using Firefox version instead of using a hardcoded
value. Also added relevant tests where existing version checks are.
Differential Revision: https://phabricator.services.mozilla.com/D166574
2023-01-12 13:05:04 +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
ec379681a7
Bug 1775791 - [cdp] Wait for progress listener to be ready before starting requests in browser_setCacheDisabled.js r=webdriver-reviewers,whimboo
...
We should wait for the progress listener to be setup otherwise we are racing against the ContentTask.spawn
Differential Revision: https://phabricator.services.mozilla.com/D166577
2023-01-12 09:02:59 +00:00
Sandor Molnar
809e1ecfd6
Backed out changeset 11c0626c2b80 (bug 1724687) for causing xpc failures in test_StreamRegistry
2023-01-11 20:26:39 +02:00
Barret Rennie
d0ff8143f8
Bug 1724687 - Remove osfile.jsm usage from remote/cdp r=webdriver-reviewers,nika,whimboo
...
This patch replaces the internals of the StreamRegistry et al to use a new
Stream class as the stream type. Under the hood, it delegates the IO to
IOUtils.
In the case where a PDF's data is returned directly (i.e., they don't request a
stream), we write the data to an nsIStorageStream in memory and hand over the
contents without touching the disk.
Differential Revision: https://phabricator.services.mozilla.com/D163372
2023-01-11 16:58:04 +00:00
Henrik Skupin
5547a16d20
Bug 1790378 - [webdriver-bidi] Added timestamp to navigation info. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D166381
2023-01-10 07:13:40 +00:00
Henrik Skupin
3d48794987
Bug 1802284 - [marionette] Added support for (de-)serialization of HTMLCollection and NodeList objects. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D166336
2023-01-10 07:12:34 +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
de3f1f2823
Bug 1794078 - [marionette] Make "seen" list of objects in "clone an object" compliant to the WebDriver spec. r=webdriver-reviewers,jgraham,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D166034
2023-01-06 16:31:24 +00:00
Henrik Skupin
7feb740874
Bug 1794078 - [marionette] Refactor evaluate's "fromJSON" and "toJSON" methods. r=jdescottes,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D166033
2023-01-06 16:31:23 +00:00
Dennis Schubert
3f6d8d1e66
Bug 1795871 - Part 2: Make exceptionDetails' lineNumber and columnNumber zero-based. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D163329
2023-01-03 19:52:50 +00:00
Dennis Schubert
542774f264
Bug 1795871 - Part 1: Ensure exceptionDetails.scriptId is a string. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D163328
2023-01-03 19:52:49 +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
Henrik Skupin
ffe403d95c
Bug 1692468 - [marionette] Refactor starting and stopping of observing windows. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D164741
2023-01-01 20:24:01 +00:00
Henrik Skupin
2be3823511
Bug 1692468 - [marionette] Align calling conventions for fromJSON and toJSON. r=webdriver-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D151256
2023-01-01 20:23:59 +00:00
Marco Castelluccio
f69e697461
Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Mark Banner
8ff997068a
Bug 1806306 - Convert AsyncShutdown imports to direct ES imports. r=mak,webdriver-reviewers,application-update-reviewers,bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D164981
2022-12-23 12:37:06 +00:00
Henrik Skupin
0e51bbe007
Bug 1792524 - [WebDriver BiDi] Add support for serialization and deserialization of generic platform objects. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D165421
2022-12-23 12:35:34 +00:00