| Index: remoting/webapp/crd/js/typecheck.js
|
| diff --git a/remoting/webapp/crd/js/typecheck.js b/remoting/webapp/crd/js/typecheck.js
|
| index 5b5f86569ec02f9e47e8310035fa17f6dd16a53a..fa31f55a3cc8b66cf44c18d88777b49660e782d7 100644
|
| --- a/remoting/webapp/crd/js/typecheck.js
|
| +++ b/remoting/webapp/crd/js/typecheck.js
|
| @@ -137,7 +137,7 @@ function getStringAttr(dict, key, opt_default) {
|
| * @return {Object} The JSON object created from the |jsonString|.
|
| */
|
| function getJsonObjectFromString(jsonString) {
|
| - var value = /** @type {Object} */ JSON.parse(jsonString);
|
| + var value = base.jsonParseSafe(jsonString);
|
| if (typeof value != 'object') {
|
| throw 'Invalid data type (expected: Object, actual: ' + typeof value + ')';
|
| }
|
|
|