-
- Downloads
Bug 1842030 - Part 2: Check the global private browsing state for...
Bug 1842030 - Part 2: Check the global private browsing state for HttpBaseChannel::IsBrowsingContextDiscarded() if the loadGroup is not avaiable. r=necko-reviewers,jesup The HttpBaseChannel::IsBrowsingContextDiscarded() did always return false if the loadGroup is not avaiable. But, this may not be correct for the private channels if the private session has been ended. To fix this, we make the function to check the global private browsing state if the loadGroup is not available for private channels. Depends on D184010 Differential Revision: https://phabricator.services.mozilla.com/D184479
Showing
- netwerk/protocol/http/HttpBaseChannel.cpp 17 additions, 1 deletionnetwerk/protocol/http/HttpBaseChannel.cpp
- netwerk/protocol/http/HttpBaseChannel.h 1 addition, 0 deletionsnetwerk/protocol/http/HttpBaseChannel.h
- netwerk/protocol/http/HttpChannelParent.cpp 12 additions, 0 deletionsnetwerk/protocol/http/HttpChannelParent.cpp
- netwerk/test/unit/test_cookiejars.js 17 additions, 0 deletionsnetwerk/test/unit/test_cookiejars.js
- netwerk/test/unit_ipc/test_cookiejars_wrap.js 4 additions, 0 deletionsnetwerk/test/unit_ipc/test_cookiejars_wrap.js
Loading
Please sign in to comment