mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 21:50:42 -10:00
Right now, synthetic Responses did not have a valid channel info. When these were saved in the Cache, and then restored, the restored Response did have a ChannelInfo, but that ChannelInfo did not have a valid security info. Passing this to respondWith() then caused the interception to fail. This patch modifies Response::Constructor() to initialize its ChannelInfo from the global. ChannelInfo can now initialize itself from a nsIDocument. All workers now store their ChannelInfo on the WorkerLoadInfo.