> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
>
Is there any reason why --enable-memory-info is required?
Couldn't it be enabled by default?
Very cool demo!
>
> Is there any reason why --enable-memory-info is required?
> Couldn't it be enabled by default?
Some background here:
http://www.mail-archive.com/webki...@lists.webkit.org/msg11479.html
On 21 September 2010 08:56, Mikhail Naganov <mnag...@chromium.org> wrote:
> Hi Ricardo,
>
> This feature is hidden behind a flag mostly because of security
> considerations. As the memory reported is for the whole VM, another
> page (or iframe) even from other domain, can access these stats about
> your site, which is considered dangerous.
>
> BTW, memory info is implemented in WebKit, so it's possible to access
> memory stats in Safari, too. You need the latest WebKit version. To
> make stats available, open
> ~/Library/Preferences/com.apple.Safari.plist file for editing, and add
> & set enabled a boolean preference WebKitMemoryInfoEnabled (see
> attach).