Changeset 87106 in webkit


Ignore:
Timestamp:
May 23, 2011 4:50:21 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-23 Gavin Peters <gavinp@chromium.org>

Reviewed by Adam Barth.

fix rel=prerender target types
https://bugs.webkit.org/show_bug.cgi?id=61297

The original fix in https://bugs.webkit.org/show_bug.cgi?id=61079
didn't properly map the target type, and didn't carry the target
types through to chromium properly. Fixed.

No new tests; it's very hard to catch these with a layout test, however
all of the chromium Prerender browser tests will test this functionality
when I land an upcoming chromium CL.

  • loader/cache/CachedResourceRequest.cpp: (WebCore::cachedResourceTypeToTargetType):

2011-05-23 Gavin Peters <gavinp@chromium.org>

Reviewed by Adam Barth.

fix rel=prerender target types
https://bugs.webkit.org/show_bug.cgi?id=61297

The original fix in https://bugs.webkit.org/show_bug.cgi?id=61079
didn't properly map the target type, and didn't carry the target
types through to chromium properly. Fixed.

No new tests; it's very hard to catch these with a layout test, however
all of the chromium Prerender browser tests will test this functionality
when I land an upcoming chromium CL.

  • public/WebURLRequest.h:
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r87103 r87106  
     12011-05-23  Gavin Peters  <gavinp@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        fix rel=prerender target types
     6        https://bugs.webkit.org/show_bug.cgi?id=61297
     7
     8        The original fix in https://bugs.webkit.org/show_bug.cgi?id=61079
     9        didn't properly map the target type, and didn't carry the target
     10        types through to chromium properly.  Fixed.
     11
     12        No new tests; it's very hard to catch these with a layout test, however
     13        all of the chromium Prerender browser tests will test this functionality
     14        when I land an upcoming chromium CL.
     15
     16        * loader/cache/CachedResourceRequest.cpp:
     17        (WebCore::cachedResourceTypeToTargetType):
     18
    1192011-05-23  Matthew Delaney  <mdelaney@apple.com>
    220
  • trunk/Source/WebCore/loader/cache/CachedResourceRequest.cpp

    r87020 r87106  
    6464        return ResourceRequest::TargetIsPrefetch;
    6565    case CachedResource::LinkPrerender:
    66         return ResourceRequest::TargetIsSubresource;
     66        return ResourceRequest::TargetIsPrerender;
    6767    case CachedResource::LinkSubresource:
    6868        return ResourceRequest::TargetIsSubresource;
  • trunk/Source/WebKit/chromium/ChangeLog

    r87097 r87106  
     12011-05-23  Gavin Peters  <gavinp@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        fix rel=prerender target types
     6        https://bugs.webkit.org/show_bug.cgi?id=61297
     7
     8        The original fix in https://bugs.webkit.org/show_bug.cgi?id=61079
     9        didn't properly map the target type, and didn't carry the target
     10        types through to chromium properly.  Fixed.
     11
     12        No new tests; it's very hard to catch these with a layout test, however
     13        all of the chromium Prerender browser tests will test this functionality
     14        when I land an upcoming chromium CL.
     15
     16        * public/WebURLRequest.h:
     17
    1182011-05-23  Tony Chang  <tony@chromium.org>
    219
  • trunk/Source/WebKit/chromium/public/WebURLRequest.h

    r87015 r87106  
    7070        TargetIsSharedWorker = 10,
    7171        TargetIsPrefetch = 11,
    72         TargetIsFavicon = 12,
     72        TargetIsPrerender = 12,
     73        TargetIsFavicon = 13,
    7374    };
    7475
Note: See TracChangeset for help on using the changeset viewer.