[webkit-dev] support for navigator.cores or navigator.hardwareConcurrency
cabanier at gmail.com
Mon May 5 18:13:28 PDT 2014
On Mon, May 5, 2014 at 5:52 PM, Simon Fraser <simon.fraser at apple.com> wrote:
> It allows attackers to know even more about my system, exposing more data
> for fingerprinting.
People can already approximate this today. Approximations are fuzzy so this
might hurt performance if you're not a popular platform or change how the
browser implements workers.
> Do you really want a page to know that you have a fancy-pants 24-core Mac
> Pro rather than a little Mac mini?
If I have 24 cores ready to do work and the page can put them to use, I
would like it to do so.
At the same time, if I just have a old mac mini, I don't want the page to
launch 24 workers as that will exhaust my memory and cause contention.
> On May 5, 2014, at 4:58 PM, Filip Pizlo <fpizlo at apple.com> wrote:
> I like this. Personally, I don't see any downside.
> Is there a bug (on bugs.webkit.org), and if not, can you create one? :-)
> On May 5, 2014 at 4:49:35 PM, Rik Cabanier (cabanier at gmail.com) wrote:
> there's a thread on blink-dev  and whatwg  to create a new parameter
> on the navigator object that returns the maximum number of tasks that can
> run in parallel. 
> Is this something that WebKit would support?
> 3: http://wiki.whatwg.org/wiki/NavigatorCores
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev