commit | 83a5ef0e16de6ac7e82843874966cf88566aa111 | [log] [tgz] |
---|---|---|
author | Shazron Abdullah <shazron@apache.org> | Fri Apr 05 11:34:20 2013 -0700 |
committer | Shazron Abdullah <shazron@apache.org> | Fri Apr 05 11:34:20 2013 -0700 |
tree | f324aed7dbee4ca1f66aa717fef7d2a85e482d4d | |
parent | 7502d51a0b332007959144cbcdf579ddcd067332 [diff] |
Revert "[CB-2226] Add spec test for FileTransfer.abort error callback" This reverts commit 46e478f306f6aae8d550ef8d688329b14bd6a2fa.
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. You also need to edit cordova.js to reference the version of cordova-*.js file you are testing. For example, to test with cordova-0.9.6.1, edit the VERSION variable in the cordova.js file as follows:
var VERSION='0.9.6.1';
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!