Run the addon, forcing "private" branch (set two prefs accordingly)
Opened private window, clicked around a little bit went to a couple pages including about:home, then closed it
Noticed no UI in PB mode
Closed that PB window
Back in the original Firefox non private window, opened a newtab page
Notice the quantity for total ads on the new tab page is NaN.
I refactored the new-tab-variation.js script yesterday in PR #114 ; see if anything I changed there could be causing this. At the very least, if I can't reproduce, just add error handling so if the value is NaN or undefined, set it to 0, similar to issue #98 .
Send jsavory a XPI file Monday 3/5 morning to have her try out before the demo.
During final UX review, jsavory found this bug.
Steps to reproduce:
NaN
.I refactored the
new-tab-variation.js
script yesterday in PR #114 ; see if anything I changed there could be causing this. At the very least, if I can't reproduce, just add error handling so if the value isNaN
orundefined
, set it to 0, similar to issue #98 .Send jsavory a XPI file Monday 3/5 morning to have her try out before the demo.