Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / test / data / extensions / api_test / file_system_provider / extension / test.js
index e734b8b..0d3454f 100644 (file)
@@ -8,14 +8,8 @@ chrome.test.runTests([
   // Tests if mounting succeeds when invoked from an extension. Note that all
   // other tests are implemented as apps.
   function mount() {
-    var onTestSuccess = chrome.test.callbackPass();
     chrome.fileSystemProvider.mount(
         {fileSystemId: 'file-system-id', displayName: 'file-system-name'},
-        function() {
-          onTestSuccess();
-        },
-        function(error) {
-          chrome.test.fail();
-        });
+        chrome.test.callbackPass());
   },
 ]);