From d0d0f84d0a10f5773d59e7c55ddce12f65bf374b Mon Sep 17 00:00:00 2001 From: Tomasz Marciniak Date: Thu, 17 Sep 2015 13:26:18 +0200 Subject: [PATCH] [Filesystem] URI without prefix 'file://' are handled now. [Verification] Code compiles. One TCT test is failed. FileSystemManager_resolve_error_invoked is incorrect. Change-Id: I204814828962d6e1f5b015f2fd5b4fd7f02ca55f Signed-off-by: Tomasz Marciniak --- src/filesystem/js/file_system_manager.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/filesystem/js/file_system_manager.js b/src/filesystem/js/file_system_manager.js index 6f24d906..b1f14cc6 100755 --- a/src/filesystem/js/file_system_manager.js +++ b/src/filesystem/js/file_system_manager.js @@ -44,15 +44,6 @@ FileSystemManager.prototype.resolve = function(location, onsuccess, onerror, mod args.mode = 'rw'; } - if (args.location[0] === '/') { - setTimeout(function() { - native_.callIfPossible(args.onerror, - new WebAPIException(WebAPIException.NOT_FOUND_ERR, - 'Global path without \'file://\' prefix is not valid.')); - }, 0); - return; - } - // resolving a path on unmounted storage should result in exception var storage = commonFS_.getStorage(args.location.split('/')[0]); if (storage && FileSystemStorageState.MOUNTED !== storage.state) { -- 2.34.1