[webkit-dev] Query regarding MemoryCache.cpp evict function

2012-02-09 Thread Abhishek Sikdar
I am currently working on a local JS based web application running on the Webkit engine. To save some memory I forcibly called the evict function in MemoryCache.cpp and called that from an API and used it to remove the local WebUI files (Images, CSS and JS) just when the page finished loading. On

Re: [webkit-dev] Query regarding MemoryCache.cpp evict function

2012-02-09 Thread Evan Martin
This stack overflow thread discusses, with man page citations, why code that frees memory may not necessarily lower a process's RSS. http://stackoverflow.com/questions/7522284/insanity-is-free On Thu, Feb 9, 2012 at 3:23 AM, Abhishek Sikdar abhid2...@gmail.com wrote: I am currently working on

Re: [webkit-dev] Web Notifications API

2012-02-09 Thread Jon Lee
On Feb 8, 2012, at 5:41 PM, John Gregg wrote: 3. Use static functions on the notification constructor for permissions checks. By moving them there, it allows us to remove window.webkitNotifications and the NotificationCenter class, cleaning up the API. I think that would be consistent

Re: [webkit-dev] How to interpret repaint test results?

2012-02-09 Thread Drew
I searched code and found that the repaint rects are only enabled and used on Mac. Chromium just paint the gray mask in layoutTestController.display() and let the later repaints to clear the mask automatically. Haven't check how other platforms do, but I think the different implementations cause

Re: [webkit-dev] How to interpret repaint test results?

2012-02-09 Thread Simon Fraser
On Feb 9, 2012, at 7:03 PM, Xianzhu (Drew) Wang 王显著 wrote: I searched code and found that the repaint rects are only enabled and used on Mac. Chromium just paint the gray mask in layoutTestController.display() and let the later repaints to clear the mask automatically. Haven't check how

Re: [webkit-dev] Web Notifications API

2012-02-09 Thread Andrew Wilson
On Wed, Feb 8, 2012 at 4:58 PM, Jon Lee jon...@apple.com wrote: Hi WebKit! I am interested in refactoring the API for web notifications, and would like your feedback. We are working on getting permission to join the Web Notifications working group, but thought that while doing that I could

Re: [webkit-dev] How to interpret repaint test results?

2012-02-09 Thread Drew
On Thu, Feb 9, 2012 at 10:33 AM, Simon Fraser simon.fra...@apple.comwrote: On Feb 9, 2012, at 7:03 PM, Xianzhu (Drew) Wang 王显著 wrote: I searched code and found that the repaint rects are only enabled and used on Mac. Chromium just paint the gray mask in layoutTestController.display() and let

Re: [webkit-dev] Web Notifications API

2012-02-09 Thread Andrew Wilson
On Thu, Feb 9, 2012 at 9:53 AM, Jon Lee jon...@apple.com wrote: On Feb 8, 2012, at 5:41 PM, John Gregg wrote: 3. Use static functions on the notification constructor for permissions checks. By moving them there, it allows us to remove window.webkitNotifications and the NotificationCenter

Re: [webkit-dev] Web Notifications API

2012-02-09 Thread John Gregg
On Thu, Feb 9, 2012 at 9:53 AM, Jon Lee jon...@apple.com wrote: On Feb 8, 2012, at 5:41 PM, John Gregg wrote: 3. Use static functions on the notification constructor for permissions checks. By moving them there, it allows us to remove window.webkitNotifications and the NotificationCenter

Re: [webkit-dev] Removing HTML notifications from WebKit (Was: Web Notifications API)

2012-02-09 Thread Aaron Boodman
On Wed, Feb 8, 2012 at 7:50 PM, Maciej Stachowiak m...@apple.com wrote: On Feb 8, 2012, at 6:15 PM, Aaron Boodman wrote: On Wed, Feb 8, 2012 at 4:58 PM, Jon Lee jon...@apple.com wrote: 2. Remove HTML notifications. It has been removed from the spec, and we don't intend on ever supporting

[webkit-dev] [Webkit-dev] Webkit not compiled with WebGL Enabled

2012-02-09 Thread ketan goyal
Hi, I am building webkit with *WebGL Enabled *in windows for *WIN32* port but i am getting errors . One of them is *'validateAttributes' : is not a member of 'WebCore::GraphicsContext3D'* which should be defined in *GraphicsContext3D.h* but in this file the declaration is this way *#if*