Bug 1325915 - Part 2, update comment for reseting event target of event queue after the completion of ServiceWorker interception. r=mayhemer

MozReview-Commit-ID: Dc2TbCwQfpO

--HG--
extra : rebase_source : f1a882bac48f03b8fadda430f84027c4c3ace010
This commit is contained in:
Shih-Chiang Chien 2017-02-07 16:56:06 +08:00
parent 4d6af6c71e
commit 4b485ef935

View File

@ -1205,8 +1205,8 @@ HttpChannelChild::RecvFinishInterceptedRedirect()
RefPtr<HttpChannelChild> self(this);
Send__delete__(this);
// Reset the event target to which queued messages are delivered. Otherwise
// we'll get an assertion when we re-use the channel later on.
// Reset the event target since the IPC actor is about to be destroyed.
// Following channel event should be handled on main thread.
mEventQ->ResetDeliveryTarget();
// The IPDL connection was torn down by a interception logic in