One things operating systems do that I wish browsers would emulate is per-process memory management. Even with the excellent work on memory management in Firefox 3, long-running javascript apps can fragment the browser's heap such that memory can't be reclaimed after the page (but not the browser) is closed.