Open
Bug 1228131
Opened 9 years ago
Updated 2 years ago
Remove mutator functions from nsIURI and derived interfaces
Categories
(Core :: Networking, defect, P3)
Core
Networking
Tracking
()
NEW
People
(Reporter: sicking, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-backlog])
The fact that nsIURIs can be mutated makes them impossible to safely use on multiple threads.
It also means that they are actually unsafe for a whole set of other things. Currently we mainly solve this by "being careful".
So we should replace the various setters with createCloneWithDifferentX functions. I.e. replace the host setter with a createCloneWithDifferentHost(nsCAString& aHost) function (or with an appropriate name).
We should probably do this as a two-step process where we first add the createClone functions, and then give addon authors a release or two to update their code, and then remove the setters.
Updated•9 years ago
|
Whiteboard: [necko-backlog]
Comment 1•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 2•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Updated•2 years ago
|
Severity: normal → S3
Comment 3•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: jonas → nobody
You need to log in
before you can comment on or make changes to this bug.
Description
•