diff options
author | yami <34216515+kn-yami@users.noreply.github.com> | 2019-07-30 15:27:59 +0200 |
---|---|---|
committer | yami <34216515+kn-yami@users.noreply.github.com> | 2019-07-30 15:27:59 +0200 |
commit | 23e68227a2e3f3946fa4fd5589f338e6b36a6e56 (patch) | |
tree | a8ad7e25d26d66b4d8bf0fdd3fda5574f2dce9b8 /devtools/client/jsonview/utils.js | |
parent | 3170ee7692ef30ee67f26219b19b2b4115c01a56 (diff) | |
download | UXP-23e68227a2e3f3946fa4fd5589f338e6b36a6e56.tar UXP-23e68227a2e3f3946fa4fd5589f338e6b36a6e56.tar.gz UXP-23e68227a2e3f3946fa4fd5589f338e6b36a6e56.tar.lz UXP-23e68227a2e3f3946fa4fd5589f338e6b36a6e56.tar.xz UXP-23e68227a2e3f3946fa4fd5589f338e6b36a6e56.zip |
Issue #1138 - Part 1: refactor the JSON Viewer stream converter
Mozilla Bug 1367894
Diffstat (limited to 'devtools/client/jsonview/utils.js')
-rw-r--r-- | devtools/client/jsonview/utils.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devtools/client/jsonview/utils.js b/devtools/client/jsonview/utils.js index a70afdc68..6ab697c89 100644 --- a/devtools/client/jsonview/utils.js +++ b/devtools/client/jsonview/utils.js @@ -96,6 +96,8 @@ exports.exportIntoContentScope = function (win, obj, defineAs) { Cu.exportFunction(propValue, clone, { defineAs: propName }); + } else { + clone[propName] = Cu.cloneInto(propValue, win); } } }; |