Put a limit on the number of entries in the CSP cache

RESOLVED WONTFIX

Status

()

RESOLVED WONTFIX
5 years ago
3 years ago

People

(Reporter: justin.lebar+bug, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [MemShrink:P2] [domsecurity-backlog])

(Reporter)

Description

5 years ago
+++ This bug was initially created as a clone of Bug #897741 +++

Looking through the CSP cache code, it appears that there's no limit on the number of items stored in the CSP cache.

I guess the cache is per-document, which is why this was deemed acceptable.  But in fact, we have a few documents in B2G which live forever (until Gecko reboots).  Unbounded growth of anything (even something very small) in one of these documents is a serious bug.
Whiteboard: [MemShrink] → [MemShrink:P2]
Paul, I suppose we can mark this as a WONTFIX, right?
Component: Security → DOM: Security
Flags: needinfo?(ptheriault)
Whiteboard: [MemShrink:P2] → [MemShrink:P2] [domsecurity-backlog]
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(ptheriault)
Resolution: --- → INVALID
Resolution: INVALID → WONTFIX
You need to log in before you can comment on or make changes to this bug.