How to reproduce:
- Log into Wikipedia
- Go to https://en.wikipedia.org/w/index.php?title=Value_theory&action=edit&safemode=1
- Click the "Embedded file" button in the editing toolbar (the sunset button)
- Click the "Upload" button in the dialog
Expected results: It should let you upload an image.
Windows must have a 'name' static property defined.
Browser: Firefox 53 on MacOS