This commit allows the 'editInput' test handler to also handle inputs of type "file". To do so, the value must be a file (or a list of files), and the handler has been refactored to accept a certain given value only if its type allows it. Part-of: odoo/odoo#98251