Commit graph

383 commits

Author SHA1 Message Date
Peter Van der Beken
44a577eec3 Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh
Differential Revision: https://phabricator.services.mozilla.com/D191418
2023-11-11 08:24:05 +00:00
Peter Van der Beken
29a54c8a17 Bug 1849037 - Pass objects that support conversion to a Span directly to TypedArray::Create as a Span. r=necko-reviewers,extension-reviewers,media-playback-reviewers,profiler-reviewers,farre,padenot,jesup
Differential Revision: https://phabricator.services.mozilla.com/D191416
2023-11-11 08:24:04 +00:00
Stanca Serban
2685d35c49 Backed out 3 changesets (bug 1849037) for causing mochitests failures in test_gamepad_extensions.html.
Backed out changeset 27fd9f6f57ea (bug 1849037)
Backed out changeset 89aa49de2473 (bug 1849037)
Backed out changeset c336a8c78928 (bug 1849037)
2023-11-08 17:12:40 +02:00
Peter Van der Beken
2b267480e6 Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup
Differential Revision: https://phabricator.services.mozilla.com/D191418
2023-11-08 11:29:05 +00:00
Peter Van der Beken
7cb765ad2c Bug 1849037 - Pass objects that support conversion to a Span directly to TypedArray::Create as a Span. r=necko-reviewers,extension-reviewers,media-playback-reviewers,profiler-reviewers,farre,padenot,jesup
Differential Revision: https://phabricator.services.mozilla.com/D191416
2023-11-08 11:29:04 +00:00
Noemi Erli
a4dae64f34 Backed out 2 changesets (bug 1851816) for causing private browsing related failures CLOSED TREE
Backed out changeset d2f63b3f6342 (bug 1851816)
Backed out changeset 7d0d2fe95e67 (bug 1851816)
2023-11-07 00:18:54 +02:00
Tom Ritter
19d70df0a2 Bug 1851816: Pass PBM Status into RFPIsEnabledFor r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D192501
2023-11-06 21:02:40 +00:00
Tim Huang
e8f8d32e61 Bug 1824222 - Make nsRFPService::IsRFPEnabledFor() to use the given OverriddenFingerprintingSettings for checking RFPTargets. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D185016
2023-10-17 22:02:30 +00:00
Emilio Cobos Álvarez
25c0d10932 Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu
Sorry this is not a particularly easy patch to review. But it should be
mostly straight-forward.

I kept Document::Dispatch mostly for convenience, but could be
cleaned-up too / changed by SchedulerGroup::Dispatch. Similarly maybe
that can just be NS_DispatchToMainThread if we add an NS_IsMainThread
check there or something (to preserve shutdown semantics).

Differential Revision: https://phabricator.services.mozilla.com/D190450
2023-10-10 08:51:12 +00:00
Peter Van der Beken
627ac90e0c Bug 1690111 - Use new TypedArray APIs for processing data. r=farre,media-playback-reviewers,padenot,chunmin,sfink
Depends on D152497

Differential Revision: https://phabricator.services.mozilla.com/D152498
2023-09-20 09:42:02 +00:00
Cosmin Sabou
680b4364c7 Backed out 13 changesets (bug 1690111) for causing fetch related crashes.
Backed out changeset 5f2c25d194ad (bug 1690111)
Backed out changeset 76c408bcd053 (bug 1690111)
Backed out changeset 6d0649fdafff (bug 1690111)
Backed out changeset c1330b5e8c43 (bug 1690111)
Backed out changeset 5fa36d8fd2a5 (bug 1690111)
Backed out changeset daf7d747853a (bug 1690111)
Backed out changeset f70e09a7f5c6 (bug 1690111)
Backed out changeset 40c6d6eed7f8 (bug 1690111)
Backed out changeset 692f2a759573 (bug 1690111)
Backed out changeset 7140866dd9f6 (bug 1690111)
Backed out changeset 2865fe682139 (bug 1690111)
Backed out changeset 9dcd2416f8a5 (bug 1690111)
Backed out changeset 9c411bf84079 (bug 1690111)
2023-09-11 17:55:24 +03:00
Peter Van der Beken
5738c01ba3 Bug 1690111 - Use new TypedArray APIs for processing data. r=farre,media-playback-reviewers,padenot,chunmin,sfink
Depends on D152497

Differential Revision: https://phabricator.services.mozilla.com/D152498
2023-09-11 12:52:20 +00:00
Tooru Fujisawa
b23c224e33 Bug 1847469 - Part 20: Use column number types in JSErrorBase. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D185758
2023-08-16 17:31:40 +00:00
Tooru Fujisawa
0ceff7d136 Bug 1847469 - Part 9: Use column number types in SavedFrame API. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D185747
2023-08-16 17:31:38 +00:00
Cristian Tuns
4fe9ed8f30 Backed out 27 changesets (bug 1847469) for causing spidermonkey bustages in Script.cpp CLOSED TREE
Backed out changeset 9d6e2651a013 (bug 1847469)
Backed out changeset 9b72d668efd2 (bug 1847469)
Backed out changeset 86abf5cf0a22 (bug 1847469)
Backed out changeset 46833087f8ac (bug 1847469)
Backed out changeset f3e2207fdeec (bug 1847469)
Backed out changeset aed75776cfff (bug 1847469)
Backed out changeset 8292a38bd99f (bug 1847469)
Backed out changeset 1320f83fb8c7 (bug 1847469)
Backed out changeset df9f925f9837 (bug 1847469)
Backed out changeset 69f32cf1862a (bug 1847469)
Backed out changeset b2ddddec8818 (bug 1847469)
Backed out changeset 056eed7abc97 (bug 1847469)
Backed out changeset 5df4f43ac0bf (bug 1847469)
Backed out changeset cb57923f6532 (bug 1847469)
Backed out changeset a0993f2a2195 (bug 1847469)
Backed out changeset 782499fbedf2 (bug 1847469)
Backed out changeset cf84fb98c5e1 (bug 1847469)
Backed out changeset 1fa5ab59814b (bug 1847469)
Backed out changeset f5f78944df81 (bug 1847469)
Backed out changeset aa14337bf5c6 (bug 1847469)
Backed out changeset 6757db4575d7 (bug 1847469)
Backed out changeset 236ff135701e (bug 1847469)
Backed out changeset 9b4d5b435020 (bug 1847469)
Backed out changeset a0f789621bc8 (bug 1847469)
Backed out changeset c19b81f48055 (bug 1847469)
Backed out changeset b4521e546d7e (bug 1847469)
Backed out changeset f26a10289316 (bug 1847469)
2023-08-16 07:08:01 -04:00
Tooru Fujisawa
ee81f946a2 Bug 1847469 - Part 20: Use column number types in JSErrorBase. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D185758
2023-08-16 10:26:32 +00:00
Tooru Fujisawa
bfb39b4a60 Bug 1847469 - Part 9: Use column number types in SavedFrame API. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D185747
2023-08-16 10:26:29 +00:00
Barret Rennie
3efc235517 Bug 1786885 - Add ChromeUtils::GetLibcConstants r=nika
ChromeUtils::GetLibcConstants() is a replacement for
nsIOSFileConstantsService providing OS.Consts.LIBC. The constants from
OS.Consts.Win have been inlined into subprocess_shared_win.js, since it was
already defining several other constants and it was the only consumer.

Differential Revision: https://phabricator.services.mozilla.com/D180358
2023-07-11 16:32:14 +00:00
Iulian Moraru
0b9b4fc806 Backed out changeset 910d59989abb (bug 1786885) for causing multiple failures. CLOSED TREE 2023-07-11 11:20:39 +03:00
Barret Rennie
e8fa16ce58 Bug 1786885 - Add ChromeUtils::GetLibcConstants r=nika
ChromeUtils::GetLibcConstants() is a replacement for
nsIOSFileConstantsService providing OS.Consts.LIBC. The constants from
OS.Consts.Win have been inlined into subprocess_shared_win.js, since it was
already defining several other constants and it was the only consumer.

Differential Revision: https://phabricator.services.mozilla.com/D180358
2023-07-11 03:10:37 +00:00
Tom Schuster
171386539f Bug 1837976 - Check RFPTarget::SiteSpecificZoom from JS. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D181869
2023-06-28 17:02:40 +00:00
Tom Schuster
29385079aa Bug 1837976 - Expose ShouldResistFingerprinting to JS via ChromeUtils. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D181614
2023-06-28 17:02:39 +00:00
Stanca Serban
3f23020c5c Backed out changeset 714fb5e0c999 (bug 1786885) for causing bustages in ChromeUtils.webidl. CLOSED TREE 2023-06-24 02:32:30 +03:00
Barret Rennie
0a1d9d2ac4 Bug 1786885 - Add ChromeUtils::GetLibcConstants r=nika
ChromeUtils::GetLibcConstants() is a replacement for
nsIOSFileConstantsService providing OS.Consts.LIBC. The constants from
OS.Consts.Win have been inlined into subprocess_shared_win.js, since it was
already defining several other constants and it was the only consumer.

Differential Revision: https://phabricator.services.mozilla.com/D180358
2023-06-23 23:14:37 +00:00
Florian Quèze
58ce18a1c9 Bug 1836191 - remove ChromeUtils.requestPerformanceMetrics that was only used by about:performance, r=smaug.
Differential Revision: https://phabricator.services.mozilla.com/D179696
2023-06-08 21:53:18 +00:00
Dan Robertson
79468295a2 Bug 1821733 - Add chrome-only method for ending a wheel event group. r=smaug
Add a chrome-only method for ending a wheel event group. This can then
be used by the webdriver to ensure that the wheel event group does not
live longer than the action chain.

Differential Revision: https://phabricator.services.mozilla.com/D177923
2023-05-22 19:50:10 +00:00
Alexandre Poirot
4f2561f730 Bug 1819767 - [devtools] Expose ChromeUtils.isDevToolsOpened to know if DevTools are debugging something in the current process. r=smaug,devtools-reviewers,jdescottes
This doesn't help know what particular resource DevTools is currently inspecting,
but at least it helps know if it debugs something:
* one or many BrowsingContext(s) for regular DevTools (you can use BrowsingContext.watchedByDevTools instead)
* the whole process for the Browser Console/Toolbox

Differential Revision: https://phabricator.services.mozilla.com/D173295
2023-04-03 12:35:53 +00:00
Csoregi Natalia
7b914d56e5 Backed out 2 changesets (bug 1819767) for causing bustage on ChromeUtils.cpp. CLOSED TREE
Backed out changeset f67a63d151f5 (bug 1819767)
Backed out changeset 91e577f436e9 (bug 1819767)
2023-03-31 02:23:14 +03:00
Alexandre Poirot
61c0a76c2d Bug 1819767 - [devtools] Expose ChromeUtils.isDevToolsOpened to know if DevTools are debugging something in the current process. r=smaug,devtools-reviewers,jdescottes
This doesn't help know what particular resource DevTools is currently inspecting,
but at least it helps know if it debugs something:
* one or many BrowsingContext(s) for regular DevTools (you can use BrowsingContext.watchedByDevTools instead)
* the whole process for the Browser Console/Toolbox

Differential Revision: https://phabricator.services.mozilla.com/D173295
2023-03-30 21:25:08 +00:00
Andi-Bogdan Postelnicu
4efa1bd0ba Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-27 07:20:25 +00:00
Sandor Molnar
9db345d4c1 Backed out 2 changesets (bug 1276351) for causing build bustage in image/ClippedImage.cp CLOSED TREE
Backed out changeset e84598eb82c1 (bug 1276351)
Backed out changeset e940b0554484 (bug 1276351)
2023-03-25 14:16:43 +02:00
Andi-Bogdan Postelnicu
447f1e3358 Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-25 06:58:52 +00:00
Iulian Moraru
6d40eee997 Backed out 2 changesets (bug 1276351) for causing multiple failures.
Backed out changeset eeaf4f1e06af (bug 1276351)
Backed out changeset d44cb5704342 (bug 1276351)
2023-03-25 00:08:24 +02:00
Andi-Bogdan Postelnicu
a1b827b503 Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-24 18:55:39 +00:00
Andreas Farre
262182bf43 Bug 1821596 - Don't start JS Validator if ORB isn't enabled. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D172209
2023-03-10 08:41:43 +00:00
Tooru Fujisawa
3481eb931f Bug 1805288 - Part 1: Add ChromeUtils.defineLazyGetter. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D171319
2023-03-08 07:11:02 +00:00
Butkovits Atila
3290dcc819 Backed out 2 changesets (bug 1805288) for causing Bug 1820250. CLOSED TREE
Backed out changeset f7a22635f81a (bug 1805288)
Backed out changeset e717e0354d72 (bug 1805288)
2023-03-06 12:41:23 +02:00
Tooru Fujisawa
e1da0e81bb Bug 1805288 - Part 1: Add ChromeUtils.defineLazyGetter. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D171319
2023-03-03 06:29:16 +00:00
Jed Davis
3219af97cc Bug 1763625 - Refactor how we access child process handles. r=nika,media-playback-reviewers,karlt
Differential Revision: https://phabricator.services.mozilla.com/D169777
2023-02-28 03:41:51 +00:00
Csoregi Natalia
43c5854833 Backed out changeset dc92467cea22 (bug 1763625) for causing memory-related crashes and failures. CLOSED TREE 2023-02-28 00:52:22 +02:00
Jed Davis
1015aea40b Bug 1763625 - Refactor how we access child process handles. r=nika,media-playback-reviewers,karlt
Differential Revision: https://phabricator.services.mozilla.com/D169777
2023-02-27 20:32:51 +00:00
Alexandre Lissy
a266acf8de Bug 1818465 - Add test to ensure Utility Actor Names always reflected in about:processes r=florian,nika
Differential Revision: https://phabricator.services.mozilla.com/D170753
2023-02-25 00:58:05 +00:00
Noemi Erli
5f606ca51b Backed out 2 changesets (bug 1818465) for causing failures in browser_formless_submit_chrome.js CLOSED TREE
Backed out changeset 0abd5d9c6073 (bug 1818465)
Backed out changeset 7fa24fc3c568 (bug 1818465)
2023-02-24 22:33:51 +02:00
Alexandre Lissy
c259a7fd77 Bug 1818465 - Add test to ensure Utility Actor Names always reflected in about:processes r=florian,nika
Differential Revision: https://phabricator.services.mozilla.com/D170753
2023-02-24 16:15:07 +00:00
Andreas Farre
9373a37104 Bug 1815387 - Don't assert that we get a JSOracleParent. r=smaug
This assert is too strong. We might not get an actor, e.g. in the case
of shutting down. And that's OK. It is up to the caller to make sure
that it actually got an actor.

Differential Revision: https://phabricator.services.mozilla.com/D169078
2023-02-07 15:44:39 +00:00
Andreas Farre
bd52c51eaf Bug 1806501 - Start the JS Oracle process early. r=smaug
Depends on D168252

Differential Revision: https://phabricator.services.mozilla.com/D167230
2023-02-06 15:52:29 +00:00
Andreas Farre
e5afaa84ab Bug 1812035 - Fix broken about:memory tests. r=smaug
Tests for about:memory doesn't know about utility processes. Make sure
to hide the utility process reporter when needed.

Differential Revision: https://phabricator.services.mozilla.com/D167662
2023-02-06 15:52:28 +00:00
David Parks
39b290be77 Bug 1704500: Make UtilityActorName an alias for WebIDLUtilityActorName r=gerard-majax
This eliminates a redundant enum that we had to keep synchronized with another.

Depends on D155020

Differential Revision: https://phabricator.services.mozilla.com/D162943
2023-01-31 21:10:28 +00:00
David Parks
2e959c2130 Bug 1704500: Add WindowsUtils kind of utility process on Windows r=gerard-majax,ipc-reviewers,nika
Adds a new type of utility process that is set up to handle Windows OS objects.  We are adding this process type to run Windows geolocation APIs but more services are expected to be included in it.  The ILocation APIs have a race condition that would otherwise crash the main process.  The ILocation work is in a later patch in the series.

Depends on D155017

Differential Revision: https://phabricator.services.mozilla.com/D155018
2023-01-31 21:10:26 +00:00
Iulian Moraru
fb1e6d6e57 Backed out 7 changesets (bug 1704500) for causing bc failures on browser_utility_geolocation_crashed.js. CLOSED TREE
Backed out changeset afcc1e8b5ad7 (bug 1704500)
Backed out changeset 1c27f9c36fda (bug 1704500)
Backed out changeset c0f0a280aaea (bug 1704500)
Backed out changeset 4be2d58ddf54 (bug 1704500)
Backed out changeset 1386732459ce (bug 1704500)
Backed out changeset 88e8015e1ec4 (bug 1704500)
Backed out changeset d96e810e20ec (bug 1704500)
2023-01-29 03:17:48 +02:00