Closed Bug 400092 Opened 17 years ago Closed 17 years ago

Expand permission manager type limits

Categories

(Core :: Networking, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9beta2

People

(Reporter: dveditz, Assigned: dwitte)

References

Details

(Whiteboard: [fixed per bug 400097])

The current Permission Manager implementation is limited to eight "types". We were already using four that I know of in Firefox2 (cookie, image, popup, install), offline-apps are using another (almost used two before we noticed the limit), XForms uses another ("xforms-xd"), and who knows how many extensions.

Once the Permission Manager has eight strings in its list it simply won't store any more.

While we're at it we should reconsider whether 15 permissions is a large enough limit (and whether the prohibition on 0 values is reasonable).

Both limits appear to be based on memory-use concerns, although in the case of permissions there's currently room for up to 256 values.

Expanding either of these limits might raise problems if the hostperm.1 file were shared between a FF2 and a FF3 profile -- the older build would drop any entries that exceeded either limit. We may have to rev the file anyway to address some IDN concerns I'm going to file in a separate bug.
Flags: blocking1.9?
The IDN concerns are in bug 400097
-> me
Assignee: nobody → dwitte
blocking+ for the potential dataloss issues.
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Priority: P2 → P3
Target Milestone: --- → mozilla1.9 M10
fixed per bug 400097.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Depends on: 400097
Whiteboard: [fixed per bug 400097]
You need to log in before you can comment on or make changes to this bug.