[Content] - Removed double privilege checking from JS code
authorAndrzej Popowski <a.popowski@samsung.com>
Mon, 29 Feb 2016 07:19:31 +0000 (08:19 +0100)
committerAndrzej Popowski <a.popowski@samsung.com>
Mon, 29 Feb 2016 07:19:31 +0000 (08:19 +0100)
Change-Id: I55789ce686edf6d671aa538bed8182c6fb3cb278
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
src/content/js/manager.js

index a7bc8a6..009156d 100755 (executable)
@@ -30,8 +30,6 @@ function ContentManager() {
 }
 
 var ContentManagerUpdate = function(content) {
-  xwalk.utils.checkPrivilegeAccess(xwalk.utils.privilege.CONTENT_WRITE);
-
   var args = validator_.validateArgs(arguments, [
     {name: 'content', type: types_.PLATFORM_OBJECT, values: Content}
   ]);