LadybirdBrowser / ladybird

Truly independent web browser
https://ladybird.org
BSD 2-Clause "Simplified" License
19.99k stars 827 forks source link

Site isolation #302

Open awesomekling opened 3 months ago

awesomekling commented 3 months ago

We should implement site isolation, where each site (scheme + domain + port) gets its own WebContent process, and code from each origin only runs in that process.

When one site embeds an iframe from another site, we'll have two WebContent processes who will have to coordinate communication, layout, rendering, input, etc.

Here's how they've done it in Chromium: https://www.chromium.org/Home/chromium-security/site-isolation/