<table><tr><td style="">fvogt created this revision.<br />fvogt added reviewers: Plasma, broulik.<br />Herald added a project: Plasma.<br />fvogt requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15984">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This works around a firefox bug which causes sockets to internet addresses to<br />
get inherited by native host processes. Those are listed as outgoing<br />
connections opened by plasma-browser-integration-host in netstat/ss.</p>

<p>CCBUG: 399449</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Checked with ss -ap | grep plasma and also<br />
ll /proc/$(pidof plasma-browser-integration)/fd/ after starting firefox.<br />
No inherited sockets anymore.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R856 Plasma Browser Integration</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15984">https://phabricator.kde.org/D15984</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>host/main.cpp</div></div></div><br /><div><strong>To: </strong>fvogt, Plasma, broulik<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>