[filesystem] Silence undocumented exception. 07/196107/1
authorMichal Michalski <m.michalski2@partner.samsung.com>
Fri, 21 Dec 2018 14:07:21 +0000 (15:07 +0100)
committerMichal Michalski <m.michalski2@partner.samsung.com>
Fri, 21 Dec 2018 14:42:00 +0000 (15:42 +0100)
commit87c57ce38dc1aad2cb3895de67e24bb26da100f1
treeeac90823bb2b0b1e145b8d264a0bcc074ba52256
parent3ebae4da0465b0857c714e32d103511978d6df03
[filesystem] Silence undocumented exception.

Filesystem function removeStorageStateChangeListener was throwing
NotFoundError exception if watchID argument did not correspond to
a registered listener. This commit removes this exception to match
documentation.

[Verification]

Exception is no longer thrown.
One TCT test case failed after this change, i removed it and commited
the change to tct repository. Review for TCT is available here:
https://review.tizen.org/gerrit/#/c/test/tct/web/api/+/196106/

Change-Id: I8cb7d99b5dda3f66f36c406c86330fb5d089287f
Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
src/filesystem/js/file_system_manager.js