Open Bug 1886237 Opened 1 year ago Updated 1 year ago

Determine if TRRServiceChannel calling OnStopRequest OMT is safe

Categories

(Core :: Networking: HTTP, task, P2)

task

Tracking

()

People

(Reporter: jesup, Assigned: jesup)

References

Details

(Whiteboard: [necko-triaged])

In bug 1356686 we found that TRRServiceChannel is calling OnStopRequest on the TRR thread, instead of the normal MainThread.
The concern is that consumers of this method may well assume that it's always called on MT.

Determine if this is ok, and if there are any alternatives (DispatchToMainThread?) If we must do this, figure out how to ensure it stays safe

It's safe since there's only one consumer and this is part of the reason for TRRService. Decision is to document this in nsIRequestObserver/etc.

Assignee: nobody → rjesup
Flags: needinfo?(rjesup)
Flags: needinfo?(rjesup)
Whiteboard: [necko-triaged][necko-priority-new] → [necko-triaged]
You need to log in before you can comment on or make changes to this bug.