Update web-platform-tests to revision 6ea3164d34a632b16b857d7474985b93acd8de11

This commit is contained in:
WPT Sync Bot 2020-12-11 08:19:25 +00:00
parent 3342711f68
commit c67c5d4fb8
284 changed files with 3792 additions and 1407 deletions

View file

@ -80,6 +80,12 @@ function define_file_picker_error_tests(showPickerMethod) {
showPickerMethod +
': MIME type can\'t have invalid characters in subtype.');
promise_test(async t => {
await promise_rejects_js(t, TypeError, self[showPickerMethod]({
startIn: 'secrets',
}));
}, showPickerMethod + ': unknown common starting directory.');
const invalid_extensions = {
'.extensiontoolong': 'extension length more than 16.',
'.txt.': 'extenstion ends with "."',