Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc

This commit is contained in:
WPT Sync Bot 2020-12-10 08:21:05 +00:00
parent d7e7e43a80
commit 7ae94b8030
116 changed files with 3431 additions and 487 deletions

View file

@ -18,3 +18,8 @@ promise_test(async testCase => {
assert_equals(fileNames.indexOf('test_file'), -1);
}, 'nativeIO.getAll does not return file deleted by nativeIO.delete');
promise_test(async testCase => {
await nativeIO.delete('test_file');
// Delete a second time if the file existed before the first delete.
await nativeIO.delete('test_file');
}, 'nativeIO.delete does not fail when deleting a non-existing file');