Issue #1138 - Part 1: refactor the JSON Viewer stream converter

Mozilla Bug 1367894
This commit is contained in:
yami 2019-07-30 15:27:59 +02:00 committed by Roy Tam
commit 8f1e1f40c7
4 changed files with 153 additions and 194 deletions

View file

@ -96,6 +96,8 @@ exports.exportIntoContentScope = function (win, obj, defineAs) {
Cu.exportFunction(propValue, clone, {
defineAs: propName
});
} else {
clone[propName] = Cu.cloneInto(propValue, win);
}
}
};