gecko-dev/ipc
Nika Layzell 793f001a6e Bug 1914594 - Move docshell.newWindowTarget to be on LoadInfo, r=necko-reviewers,kershaw
Previously, this was passed around using the nsHashPropertyBag base
class on HTTP channels. In bug 1907269, this base was added to
nsExtProtocolChannel to support reading this property for external
protocols.

This unfortunately ended up not working when a HTTP channel redirects to
an external protocol, as the hash property propagation logic in
nsHttpChannel happens after the check that the target channel is a HTTP
channel, so the property was lost when redirecting to an external
protocol.

Rather than refactoring HTTP redirect logic, this patch simplifies by
moving the property onto the LoadInfo where it will be trivially
preserved across redirects, and available in the places which need it.

Because the nsHashPropertyBag base is no longer required for
nsExtProtocolChannel, it is also removed.

Differential Revision: https://phabricator.services.mozilla.com/D220744
2024-09-03 16:00:23 +00:00
..
app Bug 1908725 - Part 5: Add additional validation for early-startup command line checks, r=ipc-reviewers,mccr8 2024-08-07 20:39:41 +00:00
chromium Bug 1454819 - Simplify SharedMemory classes r=ipc-reviewers,nika 2024-08-06 18:16:08 +00:00
docs Bug 1915550 - Fix unknown target name issues in rst documents. r=sylvestre,profiler-reviewers,canaltinova 2024-09-02 14:38:08 +00:00
glue Bug 1914594 - Move docshell.newWindowTarget to be on LoadInfo, r=necko-reviewers,kershaw 2024-09-03 16:00:23 +00:00
gtest Bug 1454819 - Simplify SharedMemory classes r=ipc-reviewers,nika 2024-08-06 18:16:08 +00:00
ipdl Bug 1908725 - Part 2: Make the ChildID available in the same places as OtherPid, r=ipc-reviewers,media-playback-reviewers,win-reviewers,alwu,rkraesig,gfx-reviewers,mccr8,nical 2024-08-07 20:39:39 +00:00
mscom Bug 1901554 p1: Call CoTaskMemFree directly from combase.dll for MFTEncoder. r=padenot 2024-06-14 10:39:55 +00:00
testshell Bug 1895661 - Part 1: Move GC zeal functions to JS namespace and add separate constants for browser and shell frequency r=sfink 2024-05-13 16:31:20 +00:00
moz.build Backed out 2 changesets (bug 1834172, bug 1827747) for breaking local artifacts . a=backout 2023-05-22 12:42:00 +03:00
pull-chromium.py Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato 2023-09-06 16:14:30 +00:00