Moonchild
cdc8127cd1
[network] Stop accepting nameless cookies.
2025-07-25 07:32:29 +08:00
Moonchild
2e1c487563
Issue #2670 - Compute baseDomain when cookies are read from the database
...
baseDomain is used as a key for cookies in a hashmap. For cookie
operations to work properly, the baseDomain generation must be reliable.
This is, however, not the case, because the result can change by updates
to the public suffix list (PSL).
Since the stored baseDomain is not reliable, the value must be recomputed
when the database is read. This causes a minor performance hit but is
needed if we want to keep abreast of PSL changes without clobbering the
cookies database.
Resolves #2670
2024-12-28 21:53:30 +08:00
Moonchild
d69e2a3779
Issue #2672 - Part 4: Prevent db access while rebuilding is underway.
2024-12-28 21:52:29 +08:00
Moonchild
032b0ae0d8
Issue #2672 - Part 3: Ensure thread lifetimes are in tandem.
2024-12-28 21:52:05 +08:00
Moonchild
fe53a0bb1c
Issue #2672 - Part 2: Auto-close syncConn for edge cases.
2024-12-28 21:51:39 +08:00
Moonchild
aec27853c6
Issue #2672 - Part 1: Load nsCookieService OMT and use sync reads.
...
No more lazy-loading on the main thread, thanks. Everyone needs this.
2024-12-28 21:51:14 +08:00
Martok
334de9ffcc
Issue #1787 - Follow-up: remove no longer used AppClearDataObserver.
2024-12-20 13:43:05 +08:00
Moonchild
ff89fee91d
Issue #1787 - Remove nsIAppsService, mozIApplication and mozapp data cleanup.
2024-11-21 21:09:05 +08:00
Moonchild
7b6e3a2d4a
Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser.
...
This removes a lot of the plumbing for having the platform embed itself
through IPC which was required for B2G running the browser as both
shell and browser application.
2024-11-21 21:01:27 +08:00
Moonchild
9759098329
[network] Add additional cookie setting checks.
...
Added checks for sub-document navigations from cross-site to same-site in
third-party checks when setting a cookie.
2024-07-10 14:54:46 +08:00
Moonchild
bfb171c783
[network] Perform a case-insensitive match on special cookie prefixes.
2024-06-12 15:11:50 +08:00
Moonchild
38f8fde3e3
[network] Block more invalid cookie name characters.
...
This blocks the following characters from use in the cookie name:
0x3B (semi-colon), 0x3D (equals) and 0x7F (del)
2023-10-26 10:51:50 +08:00
Moonchild
f54f007d47
[network] Align cookie checks with RFC 6265 (bis)
2022-12-16 11:25:15 +08:00
Moonchild
91b51a6509
[network] Reject cookies with no name and a __Secure- or __Host- prefix
2022-09-22 10:19:10 +08:00
Moonchild
30df895eb2
Issue #1656 - Part 3: Nuke more vim config lines in the tree.
...
Another S&R run with some smarter matching.
2020-09-25 22:04:17 +08:00
adeshkp
aea50f182f
Telemetry: Remove stubs and related code
2019-02-16 00:24:04 +08:00
wolfbeast
57251fc4e7
Clean up a number of unused variables.
...
Tag #21 .
2019-02-16 00:14:50 +08:00
wolfbeast
ad782894c8
Remove all C++ telemetry autotimers
2019-02-16 00:12:34 +08:00
wolfbeast
8c8145e620
Remove all C++ Telemetry Accumulation calls.
...
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2019-02-16 00:12:32 +08:00
wolfbeast
b74e38782d
Port our stricter cookie gating.
...
This addresses the critical section of #449 .
2019-02-16 00:00:52 +08:00
Roy Tam
dcd9973243
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
2018-01-19 03:59:58 +08:00