Commit Graph

7449 Commits

Author SHA1 Message Date
Sean
c73aeda52c Bug 1325876 - Add a pref for showing internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D220193
2025-01-27 21:05:42 +00:00
Sean
11eae78bbe Bug 1763671 - Part 1: Add a preference to disable basic HTTP Auth r=necko-reviewers,fluent-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D225797
2025-01-27 16:19:31 +00:00
Florian Quèze
9bb52886b8 Bug 1935420 - Migrate histograms to use Glean APIs for BFCACHE_*, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D234182
2025-01-27 13:47:11 +00:00
Florian Quèze
b4b0d27e43 Bug 1935420 - Migrate histograms to use Glean APIs in toolkit/components/antitracking, r=chutten,anti-tracking-reviewers,firefox-desktop-core-reviewers ,emz,mossop.
Differential Revision: https://phabricator.services.mozilla.com/D234069
2025-01-27 13:42:15 +00:00
Stanca Serban
149deaac25 Backed out 3 changesets (bug 1325876) for causing Linux related puppeteer failures. CLOSED TREE
Backed out changeset 2dcbd388c95f (bug 1325876)
Backed out changeset ba3a433729a6 (bug 1325876)
Backed out changeset 42f5ed6abce5 (bug 1325876)
2025-01-24 03:47:23 +02:00
Sean
5f773583d7 Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D220193
2025-01-23 21:57:37 +00:00
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
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
Sean
3cbfca1937 Bug 1927594 - Part 1: Introduce better CORP headers aboutCertError messages r=necko-reviewers,fluent-reviewers,kershaw,valentin,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D228072
2025-01-21 19:46:52 +00:00
Florian Quèze
6203c6c238 Bug 1879329 - add the missing includes, r=chutten,necko-reviewers,cookie-reviewers,valentin.
Differential Revision: https://phabricator.services.mozilla.com/D234757
2025-01-21 11:21:45 +00:00
Florian Quèze
9609e47f62 Bug 1879329 - script generated replacement of the GleanMetrics.h includes, r=chutten,valentin,media-playback-reviewers,cookie-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,rkraesig,emz,aabh,padenot.
Differential Revision: https://phabricator.services.mozilla.com/D234744
2025-01-21 11:21:45 +00:00
Jan-Niklas Jaeschke
70a6aebbb9 Bug 1942630, part 2 - Navigation API: Implement user navigation involvement in nsDocShellLoadState and nsILoadInfo. r=farre,necko-reviewers,kershaw
This patch introduces `UserNavigationInvolvement`
as an IPDL type, and adds the user navigation
involvement flag to `nsDocShellLoadState` and
`nsILoadInfo`.

Differential Revision: https://phabricator.services.mozilla.com/D234851
2025-01-21 09:19:56 +00:00
Gijs Kruitbosch
5de5c03cf0 Bug 1915402 - use 127.0.0.1 for 0.0.0.0 access from the address bar to make life easier for web devs, r=valentin,mak,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D224116
2025-01-20 13:57:21 +00:00
Sandor Molnar
08b7f7de38 Backed out 2 changesets (bug 1927594) for causing wpt failures. CLOSED TREE
Backed out changeset 46a8e41b53dc (bug 1927594)
Backed out changeset bde1ce0e09eb (bug 1927594)
2025-01-18 07:44:42 +02:00
Sean
120797515f Bug 1927594 - Part 1: Introduce better CORP headers aboutCertError messages r=necko-reviewers,fluent-reviewers,kershaw,valentin,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D228072
2025-01-17 22:42:29 +00:00
Otto Länd
aaf2eb5329 Bug 1935609: apply code formatting via Lando
# ignore-this-changeset
2025-01-17 11:19:18 +00:00
Andreas Farre
3806855c63 Bug 1935609 - Part 1: Rename synced field to IsSyntheticDocumentContainer. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D234474
2025-01-17 11:16:36 +00:00
Cristina Horotan
5986f62c76 Backed out 2 changesets (bug 1927594) for causing bc failures at browser_aboutCertError_corp.js on a CLOSED TREE
Backed out changeset 839a0b0afda8 (bug 1927594)
Backed out changeset 69b747cc13d1 (bug 1927594)
2025-01-17 02:03:35 +02:00
Sean
86dd2ce1e1 Bug 1927594 - Part 1: Introduce better CORP headers aboutCertError messages r=necko-reviewers,fluent-reviewers,kershaw,valentin,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D228072
2025-01-16 20:24:45 +00:00
Stanca Serban
fbe03d7b93 Backed out changeset 4d8a1f790562 (bug 1915402) for causing mochitests failures in browser_UrlbarInput_formatValue.js. CLOSED TREE 2025-01-16 15:13:18 +02: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
Gijs Kruitbosch
d43764ac45 Bug 1915402 - use 127.0.0.1 for 0.0.0.0 access from the address bar to make life easier for web devs, r=valentin,mak
Differential Revision: https://phabricator.services.mozilla.com/D224116
2025-01-16 11:20:02 +00:00
Sandor Molnar
dccfdca702 Backed out 2 changesets (bug 1927594) for causing bc failures @ browser_aboutCertError_corp.js CLOSED TREE
Backed out changeset bc1b92ad914c (bug 1927594)
Backed out changeset de234c6a4a0a (bug 1927594)
2025-01-15 03:03:41 +02: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
Sean
52ca4d0dbf Bug 1927594 - Part 1: Introduce better CORP headers aboutCertError messages r=necko-reviewers,fluent-reviewers,kershaw,valentin,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D228072
2025-01-14 22:04:20 +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
Edgar Chen
b298946c00 Bug 1934807 - Consider file: URIs as the same domain for the purpose of frame navigation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D232451
2025-01-13 00:19:00 +00:00
Butkovits Atila
573c79c8f0 Backed out changeset 7d26eb9ace6e (bug 1927594) for causing failurfes at iframe-coep-disallow.h2.html. CLOSED TREE 2025-01-10 19:05:02 +02:00
Sean
a727d4fc52 Bug 1927594 - Part 1: Introduce better CORP headers aboutCertError messages r=necko-reviewers,fluent-reviewers,kershaw,valentin,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D228072
2025-01-10 14:52:06 +00:00
Thinker Li
2021399241 Bug 1903473 - Remove about:addons and about:config from about:about. r=geckoview-reviewers,owlish
For Android, "about:config" and "about:addons" are supposed to be
disabled on non-nightly builds. Here, we remove "about:config" and
"about:addons" from the "about:about" page and doesn't register them
for non-nightly builds.

Differential Revision: https://phabricator.services.mozilla.com/D232785
2025-01-08 01:17:31 +00:00
Alexandru Marc
d3a6a84fb2 Backed out 4 changesets (bug 1325876) for causing wd failures @ navigation.spec.js CLOSED TREE
Backed out changeset b29ef3f14bf7 (bug 1325876)
Backed out changeset f8add6e2ef93 (bug 1325876)
Backed out changeset 41cc884f84c1 (bug 1325876)
Backed out changeset 014c9c77393a (bug 1325876)
2024-12-21 04:41:41 +02:00
Sean
b0c2a57e0a Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D220193
2024-12-20 22:12:10 +00:00
Stanca Serban
29fc723e46 Backed out 4 changesets (bug 1325876) for causing wpt failures in 404-with-early-hints.h2.window.html. CLOSED TREE
Backed out changeset 1c2e847c0632 (bug 1325876)
Backed out changeset 8b56e7a25cdd (bug 1325876)
Backed out changeset 55446c955dbd (bug 1325876)
Backed out changeset a4ecb980de87 (bug 1325876)
2024-12-18 21:07:50 +02:00
Sean
b44e64d197 Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D220193
2024-12-18 15:54:19 +00:00
Norisz Fay
31b3da5965 Backed out 3 changesets (bug 1325876) for causing bc failures on browser_subdocument_downgrade.js CLOSED TREE
Backed out changeset aede2883237a (bug 1325876)
Backed out changeset decca0d92c74 (bug 1325876)
Backed out changeset 0bda3da380ac (bug 1325876)
2024-12-18 02:21:37 +02:00
Sean
3ed8e0bcce Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D220193
2024-12-17 21:01:08 +00:00
Yazan Al Macki
84e31c3d79 Bug 1924926 - Prevent search input ending in ideographic full stop character from being treated as url if there is no valid suffix. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D231875
2024-12-17 16:25:44 +00:00
Goloman Adrian
8d0f046600 Backed out 3 changesets (bug 1325876) for causing multiple bc failures.
Backed out changeset 10448d623bd4 (bug 1325876)
Backed out changeset 1092114b16b5 (bug 1325876)
Backed out changeset c0454be735a8 (bug 1325876)
2024-12-17 00:32:23 +02:00
Sean
70cdb54636 Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D220193
2024-12-16 20:36:38 +00:00
Goloman Adrian
8c75a42d06 Backed out 3 changesets (bug 1325876) for causing multiple failures. CLOSED TREE
Backed out changeset 4b1363236bcd (bug 1325876)
Backed out changeset b3c3a5d3c6b9 (bug 1325876)
Backed out changeset b5a8d01c0651 (bug 1325876)
2024-12-16 21:40:28 +02:00
Sean
5cca00d5b8 Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D220193
2024-12-16 17:57:16 +00:00
Moritz Beier
c23c9fde21 Bug 1911022 - Fix drag-and-drop of large amount of text on address bar causing hang on the parent process. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D231281
2024-12-13 10:29:27 +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
Masayuki Nakano
71ada507bb Bug 1680669 - part 6: Make methods of MouseEvent and static methods of Event aware of fractional coordinates r=smaug,emilio,webdriver-reviewers
`screenX`, `screenY`, `clientX`, `clientY`, `x`, `y`, `offsetX` and `offsetY`
are now `double`.  This patch makes the event classes aware of DOM events.

Currently, Chrome allows fractional values only for pointer events whose type
is not `click`, `auxclick` nor `contextmenu` (this exception is defined by the
Pointer Events spec).  Therefore, this patch follows them.

I'm not sure about the untrusted events of non-pointer events, `click`,
`auxclick` and `contextmenu`. Chrome does check whether it's trusted or not
before applying `std::floor` or `std::round` at getter methods (I think that
using `std::round` in `offsetX` and `offsetY` is their bug at least for
untrusted events).  This patch follows them for now but has a pref to allow
for all untrusted events.

Finally, for aligning to Chrome, this patch makes `click`, `auxclick` and
`contextmneu` keep using integer coordinates because it's recommended by the
Pointer Events spec.

Note that this changes the logic in `Event::GetPageCoords`.  It rounded the
client point and scroll point before adding them.  Similarly,
`Event::GetOffsetCoords` too.  It rounded the client point before transforming
it.  Therefore, in strictly speaking, this changes the behavior of other events
which keep returning integer coordinates.  However, I don't see any issues in
our CI.  So, for making the code simpler, let's use it and once we got some
regression reports caused by this, let's make them take additional param to
round the points to integer done in the traditional code.

Differential Revision: https://phabricator.services.mozilla.com/D222728
2024-12-03 07:10:05 +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