Open Bug 1425889 Opened 7 years ago Updated 2 years ago

Make sure a single URI mutator instance is used strictly on a single thread

Categories

(Core :: Networking, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox59 --- affected

People

(Reporter: mayhemer, Unassigned)

References

Details

(Whiteboard: [necko-triaged])

I think we are missing assertions here. The mutator was invented to allow immutability and thread safety of our URIs. But we don't ensure thread safety of the mutator. I think the simplest would be to add assertions that each method (since creation) is used on just a single thread, to make sure that mutators don't travel cross-thread.
Blocks: OMT-nsIURI
Hi Valentin, Could you take this bug? Thanks.
Flags: needinfo?(valentin.gosu)
Assignee: nobody → valentin.gosu
Flags: needinfo?(valentin.gosu)
Priority: -- → P2
Whiteboard: [necko-triaged]
Assignee: valentin.gosu → nobody
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.