summaryrefslogtreecommitdiffstats
path: root/devtools/client/jsonview/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/jsonview/utils.js')
-rw-r--r--devtools/client/jsonview/utils.js2
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);
}
}
};