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

@ -17,3 +17,9 @@ test(testCase => {
const fileNames = nativeIO.getAllSync();
assert_equals(fileNames.indexOf('test_file'), -1);
}, 'nativeIO.getAllSync does not return file deleted by nativeIO.deleteSync');
test(testCase => {
nativeIO.deleteSync('test_file');
// Delete a second time if the file existed before the first delete.
nativeIO.deleteSync('test_file');
}, 'nativeIO.deleteSync does not fail when deleting a non-existing file');