commit | 981793865da73d4c6c0c9404ea2331c99a5241c5 | [log] [tgz] |
---|---|---|
author | Fil Maj <maj.fil@gmail.com> | Thu Jul 04 10:40:43 2013 -0700 |
committer | Fil Maj <maj.fil@gmail.com> | Thu Jul 04 10:40:43 2013 -0700 |
tree | a4fdcb18ba5a7f1d4277ce750c7d303770c8f067 | |
parent | f9333c00a720d1bda5cedf8dbba3c9f4b2008a1f [diff] |
[CB-4061] Fix copy-pasted spec id in file tests.
These specs are designed to run inside the mobile device that implements it - it will fail in the DESKTOP browser.
These set of tests is designed to be used with Cordova. You should initialize a fresh Cordova repository for a target platform and then toss these files into the www folder, replacing the contents.
Make sure you include cordova.js in the www folder (see the code in cordova-incl.js for clarification).
This is done so that you don't have to modify every HTML file when you want to test a new version of Cordova.
The goal is to test mobile device functionality inside a mobile browser. Where possible, the Cordova API lines up with HTML 5 spec. Maybe down the road we could use this spec for parts of HTML 5, too :)
Various parts of this test suite communicate with external servers. Therefore, when you wrap up the test suite inside a Cordova application, make sure you add the following entries to the whitelist!