Commit Graph

1364 Commits

Author SHA1 Message Date
Fatih Kilic
73f4f01465 Bug 1939881: Implement RFPTargetBits and replace appropriate uses. r=tjr
This is a huge patch, but it is only really refactoring of RFPTarget enum. We used to use RFPTarget as a bitset and now we ran out of bits, so now we need a workaround.

Differential Revision: https://phabricator.services.mozilla.com/D233182
2025-01-23 14:49:44 +00:00
Tooru Fujisawa
8084bcd8ca Bug 1881888 - Part 10: Remove ChromeUtils.import. r=Standard8,mccr8,profiler-reviewers,omc-reviewers,home-newtab-reviewers,julienw,mconley,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D233722
2025-01-23 05:21:58 +00:00
Tooru Fujisawa
ac7fdd6102 Bug 1881888 - Part 9: Remove ChromeUtils.defineModuleGetter. r=Standard8,mccr8,profiler-reviewers,omc-reviewers,home-newtab-reviewers,julienw,mconley,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D233721
2025-01-23 05:21:58 +00:00
Cristian Tuns
6d135d7efe Backed out 5 changesets (bug 1940797, bug 1940800, bug 1940819, bug 1939881, bug 1939903) for causing build bustages in ContentChild.cpp CLOSED TREE
Backed out changeset f632ead9f4bd (bug 1939903)
Backed out changeset 30e9f5c7c5b7 (bug 1940800)
Backed out changeset 7ce4c97719aa (bug 1940797)
Backed out changeset f994cb8875ff (bug 1939881)
Backed out changeset ac7780c78455 (bug 1940819)
2025-01-22 19:42:49 -05:00
Fatih Kilic
a0beaee8e2 Bug 1939881: Implement RFPTargetBits and replace appropriate uses. r=tjr
This is a huge patch, but it is only really refactoring of RFPTarget enum. We used to use RFPTarget as a bitset and now we ran out of bits, so now we need a workaround.

Differential Revision: https://phabricator.services.mozilla.com/D233182
2025-01-22 23:46:31 +00:00
Tooru Fujisawa
db5545fbaf Bug 1866732 - Part 2: Remove support for loading JSMs in Actors. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D233363
2025-01-21 13:37:18 +00:00
Alexandru Marc
5505298c10 Backed out 6 changesets (bug 1866732, bug 1938994, bug 1881887) for causing xpcshell failures @ test_envChain_subscript_in_frameScript.js CLOSED TREE
Backed out changeset 147976d582ae (bug 1881887)
Backed out changeset 96cb9890c41a (bug 1881887)
Backed out changeset 17e232b2bc28 (bug 1866732)
Backed out changeset 682921dba76d (bug 1866732)
Backed out changeset 24440318da2d (bug 1938994)
Backed out changeset bad718f76651 (bug 1938994)
2025-01-20 13:56:08 +02:00
Tooru Fujisawa
5029bf0f73 Bug 1866732 - Part 2: Remove support for loading JSMs in Actors. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D233363
2025-01-20 08:45:47 +00:00
Fatih Kilic
69ae66ee64 Bug 1448423: Allow passing IsPBM to ChromeUtils::ShouldResistFingerprinting. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D226828
2025-01-16 13:35:45 +00:00
Edgar Chen
550690c003 Bug 1837963 - Disallow opening file pickers from background tabs; r=geckoview-reviewers,emilio,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D230087
2025-01-16 11:30:36 +00:00
Alexandru Marc
5a4a4de260 Backed out 2 changesets (bug 1448423) for causing bc failures @ browser_startup.js
Backed out changeset 93e49e407bc1 (bug 1448423)
Backed out changeset ac0d0fe55391 (bug 1448423)
2025-01-15 23:14:01 +02:00
Fatih Kilic
b021a1a326 Bug 1448423: Allow passing IsPBM to ChromeUtils::ShouldResistFingerprinting. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D226828
2025-01-15 18:17:53 +00:00
Sandor Molnar
5a87a4f673 Backed out 3 changesets (bug 1837963) for causing build bustages. CLOSED TREE
Backed out changeset cd000de4a239 (bug 1837963)
Backed out changeset d19b71505a16 (bug 1837963)
Backed out changeset 7c4052454ec2 (bug 1837963)
2025-01-15 02:54:56 +02:00
Edgar Chen
ff32fd204b Bug 1837963 - Disallow opening file pickers from background tabs; r=geckoview-reviewers,emilio,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D230087
2025-01-15 00:14:37 +00:00
Norisz Fay
f8452b2129 Backed out 4 changesets (bug 1837963) for causing build bustages on nsColorPicker.cpp
Backed out changeset 6465dbafe002 (bug 1837963)
Backed out changeset 5ed6d107133f (bug 1837963)
Backed out changeset 90114d0e72d1 (bug 1837963)
Backed out changeset 36f4b96eb15b (bug 1837963)
2025-01-14 15:23:14 +02:00
Edgar Chen
eda589c635 Bug 1837963 - Disallow opening file pickers from background tabs; r=geckoview-reviewers,emilio,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D230087
2025-01-14 12:33:43 +00:00
Tom Schuster
4f2b7226c3 Bug 1937080 - Block inline event handlers in Nightly and collect telemetry. r=freddyb,Gijs,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D232982
2025-01-08 07:52:15 +00:00
Benjamin Beurdouche
8da15edad3 Bug 1900537 - Part 4: Extend ClearDataService to handle MLS state. r=emilio,emz
Clear MLS state when clearing cookies and site data.
Implement the BySite function for when these can be cleared on a per pattern (/container) basis.

Differential Revision: https://phabricator.services.mozilla.com/D226256
2024-12-18 14:04:20 +00:00
Sandor Molnar
6b61a5aad4 Backed out 4 changesets (bug 1900537, bug 1883321) for causing build bustages. CLOSED TREE
Backed out changeset 560116c848c7 (bug 1900537)
Backed out changeset 519f2beaa972 (bug 1900537)
Backed out changeset be1b3bcbf647 (bug 1883321)
Backed out changeset fb2f38746d3f (bug 1883321)
2024-12-18 14:43:51 +02:00
Benjamin Beurdouche
8d734eb2ae Bug 1900537 - Part 4: Extend ClearDataService to handle MLS state. r=emilio,emz
Clear MLS state when clearing cookies and site data.
Implement the BySite function for when these can be cleared on a per pattern (/container) basis.

Differential Revision: https://phabricator.services.mozilla.com/D226256
2024-12-18 12:06:53 +00:00
Sandor Molnar
ce80797adc Backed out 4 changesets (bug 1883321, bug 1900537) for causing build bustages. CLOSED TREE
Backed out changeset 3d59c5411aa5 (bug 1900537)
Backed out changeset 54ff63eb9703 (bug 1900537)
Backed out changeset a6bddc58d43f (bug 1883321)
Backed out changeset 7e51eb2e066b (bug 1883321)
2024-12-18 13:49:19 +02:00
Benjamin Beurdouche
b1b6a5ef47 Bug 1900537 - Part 4: Extend ClearDataService to handle MLS state. r=emilio,emz
Clear MLS state when clearing cookies and site data.
Implement the BySite function for when these can be cleared on a per pattern (/container) basis.

Differential Revision: https://phabricator.services.mozilla.com/D226256
2024-12-18 10:07:43 +00:00
Norisz Fay
19bdbcffd4 Backed out 4 changesets (bug 1883321, bug 1900537) for causing bustages on Cargo.lock
Backed out changeset 7085f64159d1 (bug 1900537)
Backed out changeset b9db0177b920 (bug 1900537)
Backed out changeset b027ce53bfee (bug 1883321)
Backed out changeset b26c29557d77 (bug 1883321)
2024-12-17 22:01:52 +02:00
Benjamin Beurdouche
6339566465 Bug 1900537 - Part 4: Extend ClearDataService to handle MLS state. r=emilio,emz
Clear MLS state when clearing cookies and site data.
Implement the BySite function for when these can be cleared on a per pattern (/container) basis.

Differential Revision: https://phabricator.services.mozilla.com/D226256
2024-12-17 18:45:28 +00:00
Jonatan Klemets
d60f6391b3 Bug 1858078 - Part 1: Add nsIContentPolicy::{TYPE_JSON,TYPE_INTERNAL_JSON_PRELOAD} r=extension-reviewers,webidl,devtools-reviewers,dom-core,smaug,robwu,tschuster,nchevobbe,farre
Differential Revision: https://phabricator.services.mozilla.com/D229524
2024-12-12 17:39:18 +00:00
Jan Varga
0bae2477b6 Bug 1936211 - Add hasChildren to IOUtils; r=dom-storage-reviewers,asuth,beth,hsingh
Differential Revision: https://phabricator.services.mozilla.com/D231315
2024-12-10 19:19:00 +00:00
Goloman Adrian
813cf9e0cb Backed out 4 changesets (bug 1883321, bug 1900537) for causing multiple failures. CLOSED TREE
Backed out changeset 7b1ab2c1bfb6 (bug 1900537)
Backed out changeset 1306fe3ef6d3 (bug 1900537)
Backed out changeset e83b4e090bc0 (bug 1883321)
Backed out changeset b9e50942a0cd (bug 1883321)
2024-12-07 02:50:49 +02:00
Benjamin Beurdouche
120020376a Bug 1900537 - Part 4: Extend ClearDataService to handle MLS state. r=emilio,pbz
Clear MLS state when clearing cookies and site data.
Implement the BySite function for when these can be cleared on a per pattern (/container) basis.

Differential Revision: https://phabricator.services.mozilla.com/D226256
2024-12-06 20:50:43 +00:00
Adam Vandolder
2ba689d99e Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-05 01:20:07 +00:00
Goloman Adrian
05b7d33317 Backed out changeset 4d19e4620e63 (bug 1924861) for causing bc failures @browser_stop_pending.js. CLOSED TREE 2024-12-04 09:11:45 +02:00
Adam Vandolder
87c9038ba7 Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-04 04:17:36 +00:00
Cosmin Sabou
82fbc8fbe4 Backed out changeset a8d030efc4ea (bug 1924861) for causing bc failures on browser_stop_pending. 2024-12-02 01:21:14 +02:00
Adam Vandolder
f6e7455adc Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-01 04:13:01 +00:00
Sandor Molnar
7e190c9386 Backed out changeset b94afd94ed9c (bug 1924861) for causing multiple bc failures. CLOSED TREE 2024-11-30 20:40:15 +02:00
Adam Vandolder
5f7b028386 Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-29 23:38:09 +00:00
Nico Grunbaum
fac27b3304 Bug 1783255 - move webrtc chromeonly webidl to dom/chrome-webidl;r=bwc,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D229468
2024-11-27 03:41:26 +00:00
Butkovits Atila
6a4f64d393 Backed out changeset 8c5bff1fa41a (bug 1924861) for causing failures at forward.py. 2024-11-26 12:51:09 +02:00
Adam Vandolder
fad0c07fe5 Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-26 04:48:49 +00:00
Sandor Molnar
7058c42e18 Backed out changeset c64aebba09d9 (bug 1924861) for causing mochitest failures. CLOSED TREE 2024-11-26 03:17:30 +02:00
Adam Vandolder
2d308415a4 Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-25 23:18:32 +00:00
Ben Dean-Kawamura
f25b21537e Bug 1918512 - Support for async Rust calls, r=nika,markh
Added the UniffiAsyncCallHandler class.  It follows the same basic
pattern as UniffiSyncCallHandler, but for async calls.
UniffiCallHandlerBase contains shared code between the two.

Replaced `use_async_wrapper` with `call_style`, which returns 1 of three
options rather than a boolean.  This required a slight change to the
async config for constructors.  User now need to specify `Object.new`
instead of `Object`.  One upside is that it also allows configuring
non-primary constructors.

Added a test fixture for this.  I used this fixture as an opportunity to
sketch out how I think this would work with the application-services
code and why this is an improvement over the current system for
auto-generating async wrappers.

Pass the buildconfig ENV when building the uniffi component libraries.
We need this if we want to depend on crates like `moz_task`.

Differential Revision: https://phabricator.services.mozilla.com/D227553
2024-11-25 17:51:01 +00:00
Sandor Molnar
6f5e9c83f8 Backed out 29 changesets (bug 1783255, bug 1921154) for causing mda crashes. CLOSED TREE
Backed out changeset 1427b958663e (bug 1783255)
Backed out changeset 91435e12b44e (bug 1921154)
Backed out changeset 11c909152c70 (bug 1921154)
Backed out changeset a85534abf9ab (bug 1921154)
Backed out changeset 9395729cc913 (bug 1921154)
Backed out changeset 9be2fffdccaf (bug 1921154)
Backed out changeset f304a5ad665f (bug 1921154)
Backed out changeset 326446796499 (bug 1921154)
Backed out changeset 3a33f398597a (bug 1921154)
Backed out changeset 75dc45c6411e (bug 1921154)
Backed out changeset 1fa214699aaf (bug 1921154)
Backed out changeset 1154e63e8261 (bug 1921154)
Backed out changeset d5b3e7a3936b (bug 1921154)
Backed out changeset cbde111cc9a0 (bug 1921154)
Backed out changeset cb482a3d1e25 (bug 1921154)
Backed out changeset 701c1767a08d (bug 1921154)
Backed out changeset b46efeafe0b8 (bug 1921154)
Backed out changeset 3ad63cd1b72f (bug 1921154)
Backed out changeset 6349ba73e4b7 (bug 1921154)
Backed out changeset cabfa788ef46 (bug 1921154)
Backed out changeset 8626f01397d0 (bug 1921154)
Backed out changeset d5ef2c812c1b (bug 1921154)
Backed out changeset 69b0cd01c3cb (bug 1921154)
Backed out changeset da18f0c34497 (bug 1921154)
Backed out changeset e4668f4df24f (bug 1921154)
Backed out changeset fef404e8c0ce (bug 1921154)
Backed out changeset a9dc02427dc4 (bug 1921154)
Backed out changeset 3381b9c705d1 (bug 1921154)
Backed out changeset e4dd58ab0966 (bug 1921154)
2024-11-21 02:45:43 +02:00
Nico Grunbaum
f6f02a6785 Bug 1783255 - move webrtc chromeonly webidl to dom/chrome-webidl;r=bwc,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D229468
2024-11-20 21:21:24 +00:00
Rob Wu
9e22dc2d32 Bug 1911835 - Add support for multiple USER_SCRIPT worlds r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D228975
2024-11-20 16:50:14 +00:00
Rob Wu
cc55e038e0 Bug 1911835 - Accept USER_SCRIPT as world value in internals r=zombie
This patch adds the USER_SCRIPT value as a supported value in the
internal WebExtensionContentScript constructor.

This patch does not introduce a distinct USER_SCRIPT sandbox yet; that
will be done in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D228973
2024-11-20 16:50:14 +00:00
Rob Wu
9127a231cb Bug 1911834 - Implement matches OR includeGlobs semantics for user scripts r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D228350
2024-11-20 16:50:13 +00:00
Simon Friedberger
4fcd691190 Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D228588
2024-11-13 17:15:57 +00:00
Sandor Molnar
9e0c14a80e Backed out changeset c4dfee1f9194 (bug 1919544) for causing bc failures @ browser_UrlbarInput_formatValue.js CLOSED TREE 2024-11-13 15:20:39 +02:00
Simon Friedberger
8eafd874fe Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D228588
2024-11-13 11:44:43 +00:00
alwu
8a4d02ed30 Bug 1928183 - part1 : add 'isHardwareDecryption' on CDMInformation. r=media-playback-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D227895
2024-11-07 00:25:04 +00:00