You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2013/08/09 16:06:25 UTC

spec commit: [CB-3616] Add manual tests for InAppBrowser cache-clearing

Updated Branches:
  refs/heads/master 239332823 -> e30706745


[CB-3616] Add manual tests for InAppBrowser cache-clearing


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/e3070674
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/e3070674
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/e3070674

Branch: refs/heads/master
Commit: e30706745e8333a5ad05647c3b00518821d5d18d
Parents: 2393328
Author: Ian Clelland <ic...@chromium.org>
Authored: Fri Aug 9 10:05:36 2013 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Fri Aug 9 10:05:36 2013 -0400

----------------------------------------------------------------------
 inappbrowser/index.html | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/e3070674/inappbrowser/index.html
----------------------------------------------------------------------
diff --git a/inappbrowser/index.html b/inappbrowser/index.html
index dbc094d..40b3200 100644
--- a/inappbrowser/index.html
+++ b/inappbrowser/index.html
@@ -253,6 +253,9 @@
     <div class="btn large" onclick="showHidden();">show hidden</div>
     <div class="btn large" onclick="closeHidden();">close hidden</div>
     <div class="btn large" onclick="openHidden('http://google.com',false);">google.com not hidden</div>
+    <h1>Clearing Cache</h1>
+    <div class="btn large" onclick="doOpen('http://www.google.com', '_blank', 'clearallcache=yes');">Clear Browser Cache</div>
+    <div class="btn large" onclick="doOpen('http://www.google.com', '_blank', 'clearsessioncache=yes');">Clear Session Cache</div>
     <h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
   </body>
 </html>