Closed Bug 906731 Opened 11 years ago Closed 8 years ago

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

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: justin.lebar+bug, Unassigned)

Details

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

+++ 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
Closed: 8 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.