Open Bug 677281 Opened 13 years ago Updated 2 years ago

Make URI objects immutable

Categories

(Core :: Networking, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

Details

(Whiteboard: [necko-would-take])

Setters would return an nsIURI.

This would let us remove the various NS_TryToSetImmutable gunk and fix some current bugs where we accidentally mutate an nsIURI someone else is using.

This probably involves making nsIURI object creation fast.
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.