Returns the extensions set by setAllowedFileExtensions.
Lowercase extensions without the dot; an empty array means any extension is allowed.
Returns the extensions set by setAllowedFileExtensions.