I tried it in a VM and for me defaultPref() works fine in FF 56 both with and without the Ubuntu Modifications extension.
I tried it in a VM and for me defaultPref() works fine in FF 56 both with and without the Ubuntu Modifications extension.