An oversized file rejected only after upload
The file manager found out that a file was over the node's upload limit only after sending all of it. With a large file, the user waited for the whole upload just to see an error.
A size check before the upload
ServerResource in the client API returns the node's upload_size, and the useFileUploader hook rejects larger files before a single byte goes out, showing a message with the file name or the number of files over the limit. Tests cover the rejection, the file count and uploading files within the limit.