Commit Graph

158 Commits

Author SHA1 Message Date
Julian Descottes
da3374f344 Bug 1917524 - [cdp] Disable network.cookie.useServerTime for CDP network mochitests r=webdriver-reviewers,whimboo
Depends on D221427

The RecommendedPreferences do not apply to mochitests

Differential Revision: https://phabricator.services.mozilla.com/D221553
2024-09-10 07:50:58 +00:00
Mark Banner
a99d89a12c Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 43.2.0. r=frontend-codestyle-reviewers,credential-management-reviewers,issammani
This switches from the deprecated/removed jsdoc/newline-after-description rule to using the replacement jsdoc/tag-lines rule.

Differential Revision: https://phabricator.services.mozilla.com/D219512
2024-08-23 16:43:57 +00:00
Butkovits Atila
2837d313b2 Backed out 7 changesets (bug 1870226) for causing build bustages. CLOSED TREE
Backed out changeset 619244623dba (bug 1870226)
Backed out changeset e85a5647cae4 (bug 1870226)
Backed out changeset 21ea9baf83ea (bug 1870226)
Backed out changeset a506c0f0ce28 (bug 1870226)
Backed out changeset 77c78201a206 (bug 1870226)
Backed out changeset 7a98dfef087f (bug 1870226)
Backed out changeset f64ad89c2406 (bug 1870226)
2024-08-23 12:22:02 +03:00
Mark Banner
09fa5144e1 Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 43.2.0. r=frontend-codestyle-reviewers,credential-management-reviewers,issammani
This switches from the deprecated/removed jsdoc/newline-after-description rule to using the replacement jsdoc/tag-lines rule.

Differential Revision: https://phabricator.services.mozilla.com/D219512
2024-08-23 08:55:49 +00:00
Emilio Cobos Álvarez
e1ad6294bf Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi
Afaict the source lines are not exposed anywhere in the UI.

Differential Revision: https://phabricator.services.mozilla.com/D218115
2024-08-01 17:12:48 +00:00
Henrik Skupin
130b05b763 Bug 1882089 - [remote] Update tests for explictly enabling the CDP protocol if needed. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D212908
2024-06-12 08:57:37 +00:00
Iulian Moraru
b00dfe1db6 Backed out 3 changesets (bug 1882089) for causing wd assertion failures.
Backed out changeset 0616057daa83 (bug 1882089)
Backed out changeset ee9ceda9dc3d (bug 1882089)
Backed out changeset c9df24a4001c (bug 1882089)
2024-06-11 22:40:11 +03:00
Henrik Skupin
7dd7bd0697 Bug 1882089 - [remote] Update tests for explictly enabling the CDP protocol if needed. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D212908
2024-06-11 06:32:15 +00:00
dylan
b3b70f1193 Bug 1865394 - added urgency and incremental to request header in netmonitor. r=necko-reviewers,extension-reviewers,devtools-reviewers,valentin,robwu,bomsy,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D201265
2024-03-21 14:29:26 +00:00
Sean Feng
3efbd66e3f Bug 1483828 - [Part 5] Add a dummy element to a few tests to ensure the focus is not unexpectedly moved to the Chrome UI. r=webdriver-reviewers,search-reviewers,mcheang,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D202873
2024-03-04 14:16:32 +00:00
Dave Townsend
049e4fc37a Bug 1864896: Autofix unused function arguments (remote). r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D202981
2024-03-01 23:43:51 +00:00
Gijs Kruitbosch
6168506717 Bug 1780071 - autofix violations of no-comparison-or-assignment-inside-ok in misc other folders r=webdriver-reviewers,necko-reviewers,sync-reviewers,profiler-reviewers,sgalich,whimboo,markh,kershaw,julienw
Differential Revision: https://phabricator.services.mozilla.com/D198978
2024-02-19 21:47:41 +00:00
Henrik Skupin
efa168d6d5 Bug 1871611 - [remote] Skip remote CDP browser-chrome tests on Wayland. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D197213
2023-12-22 21:51:54 +00:00
Alexandra Borovova
6a4b87e88e Bug 1866463 - [bidi] Add a multiplier for slow platforms to set browser history entry timeout. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D194752
2023-11-30 09:03:16 +00:00
Joel Maher
81afbdce9a Bug 1859896 - Batch 16 - convert xpcshell.ini -> .toml. r=aryx,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D194383
2023-11-25 21:08:44 +00:00
Jonathan Watt
43215ef984 Bug 1865995 p6. Rename createAboutBlankContentViewer to match nsIDocumentViewer's new name. r=emilio,webdriver-reviewers,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D194340
2023-11-23 21:35:21 +00:00
Mark Banner
a033642737 Bug 1858148 - Remove Cu.importGlobalProperties from sjs files as it is no longer needed. r=mossop,webdriver-reviewers,necko-reviewers,search-reviewers,devtools-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,dao,daleharvey,valentin
Differential Revision: https://phabricator.services.mozilla.com/D190759
2023-11-04 09:29:27 +00:00
Tom Marble
28edc0c671 Bug 1859905 - convert .ini manifests to .toml: batch 19 browser_*.ini r=jmaher,webdriver-reviewers,necko-reviewers,extension-reviewers,devtools-reviewers,anti-tracking-reviewers,valentin,robwu,pbz
Differential Revision: https://phabricator.services.mozilla.com/D191771
2023-10-25 21:47:25 +00:00
Natalia Csoregi
8a8efda530 Backed out changeset 1ca403a2c00e (bug 1859905) for causing failures on test_mochitest_integration.py CLOSED TREE 2023-10-25 22:26:24 +03:00
Tom Marble
9c93e7d5df Bug 1859905 - convert .ini manifests to .toml: batch 19 browser_*.ini r=jmaher,webdriver-reviewers,necko-reviewers,extension-reviewers,devtools-reviewers,anti-tracking-reviewers,valentin,robwu,pbz
Differential Revision: https://phabricator.services.mozilla.com/D191771
2023-10-25 17:12:24 +00:00
Joel Maher
138d83af91 Bug 1853245 - Migrate .ini to .toml browser-chrome (batch 7.99). r=aryx,webdriver-reviewers,necko-reviewers,pip-reviewers,places-reviewers,mak,mconley,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189883
2023-10-05 11:58:59 +00:00
Norisz Fay
8d9aaf93b0 Backed out 2 changesets (bug 1853245) for causing python failure CLOSED TREE
Backed out changeset d09e9295477f (bug 1853245)
Backed out changeset 54a1341a95d6 (bug 1853245)
2023-10-04 23:31:21 +03:00
Joel Maher
da6575a322 Bug 1853245 - Migrate .ini to .toml browser-chrome (batch 7.99). r=aryx,webdriver-reviewers,necko-reviewers,pip-reviewers,places-reviewers,mak,mconley,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189883
2023-10-04 15:59:49 +00:00
Marco Bonardo
70fdad6676 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Sandor Molnar
950a3c620d Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo
61f8ecc425 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
scottlynotlie
6dd16cb775 Bug 1676736 - Use Assert.rejects to test exceptions in Remote browser chrome test r=jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D180723
2023-08-03 09:32:41 +00:00
CanadaHonk
3f20822bb0 Bug 1810357 - [cdp] Add HTTP target routes r=webdriver-reviewers,whimboo
Added support for /json/new, /json/activate/{targetId},
/json/close/{targetId}. Rewrote JSONHandler internals to be async
and support different routes by HTTP method, and prefixed routes which
are required by activate and close due to inlining the targetId into the
request url. Also added new tests specific to each, and updated existing.

Should also allow more info to be given via HTTP endpoints in future due
to now being async.

Differential Revision: https://phabricator.services.mozilla.com/D166884
2023-06-16 09:36:47 +00:00
Mark Banner
130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Peter Van der Beken
635046af85 Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-04-18 07:07:05 +00:00
Cosmin Sabou
60f701f2e5 Backed out 2 changesets (bug 1804140) for causing webdriver failures. CLOSED TREE
Backed out changeset 974558fd2790 (bug 1804140)
Backed out changeset dbe9d2f66fcc (bug 1804140)
2023-04-14 13:28:44 +03:00
Peter Van der Beken
e0b98d564b Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-04-14 08:09:50 +00:00
CanadaHonk
6bfc78e060 Bug 1811130 - [cdp] Fix Target.setDiscoverTargets emitting targetCreated events with discover false r=webdriver-reviewers,whimboo
Target.setDiscoverTargets should only emit targetCreated events when ran
with discover as true. Also added tests for discover false.

Differential Revision: https://phabricator.services.mozilla.com/D167210
2023-04-13 16:42:37 +00:00
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
Henrik Skupin
f90e86c710 Bug 1826709 - [CDP] Prevent "/json/*" pages from being loaded within an iframe. r=webdriver-reviewers,freddyb,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D174860
2023-04-06 11:42:16 +00:00
Henrik Skupin
073ee7078b Bug 1586503 - [cdp] Fix test eventsWhenNavigatingFrameSet for expected event order. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D174771
2023-04-05 20:54:38 +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
Victoria Ajala
aebcad9703 Bug 1819174 Update test suite default tags for remote protocol component. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174239
2023-04-05 15:36:28 +00:00
Frazier Odhiambo
8ab1f55f02 Bug 1610317 - [cdp] Use SpecialPowers.spawn instead of ContentTask.spawn in browser chrome tests. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D172399
2023-03-23 13:45:53 +00:00
CanadaHonk
2165378ccd Bug 1823089 - [cdp] Request longer timeout for consoleAPICalled tests r=webdriver-reviewers,whimboo
Fixes perma test fails due to more tests added previously triggering
timeouts.

Differential Revision: https://phabricator.services.mozilla.com/D173255
2023-03-22 16:02:31 +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
e617726b87 Bug 1820459 - [cdp] Split-off Promise tests for evaluate and callFunctionOn r=webdriver-reviewers,whimboo
Split-off (await)Promise tests for evaluate and callFunctionOn into
their own separate test files to avoid timeouts whilst testing.

Differential Revision: https://phabricator.services.mozilla.com/D172053
2023-03-09 11:45:33 +00:00
Henrik Skupin
41ba80361e Bug 1819965 - [cdp] Re-load framescript when browsing context gets replaced due to a navigation. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D171498
2023-03-06 22:09:16 +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
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
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
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