Files
firefox/devtools/client/shared/components/reps
Nicolas Chevobbe 7076d3a083 Bug 1559717 - Fix displaying getter value for getter returning falsy values. r=davidwalsh.
We were displaying result.value.throw if result.value.return
was falsy. But it can happen that a getter does return a
falsy value, and we want to display it.
So now we turn the expression the other way around, we first
check result.value.throw, and then default to result.value.return.
A mochitest is added to ensure we hav expected value for different
getters returning falsy values.

Differential Revision: https://phabricator.services.mozilla.com/D39136
2019-07-25 13:55:14 +00:00
..

Reps are now maintained on GitHub at: https://github.com/firefox-devtools/debugger.html/tree/master/packages/devtools-reps

All the files in this folder are copied from the debugger.html github repository and
should not be modified here.

For any issue or feature request on Reps, please log an issue at
https://github.com/firefox-devtools/debugger.html/issues with the label "devtools-reps".