You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/12/13 15:19:12 UTC

spec commit: CB-5595 Add test case for IAB's toolbarposition=top (iOS only)

Updated Branches:
  refs/heads/master 575ca52a3 -> d5c2bb024


CB-5595 Add test case for IAB's toolbarposition=top (iOS only)


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/d5c2bb02
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/d5c2bb02
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/d5c2bb02

Branch: refs/heads/master
Commit: d5c2bb02459ec43fff9d947b9a5823a48a8f3768
Parents: 575ca52
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Dec 13 09:18:26 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Dec 13 09:19:07 2013 -0500

----------------------------------------------------------------------
 inappbrowser/index.html | 6 ++++--
 inappbrowser/local.html | 6 ++----
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/d5c2bb02/inappbrowser/index.html
----------------------------------------------------------------------
diff --git a/inappbrowser/index.html b/inappbrowser/index.html
index 3ef1247..5786302 100644
--- a/inappbrowser/index.html
+++ b/inappbrowser/index.html
@@ -212,8 +212,10 @@
     <div class="btn large" onclick="doOpen('local.html', '_self');">Target=Self: CordovaWebView</div>
     <div class="btn large" onclick="doOpen('local.html', '_system');">Target=System: Error</div>
     <div class="btn large" onclick="doOpen('local.html', '_blank');">Target=Blank: InAppBrowser</div>
-    <div class="btn large" onclick="doOpen('local.html', 'random_string');">Target=Random: InAppBrowser</div>
-    <div class="btn large" onclick="doOpen('local.html', 'random_string', 'location=no');">Target=Random, no location bar: InAppBrowser</div>
+    <div class="btn large" onclick="doOpen('local.html', 'random_string', 'location=no');">Target=Random, location=no: InAppBrowser</div>
+    <div class="btn large" onclick="doOpen('local.html', 'random_string', 'toolbarposition=bottom');">Target=Random, toolbarposition=bottom: InAppBrowser</div>
+    <div class="btn large" onclick="doOpen('local.html', 'random_string', 'toolbarposition=top');">Target=Random, toolbarposition=top: InAppBrowser</div>
+    <div class="btn large" onclick="doOpen('local.html', 'random_string', 'toolbarposition=top,location=no');">Target=Random, toolbarposition=top,location=no: InAppBrowser</div>
     <h1>White Listed URL</h1>
     <div class="btn large" onclick="doOpen('http://www.google.com');">Default: CordovaWebView<span style="vertical-align:super">*</span></div>
     <div class="btn large" onclick="doOpen('http://www.google.com', '_self');">Target=Self: CordovaWebView<span style="vertical-align:super">*</span></div>

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/d5c2bb02/inappbrowser/local.html
----------------------------------------------------------------------
diff --git a/inappbrowser/local.html b/inappbrowser/local.html
index d5edbf9..8f926fa 100644
--- a/inappbrowser/local.html
+++ b/inappbrowser/local.html
@@ -25,9 +25,7 @@
   <head>
     <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0" />
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>Cordova Mobile Spec</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../cordova-incl.js"></script>
+    <title>IAB test page</title>
   </head>
   <body id="stage" class="theme">
     <h1>InAppBrowser - Local URL</h1>
@@ -39,7 +37,7 @@
       <div><a href="http://www.yahoo.com">Visit Yahoo</a></div>
       <div><a href="http://www.stluciadance.com/prospectus_file/sample.pdf">Check out my remote PDF</a></div>
       <div><a href="local.pdf">Check out my local PDF</a></div>
-    <h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
+    <h2> </h2><div class="backBtn" onclick="history.back();">Back</div>
   </body>
   <script>
       function updateUserAgent() {