[webkit-dev] FrameLoader forwarding calls to FrameLoaderClient

2010-09-01 Thread Nate Chapin
In looking at ways to decrease the agony associated with FrameLoader, I've noticed that there are a whole of 1-line functions on FrameLoader that just call a similarly named function on FrameLoaderClient without accessing any member variables other than m_client. On the one hand, removing these fo

[webkit-dev] landed

2010-10-01 Thread Nate Chapin
This is a few days late, but I just wanted to let the team know that, as of http://trac.webkit.org/changeset/68166, WebKit can support (but support is disabled by default). The reason I left it disabled by d

Re: [webkit-dev] Question regarding priorities of subresource content retrieval

2011-02-07 Thread Nate Chapin
The default prioritization is found here: http://trac.webkit.org/browser/trunk/Source/WebCore/loader/cache/CachedResource.cpp#L51. There are cases where we override this (e.g., I'm pretty sure we load favicons at a lower priority than other images) On Mon, Feb 7, 2011 at 11:44 AM, Adam Barth wrot

Re: [webkit-dev] About WebKit memory cache

2012-03-26 Thread Nate Chapin
On Fri, Mar 23, 2012 at 7:48 PM, gaorock wrote: > Hi all > > Sometimes I met crashes about memory cache, and I traced them and found a > bit doubt: > > Should we use > typedef HashMap> CachedResourceMap; > instead of > typedef HashMap CachedResourceMap;? > CachedResource doesn't support referen

Re: [webkit-dev] WebCore's ResourceLoader

2012-04-23 Thread Nate Chapin
You can do a non-cached resource load still, I just haven't figured out where to document it. Suggestions welcome :-) It's possible via CachedRawResource. When you call CachedResourceLoader::requestRawResource(), the DataBufferingPolicy in the ResourceLoaderOptions parameter should be DoNotBuffe

[webkit-dev] Renaming WebCore/dom/ClassNames

2009-12-07 Thread Nate Chapin
(https://bugs.webkit.org/show_bug.cgi?id=32250 is the relevant bug) Summary: ClassNames used to be used only for class names, but its behavior meets the requirements for HTML5's strings of space separated tokens. If folks are ok with it, I'd like to rename ClassNames to something more generic so