Граф коммитов

1452 Коммитов

Автор SHA1 Сообщение Дата
CanadaHonk 6805974fcc Bug 1702860 - [cdp] Fix ProtocolError on returning a rejected Error with awaitPromise r=webdriver-reviewers,whimboo
Fixed an internal error causing a ProtocolError when a Promise ran using
Runtime.evaluate/Runtime.callFunctionOn and rejects with an Error(),
while using the awaitPromise option. Also added tests for such cases.

With Promises, rejections should be also made into debuggee values, not
just successful resolutions.

Differential Revision: https://phabricator.services.mozilla.com/D167496
2023-03-03 08:46:23 +00:00
Julian Descottes f57b9920af Bug 1819320 - [cdp] Use waitForNewTab to monitor the load of invalid URLs in browser_createTarget.js r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D171316
2023-03-01 11:05:57 +00:00
Alexandra Borovova 8d4f57a4d7 Bug 1806810 - [bidi] Implement "browsingContext.print" as PDF command. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D170353
2023-03-01 08:18:54 +00:00
Henrik Skupin db752eaf4c Bug 1819029 - [marionette] Fix returning response wrapped in "value" field. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D171084
2023-02-28 20:55:55 +00:00
Julian Descottes 621bd2b0a3 Bug 1819120 - [bidi] Migrate test_RemoteValue.js to a browser mochitest r=webdriver-reviewers,whimboo
Depends on D170809
Migrate the test to a browser mochitest and start testing deserialization in WindowRealm

Differential Revision: https://phabricator.services.mozilla.com/D171107
2023-02-28 13:24:18 +00:00
CanadaHonk 3236c91a7b Bug 1817258 - [cdp] Support url option for Target.createTarget r=webdriver-reviewers,whimboo
Added support for url option for Target.createTarget (required).
Also added new tests for Target.createTarget as full dedicated tests
did not exist beforehand, and tweaked some internal usage without url.

Differential Revision: https://phabricator.services.mozilla.com/D171079
2023-02-28 10:47:32 +00:00
Mark Banner 55bba8e918 Bug 1819019 - Update consumers of services/common to import ES modules directly. r=markh,webdriver-reviewers,extension-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D171055
2023-02-28 10:11:55 +00:00
Frazier Odhiambo cad57921d1 Bug 1810101 - [remote] Use add_task() instead of add_test() for xpcshell tests. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D170809
2023-02-28 07:32:29 +00:00
CanadaHonk 22ee5824f9 Bug 1625417 - [cdp] Use number as nodeId for DOM methods r=webdriver-reviewers,jdescottes
Use a number as nodeId instead of a UUID string as per CDP spec.
Also fixed tests expecting number to be an invalid type and string to be
valid instead.

Differential Revision: https://phabricator.services.mozilla.com/D167316
2023-02-28 06:37:24 +00:00
CanadaHonk 62060b7fed Bug 1744925 - [marionette] Fix extra change event with WebDriver:ElementClear for content editables r=webdriver-reviewers,whimboo
Fixed extra change event being emitted when WebDriver:ElementClear is
called for content editable elements.

Differential Revision: https://phabricator.services.mozilla.com/D170282
2023-02-27 08:30:52 +00:00
Henrik Skupin 7eddaf2fd1 Bug 1817934 - [puppeteer] Update test expection data. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D170800
2023-02-25 10:14:26 +00:00
Henrik Skupin 33c84b1801 Bug 1817934 - [puppeteer] Vendor Puppeteer v19.7.2. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D170799
2023-02-25 10:14:26 +00:00
Henrik Skupin 13840898bb Bug 1817934 - [puppeteer] Update Puppeteer vendoring documentation. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D170798
2023-02-25 10:14:25 +00:00
CanadaHonk ff90131cd0 Bug 1808688 - [bidi] Remove before request sent map spec assert r=jdescottes,webdriver-reviewers
Removed the "before request sent map" spec assert which is now unneeded
as to document invariants in the implementation.

Also updated WPT test expectations.

Differential Revision: https://phabricator.services.mozilla.com/D170335
2023-02-21 21:25:35 +00:00
Alexandra Borovova a93f88bfa8 Bug 1803392 - Remove usage of temporary file when printing to PDF. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D169795
2023-02-17 13:54:07 +00:00
Marian-Vasile Laza 8c0dd89bbe Backed out changeset b92093717dcd (bug 1803392) for wp failures on block-page-break-inside-avoid-1-print.html. 2023-02-16 18:20:19 +02:00
Alexandra Borovova 689922e0fa Bug 1803392 - Remove usage of temporary file when printing to PDF. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D169795
2023-02-16 14:04:23 +00:00
Alexandra Borovova c98bd43a44 Bug 1806465 - [bidi] Implement "script.removePreloadScript" command. r=webdriver-reviewers,jdescottes
Depends on D169420

Differential Revision: https://phabricator.services.mozilla.com/D169421
2023-02-16 12:45:33 +00:00
Alexandra Borovova 9c89992359 Bug 1806420 - [bidi] Implement "script.addPreloadScript" command. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D169420
2023-02-16 12:45:32 +00:00
Gijs Kruitbosch 9d7452a247 Bug 1810141 - update consumers of CanonicalBrowsingContext.loadURI to use fixup or pass a URI object if they have it, r=mak,webdriver-reviewers,whimboo
Depends on D168389

Differential Revision: https://phabricator.services.mozilla.com/D168390
2023-02-13 23:50:38 +00:00
Cristina Horotan 5f4356e527 Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE
Backed out changeset 8781a0d1254d (bug 1810141)
Backed out changeset 131037295784 (bug 1810141)
Backed out changeset 3852fbe290f4 (bug 1810141)
Backed out changeset 118f131a524a (bug 1810141)
Backed out changeset ab5d76846e10 (bug 1810141)
Backed out changeset dce3aa683445 (bug 1810141)
Backed out changeset 4dc41d90dbb3 (bug 1810141)
Backed out changeset 50b57ba1a061 (bug 1810141)
Backed out changeset 569de94781e4 (bug 1810141)
2023-02-13 16:05:30 +02:00
Gijs Kruitbosch e460aa10f3 Bug 1810141 - update consumers of CanonicalBrowsingContext.loadURI to use fixup or pass a URI object if they have it, r=mak,webdriver-reviewers,whimboo
Depends on D168389

Differential Revision: https://phabricator.services.mozilla.com/D168390
2023-02-13 12:55:22 +00:00
CanadaHonk e8cfba51b6 Bug 1680780 - [cdp] Set correct attached status in TargetInfo r=webdriver-reviewers,whimboo
Now checks if the target is attached by going through all sessions in
the CDP connection. Also updated and added tests.

Differential Revision: https://phabricator.services.mozilla.com/D167322
2023-02-10 19:25:00 +00:00
Alexandra Borovova 231b3e98e0 Bug 1810687 - [messagehandler] Group SessionData initial updates by moduleName and category. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D169312
2023-02-10 08:12:07 +00:00
Henrik Skupin e503a97720 Bug 1815838 - [cdp] Split-off return by value tests from browser_evaluate.js into a new file. r=webdriver-reviewers,Sasha,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D169291
2023-02-10 08:03:24 +00:00
CanadaHonk 2899a87902 Bug 1815221 - [cdp] Implement SystemInfo.getProcessInfo r=webdriver-reviewers,whimboo
Implement SystemInfo.getProcessInfo and start SystemInfo domain.
Also added new tests.

Differential Revision: https://phabricator.services.mozilla.com/D168950
2023-02-09 20:22:47 +00:00
Henrik Skupin eac20afa3f Bug 1794552 - [marionette] Fix Bugzilla components for Marionette related files. r=webdriver-reviewers,Sasha,jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D169201
2023-02-09 19:38:39 +00:00
CanadaHonk f82840d705 Bug 1810812 - [cdp] Implement filter option for Target.getTargets r=webdriver-reviewers,whimboo
Implement the filter option for Target.getTargets, by creating an
internal function for handling TargetFilters generally so support can be
added for other methods easier later. Also added relevant tests.

Differential Revision: https://phabricator.services.mozilla.com/D167172
2023-02-09 12:11:06 +00:00
Henrik Skupin eaf8dde117 Bug 1786299 - [cdp] Values including a Symbol should not be serialized. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D169056
2023-02-08 13:39:52 +00:00
Henrik Skupin e91a39e2be Bug 1786299 - [cdp] Use custom error message unknown contexts and cyclic objects for serialization by value. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D169055
2023-02-08 13:39:52 +00:00
Alexandra Borovova 96f643b327 Bug 1806413 - [bidi] Add scheduling of preloaded scripts for execution. r=webdriver-reviewers,whimboo,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D168543
2023-02-03 18:43:26 +00:00
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
Valentin Gosu df13492ee4 Bug 1596845 - Make DNSServices available as `Services.dns` r=necko-reviewers,webdriver-reviewers,kershaw
Depends on D164347

Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-23 09:26:17 +00:00
Marian-Vasile Laza 56b22ee0ba Backed out 9 changesets (bug 1596845) for causing xpcshell failures on test_trr_enterprise_policy.js. CLOSED TREE
Backed out changeset 231acfc052bb (bug 1596845)
Backed out changeset 7d02dad4d720 (bug 1596845)
Backed out changeset b0449eec2671 (bug 1596845)
Backed out changeset 5cd033c9ef7c (bug 1596845)
Backed out changeset 98d583f1d19e (bug 1596845)
Backed out changeset b78bc0049605 (bug 1596845)
Backed out changeset 88919aaff89b (bug 1596845)
Backed out changeset f4adb3e7b8e1 (bug 1596845)
Backed out changeset b171f7ac0b40 (bug 1596845)
2022-12-23 09:21:39 +02:00
Valentin Gosu 6ca2987fe1 Bug 1596845 - Make DNSServices available as `Services.dns` r=necko-reviewers,webdriver-reviewers,kershaw
Depends on D164347

Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-23 01:20:03 +00:00
Sandor Molnar cfe9cd7773 Backed out changeset 631e22733b8b (bug 1724687) for causing multiple failures. CLOSED TREE 2022-12-23 02:48:55 +02:00
Barret Rennie 8e681217e2 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
2022-12-23 00:06:26 +00:00
Sandor Molnar 56d5efdcae Backed out 9 changesets (bug 1596845) for causing mochitest failures in browser/base/content/test/about/browser_aboutCertError_telemetry.js
Backed out changeset eb1e34c3041f (bug 1596845)
Backed out changeset af6d41439c60 (bug 1596845)
Backed out changeset f1447dd8df04 (bug 1596845)
Backed out changeset a383f2bbcaae (bug 1596845)
Backed out changeset 950c66dd6133 (bug 1596845)
Backed out changeset ab300239fd69 (bug 1596845)
Backed out changeset 8e1fe024b680 (bug 1596845)
Backed out changeset 80e5048d1f35 (bug 1596845)
Backed out changeset b14a4910d73b (bug 1596845)
2022-12-23 00:56:35 +02:00
Valentin Gosu ff04cde9bd Bug 1596845 - Make DNSServices available as `Services.dns` r=necko-reviewers,webdriver-reviewers,kershaw
Depends on D164347

Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-22 21:16:07 +00:00
Alexandra Borovova 7b40f31aa5 Bug 1741834 - [messagehandler] Support transactions when using sessionData. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D163957
2022-12-21 13:31:36 +00:00
Danny Colin 980244d030 Bug 1796797 - Convert toolkit/components/contextualidentity JSM modules to ESMs r=baku,webdriver-reviewers,extension-reviewers,settings-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D159945
2022-12-21 08:14:05 +00:00
Julian Descottes 7d99823762 Bug 1790368 - [bidi] Implement basic support for network.beforeRequestSent event r=webdriver-reviewers,Sasha,whimboo
Depends on D164147

Differential Revision: https://phabricator.services.mozilla.com/D162037
2022-12-16 10:53:50 +00:00
Stanca Serban 501e1a40b6 Backed out 4 changesets (bug 1790368) for causing mochitests failures in browser_networkobserver_invalid_constructor.js. CLOSED TREE
Backed out changeset b04c179c53fb (bug 1790368)
Backed out changeset a50e9467f30b (bug 1790368)
Backed out changeset 8b438fe8bd72 (bug 1790368)
Backed out changeset 6df64c2927f1 (bug 1790368)
2022-12-16 12:11:47 +02:00
Julian Descottes 3f84a23c66 Bug 1790368 - [bidi] Implement basic support for network.beforeRequestSent event r=webdriver-reviewers,Sasha,whimboo
Depends on D164147

Differential Revision: https://phabricator.services.mozilla.com/D162037
2022-12-16 09:30:39 +00:00
John Bieling 8fd81748ad Bug 1797914 - Remove usage of mail-delayed-startup-finished. r=whimboo,webdriver-reviewers,mkmelin,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D160607
2022-12-15 15:30:43 +00:00
Julian Descottes 38a84730f7 Bug 1742607 - Add initial documentation for MessageHandler architecture r=webdriver-reviewers,whimboo,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D164393
2022-12-14 10:17:47 +00:00
Makoto Kato e210695886 Bug 1742752 - GeckoDriver.setScreenOrientation should use Screen Orientation API. r=webdriver-reviewers,whimboo
`mozLockOrientation` is deprecated and it always returns `false`.
We should use standard API (it is still turned off as default).

Differential Revision: https://phabricator.services.mozilla.com/D161991
2022-12-13 11:49:14 +00:00
James Graham 44d9075248 Bug 1800086 - Implement WebDriver BiDi capture_screenshot command, r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D161803
2022-12-12 13:44:51 +00:00
James Graham 5e0b15ac19 Bug 1800086 - Move capture.sys.mjs to shared module, r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D161801
2022-12-12 13:44:50 +00:00
Alexandra Borovova f374a2347c Bug 1723102 - [bidi] Implement full support for session.subscribe and session.unsubscribe commands. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D161307
2022-12-08 08:44:58 +00:00
Henrik Skupin 17595c173a Bug 1770731 - [remote] Add support for serialization of platform objects of type Node. r=webdriver-reviewers,jdescottes,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D163004
2022-12-08 07:22:53 +00:00
Julian Descottes dda315bf6a Bug 1804219 - [remote] Clarify where to add remote preferences r=webdriver-reviewers,whimboo,Sasha
Depends on D163891

Differential Revision: https://phabricator.services.mozilla.com/D163922
2022-12-07 09:07:32 +00:00