Bug 889838 - Silent exception when inspecting debugger variables on old actors. r=past

This commit is contained in:
Alexandre Poirot 2013-07-03 15:27:10 -04:00
Родитель d5df6bb361
Коммит 8a49a6226c
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -123,7 +123,9 @@ VariablesViewController.prototype = {
let deferred = Promise.defer();
this._getGripClient(aGrip).getPrototypeAndProperties(aResponse => {
let { ownProperties, prototype, safeGetterValues } = aResponse;
let { ownProperties, prototype } = aResponse;
// safeGetterValues is new and isn't necessary defined on old actors
let safeGetterValues = aResponse.safeGetterValues || {};
let sortable = VariablesView.isSortable(aGrip.class);
// Merge the safe getter values into one object such that we can use it