Commit Graph

192 Commits

Author SHA1 Message Date
Florian Quèze
e63b838cb4 Bug 1842682 - Remove unused ChromeUtils.requestIOActivity and IOActivityMonitor, r=necko-reviewers,valentin.
Differential Revision: https://phabricator.services.mozilla.com/D210680
2024-05-17 14:03:21 +00:00
Artur Iunusov
7626d7af20 Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder
Depends on D183230

Differential Revision: https://phabricator.services.mozilla.com/D189490
2024-03-07 13:04:23 +00:00
Narcis Beleuzu
197b39f007 Backed out 16 changesets (bug 1770944) as req by asuth.
Backed out changeset 61af32f40777 (bug 1770944)
Backed out changeset 4ff0c45db93b (bug 1770944)
Backed out changeset 8a217eff7bcd (bug 1770944)
Backed out changeset 6435f48c96bf (bug 1770944)
Backed out changeset 0d2432765ca0 (bug 1770944)
Backed out changeset 58e02566db85 (bug 1770944)
Backed out changeset 0a8c4c2460ee (bug 1770944)
Backed out changeset 9416bafd9982 (bug 1770944)
Backed out changeset 79de4f83fe2e (bug 1770944)
Backed out changeset 63ac518aceb0 (bug 1770944)
Backed out changeset 14952f872b77 (bug 1770944)
Backed out changeset f65e0967ad75 (bug 1770944)
Backed out changeset bd53c42038f7 (bug 1770944)
Backed out changeset 36c378ba8212 (bug 1770944)
Backed out changeset 9ba54ab06348 (bug 1770944)
Backed out changeset fb5a54b3cbe9 (bug 1770944)
2024-02-23 21:11:08 +02:00
Artur Iunusov
7db9c11413 Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder
Depends on D183230

Differential Revision: https://phabricator.services.mozilla.com/D189490
2024-02-22 10:13:15 +00:00
Sandor Molnar
6699491437 Backed out 16 changesets (bug 1770944) for causing asan failures @ dom/base/InProcessBrowserChildMessageManager.cpp
Backed out changeset b73885731e73 (bug 1770944)
Backed out changeset 23d0dc98eb51 (bug 1770944)
Backed out changeset 15661e24d8e1 (bug 1770944)
Backed out changeset 97aa839dc200 (bug 1770944)
Backed out changeset 0d4318bf3239 (bug 1770944)
Backed out changeset be28bb62e9f3 (bug 1770944)
Backed out changeset 708b2671410e (bug 1770944)
Backed out changeset 0a138f3b56b9 (bug 1770944)
Backed out changeset 3a149ef794c2 (bug 1770944)
Backed out changeset 4b6ae7dd0e69 (bug 1770944)
Backed out changeset e3960ad85182 (bug 1770944)
Backed out changeset 9ea253525227 (bug 1770944)
Backed out changeset 1828b66c2f7c (bug 1770944)
Backed out changeset 55b0886f9025 (bug 1770944)
Backed out changeset a4197071d10a (bug 1770944)
Backed out changeset 9b18524f541e (bug 1770944)
2024-02-20 20:34:55 +02:00
Artur Iunusov
c21b2319dc Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder
Depends on D183230

Differential Revision: https://phabricator.services.mozilla.com/D189490
2024-02-20 16:53:24 +00:00
Tooru Fujisawa
abb1c5794d Bug 1875638 - Part 1: Add ImportESModuleOptionsDictionary parameter to ChromeUtils.defineESModuleGetters. r=jonco
Pass the global/loadInDevToolsLoader options to the lazy getter, with encoding
the option into single integer and store into the getter function's extended
slot.

Differential Revision: https://phabricator.services.mozilla.com/D199463
2024-02-14 11:34:23 +00:00
Stanca Serban
4a4550c989 Backed out 3 changesets (bug 1875638) for workers related dt failures. CLOSED TREE
Backed out changeset ea95dfbc56f0 (bug 1875638)
Backed out changeset 9e528ea23760 (bug 1875638)
Backed out changeset 32b63d4ef3d2 (bug 1875638)
2024-02-14 07:53:52 +02:00
Tooru Fujisawa
707375d8d0 Bug 1875638 - Part 1: Add ImportESModuleOptionsDictionary parameter to ChromeUtils.defineESModuleGetters. r=jonco
Pass the global/loadInDevToolsLoader options to the lazy getter, with encoding
the option into single integer and store into the getter function's extended
slot.

Differential Revision: https://phabricator.services.mozilla.com/D199463
2024-02-14 04:48:39 +00:00
Vinny Diehl
f5217212e3 Bug 1872116 - Fix year detection in checkTimeDateString r=whimboo,webdriver-reviewers,arai
Differential Revision: https://phabricator.services.mozilla.com/D197325
2023-12-30 07:57:13 +00:00
alwu
718c8d98cf Bug 1846848 - part6 : display GMPCDM capabilities in about:support. r=jolin
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.

Differential Revision: https://phabricator.services.mozilla.com/D194932
2023-12-06 18:16:05 +00:00
alwu
0c704e05f4 Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-06 18:16:05 +00:00
Norisz Fay
e8c1f3da7e Backed out 9 changesets (bug 1846848) for causing bustages on UtilityAudioDecoderParent.cpp
Backed out changeset 3ef263566f4f (bug 1846848)
Backed out changeset 8499da15a162 (bug 1846848)
Backed out changeset 47ebd92f3778 (bug 1846848)
Backed out changeset 373b7ca4d079 (bug 1846848)
Backed out changeset ca7cb687ee2c (bug 1846848)
Backed out changeset bf0bebf8c994 (bug 1846848)
Backed out changeset 26cccc9b7894 (bug 1846848)
Backed out changeset d655082ad764 (bug 1846848)
Backed out changeset 4a1db8b9112c (bug 1846848)
2023-12-06 13:08:22 +02:00
alwu
896bb6a5df Bug 1846848 - part6 : display GMPCDM capabilities in about:support. r=jolin
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.

Differential Revision: https://phabricator.services.mozilla.com/D194932
2023-12-06 09:04:04 +00:00
alwu
ed26a30ec5 Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-06 09:04:03 +00:00
Iulian Moraru
89fe7146d2 Backed out 9 changesets (bug 1846848) for causing multiple build bustages. CLOSED TREE
Backed out changeset e5333509733c (bug 1846848)
Backed out changeset bf4ac7f56486 (bug 1846848)
Backed out changeset 5d794cd95fc7 (bug 1846848)
Backed out changeset 203f9c356a36 (bug 1846848)
Backed out changeset a755043387c2 (bug 1846848)
Backed out changeset 2fdeb001c68a (bug 1846848)
Backed out changeset 9a13867df758 (bug 1846848)
Backed out changeset 773368f5552d (bug 1846848)
Backed out changeset 43360fe1a5fa (bug 1846848)
2023-12-05 05:41:47 +02:00
alwu
46285e4657 Bug 1846848 - part6 : display GMPCDM capabilities in about:support. r=jolin
ClearKey and Widevine L3 are used in the GMP process, so comparing with
MFCDM, we need to use another different way to access their capabilities.

Differential Revision: https://phabricator.services.mozilla.com/D194932
2023-12-05 01:13:48 +00:00
alwu
11226ac3ae Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-05 01:13:48 +00:00
Peter Van der Beken
e0d7b4edf2 Bug 1866220 - Force UniquePtr<…> return type for functions called from bindings for things marked as NewObject and returning a non-refcounted object. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D194468
2023-11-24 10:38:18 +00:00
Tim Huang
7f0348add6 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
Barret Rennie
766af8e7ab 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
0b3fa118a1 Backed out changeset 910d59989abb (bug 1786885) for causing multiple failures. CLOSED TREE 2023-07-11 11:20:39 +03:00
Barret Rennie
43ff651576 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
44e5d260a6 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
31a6b71519 Backed out changeset 714fb5e0c999 (bug 1786885) for causing bustages in ChromeUtils.webidl. CLOSED TREE 2023-06-24 02:32:30 +03:00
Barret Rennie
d7e9b3368b 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
0e354778bd 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
0124920014 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
Kagami Sascha Rosylight
7c39b031e7 Bug 1831065 - Part 1: Remove unused ErrorResult in dom/{abort,base} r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D177007
2023-05-03 13:24:53 +00:00
Alexandre Poirot
28e34df8ef 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
1d11c2a5b2 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
763c211b2d 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
Tooru Fujisawa
2e7d5c6952 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
47ad5e4d8d 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
6ba113a0b1 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
Alexandre Lissy
03d17b81fc 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
2b8b5b577b 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
ccff80cb90 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
0dd0451f8a 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
18b9822941 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
Narcis Beleuzu
47cb05bbf5 Backed out 3 changesets (bug 1812275, bug 1812035, bug 1806501) for bc failures on browser_aboutprocesses_default_options.js .
Backed out changeset 4f13d8470d97 (bug 1806501)
Backed out changeset a276a2939cee (bug 1812275)
Backed out changeset 67775732c1a8 (bug 1812035)
2023-01-27 17:14:57 +02:00
Andreas Farre
3171029340 Bug 1806501 - Start the JS Oracle process early. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D167230
2023-01-27 09:17:17 +00:00
Andreas Farre
8ef1c9c7af 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, and count the number
of living processes, also when needed.

Differential Revision: https://phabricator.services.mozilla.com/D167662
2023-01-27 09:17:16 +00:00
Sandor Molnar
f9b2395cee Backed out 2 changesets (bug 1812035, bug 1806501) for causing bc failures in ipc/glue/test/browser/browser_utility_audioDecodeCrash.js CLOSED TREE
Backed out changeset d7f1a776a986 (bug 1806501)
Backed out changeset 4a44daa59af4 (bug 1812035)
2023-01-24 18:31:34 +02:00
Andreas Farre
fba7fef652 Bug 1806501 - Start the JS Oracle process early. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D167230
2023-01-24 15:37:49 +00:00
Andreas Farre
ad29180b54 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, and count the number
of living processes, also when needed.

Differential Revision: https://phabricator.services.mozilla.com/D167662
2023-01-24 15:37:49 +00:00
Cosmin Sabou
9b18b1a231 Backed out changeset c04e43c43057 (bug 1806501) for mochitest failures on test_aboutmemory.xhtml. CLOSED TREE 2023-01-19 12:41:37 +02:00
Andreas Farre
f78a79df33 Bug 1806501 - Start the JS Oracle process early. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D167230
2023-01-19 09:56:28 +00:00
Henrik Skupin
b7a33cbd98 Bug 1792524 - [dom] Make isDOMObject() available through ChromeUtils. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D165420
2022-12-23 12:35:34 +00:00
Alexandre Poirot
d91d797ca2 Bug 1790383 - [devtools] Allow loading ESMs in a distinct loader specific to DevTools. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D157618
2022-10-03 07:28:09 +00:00