CanadaHonk
5cf1dabcc0
Bug 1811049 - [cdp] Implement filter option for Target.setDiscoverTargets r=webdriver-reviewers,whimboo
...
Implement the filter option for Target.setDiscoverTargets, using
internal function created previously.
Also rewrote tests for Target.setDiscoverTargets, and some internal test
helpers.
Tweaked Puppeteer to accommodate for these changes, now using a
filter for Target.setDiscoverTargets like Chrome.
Upstream: https://github.com/puppeteer/puppeteer/pull/9693
Differential Revision: https://phabricator.services.mozilla.com/D167209
2023-04-06 15:25:08 +00:00
Julian Descottes
c0f871815e
Bug 1826366
- [remote] Manual fixes for valid-jsdoc in remote r=webdriver-reviewers,whimboo
...
Depends on D174738
Differential Revision: https://phabricator.services.mozilla.com/D174739
2023-04-05 16:25:48 +00:00
Julian Descottes
7ccbffb9f7
Bug 1826366
- [remote] Apply lint --fix for valid-jsdoc in remote r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D174738
2023-04-05 16:25:47 +00:00
CanadaHonk
3dc5d98c1a
Bug 1679887 - [cdp] Emit past console messages on Runtime.enable r=jdescottes
...
Emit past console messages with Runtime.consoleAPICalled as
Runtime.enable is ran. Also added new test.
Depends on D170131
Differential Revision: https://phabricator.services.mozilla.com/D170136
2023-03-16 20:25:31 +00:00
CanadaHonk
366960831d
Bug 1679981 - [cdp] Implement stackTrace for Runtime.consoleAPICalled r=webdriver-reviewers,whimboo
...
Implemented stackTrace for Runtime.consoleAPICalled. Added new tests
covering it as well. Tweaked internals for Runtime to have separate
functions for creating stack traces for console and exception types,
as they differ unfortunately.
Differential Revision: https://phabricator.services.mozilla.com/D170131
2023-03-16 20:25:30 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gijs Kruitbosch
38d4b2f917
Bug 1803158 - convert session restore consumers to reference the sys.mjs files instead, r=webdriver-reviewers,perftest-reviewers,extension-reviewers,credential-management-reviewers,Standard8,sgalich,whimboo,sparky,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D163350
2022-12-06 16:02:03 +00:00
Mark Banner
7837d8d2cf
Bug 1803341 - Automatically replace Cu.reportError with console.error (remote). r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D163455
2022-12-01 16:29:01 +00:00
Mark Banner
cce2d7f105
Bug 1795322 - Update toolkit modules references in marionette related code. r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D160026
2022-10-26 08:06:33 +00:00
Csoregi Natalia
5f9da7b301
Backed out 12 changesets (bug 1795322) for causing multiple failures e.g. test_deletion_request_ping.py. CLOSED TREE
...
Backed out changeset aba25cbcda51 (bug 1795322)
Backed out changeset a4a35005ada9 (bug 1795322)
Backed out changeset 8e8d790eb0f4 (bug 1795322)
Backed out changeset db8903454bd3 (bug 1795322)
Backed out changeset 60cc71c61cad (bug 1795322)
Backed out changeset bc6a674994ad (bug 1795322)
Backed out changeset 6ac8a611f8c7 (bug 1795322)
Backed out changeset 9fb873ecfb31 (bug 1795322)
Backed out changeset c8a7a40c2a2f (bug 1795322)
Backed out changeset f2c118b6c6ce (bug 1795322)
Backed out changeset 38df43b4a70f (bug 1795322)
Backed out changeset 89aea8373411 (bug 1795322)
2022-10-25 23:47:58 +03:00
Mark Banner
6b6069c609
Bug 1795322 - Update toolkit modules references in marionette related code. r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D160026
2022-10-25 19:49:24 +00:00
Mark Banner
2ffde1e92f
Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
...
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.
Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Benjamin VanderSloot
066e83f229
Bug 1793647, part 1 - Create new Sec-Fetch-Dest value for WebIdentity (FedCM), r=freddyb,webdriver-reviewers,whimboo
...
This is to keep up with WHATWG Fetch https://github.com/whatwg/fetch/pull/1495 .
Also revised to not include the new destination type in the RequestDestination enum, per https://github.com/whatwg/fetch/pull/1500 .
I added an element to nsIContentPolicy::nsContentPolicyType as my starting point and
proceeded from there, following the instructions at the end of the internal enum.
Differential Revision: https://phabricator.services.mozilla.com/D158657
2022-10-17 16:07:50 +00:00
Alexandre Poirot
76aed8f004
Bug 1793575 - [devtools] Convert jsdebugger.jsm to jsdebugger.sys.mjs. r=Honza,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D158571
2022-10-06 14:21:22 +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
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
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
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
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
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
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
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
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
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