зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1654284 [wpt PR 24684] - NativeIO: Added a missing await in the WPT for rename., a=testonly
Automatic update from web-platform-tests NativeIO: Added a missing await in the WPT for rename. Bug: 1097126 Change-Id: I3775c97543b4603e910f5cf4ec1f5a7207fd7276 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2308420 Reviewed-by: Mike West <mkwst@chromium.org> Commit-Queue: Richard Stotz <rstz@chromium.org> Cr-Commit-Position: refs/heads/master@{#790382} -- wpt-commits: 9504f3a0aeef4c3a92b0e7aed3b54da3e2336e99 wpt-pr: 24684
This commit is contained in:
Родитель
f56ea82a55
Коммит
31f0cedf67
|
@ -93,8 +93,8 @@ promise_test(async testCase => {
|
||||||
closed_file.close();
|
closed_file.close();
|
||||||
const opened_file = await nativeIO.open('opened_file');
|
const opened_file = await nativeIO.open('opened_file');
|
||||||
testCase.add_cleanup(async () => {
|
testCase.add_cleanup(async () => {
|
||||||
closed_file.close();
|
await closed_file.close();
|
||||||
opened_file.close();
|
await opened_file.close();
|
||||||
await nativeIO.delete('closed_file');
|
await nativeIO.delete('closed_file');
|
||||||
await nativeIO.delete('opened_file');
|
await nativeIO.delete('opened_file');
|
||||||
});
|
});
|
||||||
|
|
Загрузка…
Ссылка в новой задаче