it definetly was freshwater but probably before life started or when the very first lifeforms started
water runoff from rain slowly striped rocks of salt and other trace elements and eventually made there way to the ocean.
Ocean is still getting saltier until it reaches saturation

