mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-07-13 00:10:15 +08:00
CB-8095 Updates tests and documentation
This commit is contained in:
+2
-4
@@ -42,15 +42,13 @@ Although in the global scope, they are not available until after the `deviceread
|
||||
- Firefox OS**
|
||||
- iOS
|
||||
- Windows Phone 7 and 8*
|
||||
- Windows 8***
|
||||
- Windows***
|
||||
- Windows 8
|
||||
- Windows
|
||||
|
||||
\* _Do not support `onprogress` nor `abort()`_
|
||||
|
||||
\** _Do not support `onprogress`_
|
||||
|
||||
\*** Partial support of `onprogress` for upload method. `onprogress` is called with empty progress event due to Windows limitations_
|
||||
|
||||
# FileTransfer
|
||||
|
||||
The `FileTransfer` object provides a way to upload files using an HTTP
|
||||
|
||||
@@ -659,12 +659,6 @@ exports.defineAutoTests = function () {
|
||||
|
||||
it("filetransfer.spec.18 should be able to upload a file", function (done) {
|
||||
|
||||
// according to spec "onprogress" method isn't supported on WP
|
||||
if (isWP81()) {
|
||||
pending();
|
||||
return;
|
||||
}
|
||||
|
||||
var fileURL = SERVER + '/upload';
|
||||
|
||||
var uploadWin = function (uploadResult) {
|
||||
@@ -685,12 +679,6 @@ exports.defineAutoTests = function () {
|
||||
|
||||
it("filetransfer.spec.19 should be able to upload a file with http basic auth", function (done) {
|
||||
|
||||
// according to spec "onprogress" method doesn't supported on WP
|
||||
if (isWP81()) {
|
||||
pending();
|
||||
return;
|
||||
}
|
||||
|
||||
var fileURL = SERVER_WITH_CREDENTIALS + "/upload_basic_auth";
|
||||
|
||||
var uploadWin = function (uploadResult) {
|
||||
|
||||
Reference in New Issue
Block a user