From 8983e51175bd2b4982842cea3a13dc0bcc2c7645 Mon Sep 17 00:00:00 2001 From: Vladimir Kotikov Date: Thu, 27 Nov 2014 18:50:01 +0300 Subject: [PATCH] CB-8095 Updates tests and documentation --- doc/index.md | 6 ++---- tests/tests.js | 12 ------------ 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/doc/index.md b/doc/index.md index 82b0d50..81710b1 100644 --- a/doc/index.md +++ b/doc/index.md @@ -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 diff --git a/tests/tests.js b/tests/tests.js index 240a83d..309a6c0 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -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) {