


WebKit2 API Layer Brings Split-Process Model 95
99BottlesOfBeerInMyF writes "Anders Carlsson and Sam Weinig over at Apple just announced WebKit2, a rework of the WebKit engine that powers Chrome and Safari. This new version of WebKit incorporates the same style of split-process model that provides stability in Chrome, but built directly into the framework so all browsers based upon WebKit will be able to gain the same level of sandboxing and stability. AppleInsider has a writeup, and the team has provided 'high level documentation' as well. Both Palm and the Epiphany team are going to be happy about this."
Re:Yay! Sandboxes! (Score:3, Interesting)
Still, whenever a Tab hangs in my Chromium, usually most, or all other tab dies as well, occasionally entire chromium.
Re:Is there a sandbox for sandbox? (Score:5, Interesting)
So, is there a way to run all of those processes inside a one big process?
Not on most operating systems, no. This is a major flaw (I actually gave a talk about this and proposed a language extension that takes advantage of it a couple of weeks ago) in most modern systems. It's particularly embarrassing because several mainframe operating systems did support this idea back in the early '70s.
The browser should not be doing this, it should be the job of the OS. Operating systems have a much better track record of isolating processes from each other. A process should be able to create subprocesses that have a subset of the capabilities of the parent and can not interact with the system without going via the parent. The isolation could then be trivially enforced by the MMU, without requiring (slow, complex, buggy, insecure) software implementations.
Re:Is there a sandbox for sandbox? (Score:2, Interesting)
Re:Yay! Sandboxes! (Score:1, Interesting)
Do people just make shit up about Chrome? I don't get it. A month ago one person claimed on Slashdot that Chrome caused DNS failure, another that it pegged the CPU when downloading. Both got modded Informative. Both were proven wrong, as was immediately obvious to anyone who has used Chrome.
So now you claim that tab process load freezes Chrome (and its subprocesses). I haven't heard of it. I haven't experienced it, after being forced to close unresponding Chrome tabs 30-40 times. Not on my ancient single-core PC, nor my multi-core gaming system. I don't have *any* plugins except Flash installed, and only 1 extension (FlashBlock). Are you absolutely sure it's not Flash/PDF/[Silver/Moon]light plugins that are freezing Chrome?