Firefox is using the active connection that is activated in the moment of browsing. It does not have specific options to select Data or Wifi. It will use Wifi if you're connected to a wireless network or Data connection if you're using the Internet from your device.