Closed Bug 989071 Opened 11 years ago Closed 11 years ago

Correct comment for nsIThreadRetargetableRequest.retargetDeliveryTo()

Categories

(Core :: Networking: WebSockets, enhancement)

25 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: sworkman, Assigned: sworkman)

Details

Attachments

(1 file)

Follow up to bug 925623. We need to change nsIThreadRetargetableRequest to mention when it's OK to call for websockets--there is no OnStartRequest, so instead we need language like "before AsyncOpen if a nsIWebsocketChannel, or during OnStartRequest for nsIHttpChannels)."
Comment on attachment 8398120 [details] [diff] [review] Correct comment for nsIThreadRetargetableRequest.retargetDeliveryTo() Review of attachment 8398120 [details] [diff] [review]: ----------------------------------------------------------------- ::: netwerk/base/public/nsIThreadRetargetableRequest.idl @@ +20,5 @@ > /** > * Called to retarget delivery of OnDataAvailable to another thread. Should > + * only be called before AsyncOpen for nsIWebsocketChannels, or during > + * OnStartRequest for nsIHttpChannels. > + * Note: OnStartRequest and OnStopRequest will still be delivered on the main Note: for nsIHttpChannels, OnStartRequest and OnStopRequest will still be delivered on the main thread
Attachment #8398120 - Flags: review?(jduell.mcbugs) → review+
Land this with DONTBUILD in the commit comment so we don't burn a try cycle on it.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: