Skip to content

Commit

Permalink
[BlackBerry]Make about:cache feature available in release version.
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=79866

Patch by Jason Liu <jason.liu@torchmobile.com.cn> on 2012-02-29
Reviewed by Antonio Gomes.

No tests.
* platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::handleAbout):

Canonical link: https://commits.webkit.org/97054@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Jason Liu authored and webkit-commit-queue committed Mar 1, 2012
1 parent d4e0936 commit c62ad07
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,14 @@
2012-02-29 Jason Liu <jason.liu@torchmobile.com.cn>

[BlackBerry]Make about:cache feature available in release version.
https://bugs.webkit.org/show_bug.cgi?id=79866

Reviewed by Antonio Gomes.

No tests.
* platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::handleAbout):

2012-02-29 James Simonsen <simonjam@chromium.org>

[chromium] Fix navigation start time on cross-renderer navigation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebCore/platform/network/blackberry/NetworkJob.cpp
Expand Up @@ -911,7 +911,6 @@ void NetworkJob::handleAbout()
result.append(String(BlackBerry::Platform::WEBKITCREDITS));
result.append(String("</body></html>"));
handled = true;
#if !defined(PUBLIC_BUILD) || !PUBLIC_BUILD
} else if (aboutWhat.startsWith("cache?query=", false)) {
BlackBerry::Platform::Client* client = BlackBerry::Platform::Client::get();
ASSERT(client);
Expand All @@ -929,6 +928,7 @@ void NetworkJob::handleAbout()
result.append(String(client->generateHtmlFragmentForCacheKeys().data()));
result.append(String("</body></html>"));
handled = true;
#if !defined(PUBLIC_BUILD) || !PUBLIC_BUILD
} else if (equalIgnoringCase(aboutWhat, "cache/disable")) {
BlackBerry::Platform::Client* client = BlackBerry::Platform::Client::get();
ASSERT(client);
Expand Down

0 comments on commit c62ad07

Please sign in to comment.