Change-Id: I0d78f9e8e33d78f10cbf283f1b15be0f41c1b639
setup({timeout: 90000});
var t = async_test(document.title, {timeout: 90000}), downloadRequest = null, downloadId, listener, state;
t.step(function () {
+ add_result_callback(function(){
+ try {
+ tizen.download.cancel(downloadId);
+ } catch (err) {
+ }
+ });
listener = {
onprogress: t.step_func(function (id, receivedSize, totalSize) {
state = tizen.download.getState(downloadId);
</script>
</body>
-</html>
\ No newline at end of file
+</html>
setup({timeout: 90000});
var t = async_test(document.title, {timeout: 90000}), downloadRequest = null, downloadId, listener, state;
t.step(function () {
+ add_result_callback(function(){
+ try {
+ tizen.download.cancel(downloadId);
+ } catch (err) {
+ }
+ });
listener = {
onprogress: t.step_func(function (id, receivedSize, totalSize) {
tizen.download.pause(downloadId);
</script>
</body>
-</html>
\ No newline at end of file
+</html>