projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84fd30f
)
[Utils] Freeze all objects to prevent any modifications.
author
Pawel Andruszkiewicz
<p.andruszkie@samsung.com>
Thu, 15 Oct 2015 06:53:30 +0000
(08:53 +0200)
committer
Hyunjin Park
<hj.na.park@samsung.com>
Thu, 15 Oct 2015 11:16:02 +0000
(20:16 +0900)
Change-Id: Iaa7db682c5cbe111e436e39db157b33e78bf3c83
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/utils/utils_api.js
patch
|
blob
|
history
diff --git
a/src/utils/utils_api.js
b/src/utils/utils_api.js
index 4bb68540adb95c7c6d0327ddcad5a2f294cfcb94..bb913c71ffcf5400c588d912e4156bd49cbed6ac 100755
(executable)
--- a/
src/utils/utils_api.js
+++ b/
src/utils/utils_api.js
@@
-1598,3
+1598,8
@@
Utils.prototype.NativeBridge = NativeBridge;
var native_ = new NativeManager(extension);
exports = new Utils();
+
+Object.freeze(Utils.prototype);
+Object.freeze(NativeManager.prototype);
+Object.freeze(NativeBridge.prototype);
+Object.freeze(exports);