1,293 karma · joined May 8, 2012
One part of Quantum, which does not have anything to do with Rust, is to figure out how we can spend less time running unimportant JS (like maybe in a background tab), which will hopefully reduce CPU usage.
That said, I believe IE does some concurrent marking, so there is certainly room for improvement.
As for PDF, the PDF viewers shipped in browsers seem to be much more hardened against attack than the stand alone ones people use, so as a practical matter, including a PDF viewer helps keep users safe.
[1] https://chrome.googleblog.com/2016/08/flash-and-chrome.html
[2] https://blog.mozilla.org/futurereleases/2016/07/20/reducing-...
I've heard that some people set Firefox to not autorestore tabs on load, and then periodically close and reopen Firefox, so their background tabs aren't loaded. Pretty clumsy, but I guess it gets the job done. I don't know if there's any addons that do something similar.
https://support.google.com/chrome/answer/95656?hl=en
From that page it sounds like it is on by default.
(Even process-per-tab is not perfect for security: a compromised page from one origin could open an iframe to another origin.)
The features WebKit needs to keep around to continue to work with many websites are presumably about the same as those Firefox felt it had to implement to work with many websites.
(Disclaimer: I work on Firefox.)
https://www.google.com/?gws_rd=ssl#q=site:news.ycombinator.c...
In short, it says that the prefix set uses less memory than a bloom filter.
People already "hammer on the entire JavaScript API with invalid parameters". That's what fuzzing is, and yes, it does find implementation errors which can lead to security problems.
For instance, somebody just landed a pretty tricky bit of code to fix a severe incremental GC performance fault he'd been experiencing with a lot of tabs open (disclaimer: I reviewed the patch): https://bugzilla.mozilla.org/show_bug.cgi?id=1214961