mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 11:37:43 -10:00
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
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".