I cannot create v:cs:user:Juandev/haf.js with no text (means blank page). Tested on both FF and GChrome.
I think it should work, dont see the reason, why not.
Version: 1.24rc
Severity: enhancement
See Also: T59238: MediaWiki should not prevent creation of empty pages