fune/toolkit/components/extensions/webrequest
Kris Maglione bef381375c Bug 1430508: Return 0 for ProcessId() when channel IPC is closed. r=dragana
There are some corner cases where we try to attach StreamFilter endpoints to a
channel after its IPC has been closed from from the other side, but request
listeners haven't been notified. This causes crashes in any of several places.

This patch changes nsHttpChannel::ProcessId to return 0 when IPC is closed, so
callers can detect that it's no longer possible to attach endpoints to it.

MozReview-Commit-ID: BZTOqezih0P

--HG--
extra : rebase_source : dfdb5bf7a11fccea51a1fbb161e688f10167da30
2018-01-14 17:40:09 -08:00
..
ChannelWrapper.cpp Bug 1149250 add support for https upgrades from webextensions, r=bz,mayhemer,rpl 2017-12-08 12:12:37 -08:00
ChannelWrapper.h Bug 1149250 add support for https upgrades from webextensions, r=bz,mayhemer,rpl 2017-12-08 12:12:37 -08:00
moz.build Bug 1402944: Part 7 - Move traceable channel registration to ChannelWrapper. r=mixedpuppy,ehsan 2017-09-27 18:15:39 -07:00
PStreamFilter.ipdl Bug 1255894: Part 10 - Move StreamFilterParent to necko child process. r=billm,dragana 2017-09-07 17:28:27 -07:00
StreamFilter.cpp Bug 1418048 - Add a callback-based Send API to async returning IPDL methods, r=billm 2017-11-20 17:55:32 -05:00
StreamFilter.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
StreamFilterBase.h Bug 1255894: Part 4 - Implement StreamFilter IPC protocol. r=baku,mixedpuppy 2017-09-03 13:45:03 -07:00
StreamFilterChild.cpp Backed out changeset 209df98be467 (bug 1398120) for frequently failing on toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html r=backout, a=backout on a CLOSED TREE 2017-11-03 14:35:44 +02:00
StreamFilterChild.h Bug 1405506: Flush buffered data when disconnecting suspended channel. r=mixedpuppy 2017-10-31 18:19:40 -07:00
StreamFilterEvents.cpp Bug 1255894: Part 6 - Implement StreamFilter DOM bindings. r=baku,mixedpuppy 2017-08-27 19:51:36 -07:00
StreamFilterEvents.h Bug 1255894: Follow-up: Fix Android build error. CLOSED TREE 2017-09-03 15:37:42 -07:00
StreamFilterParent.cpp Bug 1430508: Return 0 for ProcessId() when channel IPC is closed. r=dragana 2018-01-14 17:40:09 -08:00
StreamFilterParent.h Bug 1405286: Part 2 - Ensure ordered processing of StreamFilter events. r=mixedpuppy 2017-10-14 18:58:53 -07:00
WebRequestService.cpp Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
WebRequestService.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00