зеркало из https://github.com/mozilla/gecko-dev.git
Bug 889838 - Silent exception when inspecting debugger variables on old actors. r=past
This commit is contained in:
Родитель
d5df6bb361
Коммит
8a49a6226c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче