Changeset 127680 in webkit


Ignore:
Timestamp:
Sep 5, 2012 7:12:39 PM (12 years ago)
Author:
jason.liu@torchmobile.com.cn
Message:

[BlackBerry] Remove feature about:cache/disable and about:cache/enable
https://bugs.webkit.org/show_bug.cgi?id=95820

Reviewed by Rob Buis.

Remove this feature since we need to add a button in settings.

  • WebKitSupport/AboutData.cpp:

(BlackBerry::WebKit::cachePage):

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/ChangeLog

    r127677 r127680  
     12012-09-05  Jason Liu  <jason.liu@torchmobile.com.cn>
     2
     3        [BlackBerry] Remove feature about:cache/disable and about:cache/enable
     4        https://bugs.webkit.org/show_bug.cgi?id=95820
     5
     6        Reviewed by Rob Buis.
     7
     8        Remove this feature since we need to add a button in settings.
     9
     10        * WebKitSupport/AboutData.cpp:
     11        (BlackBerry::WebKit::cachePage):
     12
    1132012-09-05  Mike Fenton  <mifenton@rim.com>
    214
  • trunk/Source/WebKit/blackberry/WebKitSupport/AboutData.cpp

    r127445 r127680  
    468468        result.append(String("<hr>"));
    469469        result.append(String(BlackBerry::Platform::generateHtmlFragmentForCacheHeaders(key).data()));
    470     }
    471 #if !defined(PUBLIC_BUILD) || !PUBLIC_BUILD
    472     else if (equalIgnoringCase(cacheCommand, "/disable")) {
    473         settings->setDiskCacheEnabled(false);
    474         result.append("Http disk cache is disabled.");
    475     } else if (equalIgnoringCase(cacheCommand, "/enable")) {
    476         settings->setDiskCacheEnabled(true);
    477         result.append("Http disk cache is enabled.");
    478     }
    479 #endif
    480     else {
     470    } else {
    481471        // Unknown cache command.
    482472        return String();
Note: See TracChangeset for help on using the changeset viewer.