Closed Bug 236865 Opened 21 years ago Closed 10 years ago

Factor URI-List preference parsing into a common service

Categories

(Core :: Networking, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: darin.moz, Unassigned)

Details

Attachments

(1 file)

Factor URI-List preference parsing into a common service. We have several places in necko (and related code) that parsed a list of base URIs or domain names and matches a nsIURI against those lists. We should pool this code together into a single service. While it might be nice to come up with some uber-management system a'la security zones for this kind of thing, I think it makes sense to unify the code in the meantime. Here's the URI lists I'm thinking of: nsProtocolProxyService - no-proxies-on preference nsDNSService2 - ipv4 only domains negotiate-auth - trusted uris, delegation uris Others that could use this: pipelining - support site blacklisting There may be other prefs that could be managed in a similar way. I'll attach a rough v0 unfinished patch.
Severity: normal → enhancement
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8alpha
now that nsIPermissionManager lives in necko, we might want to (re-)consider using it for managing these capability lists.
Target Milestone: mozilla1.8alpha1 → Future
Assignee: darin → nobody
Status: ASSIGNED → NEW
QA Contact: benc → networking
Target Milestone: Future → ---
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: