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 2014/09/11 17:28:57 UTC
[15/31] android commit: CB-7410 Fix the errorUrl test
CB-7410 Fix the errorUrl test
Make the error.html page a well-formed html document, otherwise it
won't display.
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/07632b0e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/07632b0e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/07632b0e
Branch: refs/heads/4.0.x
Commit: 07632b0eeba6dde4032f338941e8e5891456e97e
Parents: 4a7f825
Author: Marcel Kinard <cm...@gmail.com>
Authored: Fri Aug 29 17:38:03 2014 -0400
Committer: Marcel Kinard <cm...@gmail.com>
Committed: Fri Aug 29 17:38:03 2014 -0400
----------------------------------------------------------------------
test/assets/www/htmlnotfound/error.html | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/07632b0e/test/assets/www/htmlnotfound/error.html
----------------------------------------------------------------------
diff --git a/test/assets/www/htmlnotfound/error.html b/test/assets/www/htmlnotfound/error.html
index e32cd29..3852efe 100755
--- a/test/assets/www/htmlnotfound/error.html
+++ b/test/assets/www/htmlnotfound/error.html
@@ -14,6 +14,25 @@
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
- under the License.$
+ under the License.
-->
-This is an error page.
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta name="viewport" content="width=320, user-scalable=no" />
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <title>Expected Error</title>
+ <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title">
+ <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
+ <script type="text/javascript" charset="utf-8" src="../main.js"></script>
+ </head>
+ <body onload="init();" id="stage" class="theme">
+ <h1>Expected Error</h1>
+ <div id="info">
+ <h4>Cordova: <span id="cordova"> </span></h4>
+ <h4>Deviceready: <span id="deviceready"> </span></h4>
+ </div>
+ <div id="info">
+ This is an expected error page because the initial href doesn't exist.
+ </body>
+</html>