mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Update web-platform-tests to revision 6ea3164d34a632b16b857d7474985b93acd8de11
This commit is contained in:
parent
3342711f68
commit
c67c5d4fb8
284 changed files with 3792 additions and 1407 deletions
|
@ -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 "."',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue