servo/tests/wpt/web-platform-tests/fs/script-tests/FileSystemSyncAccessHandle-flush.js

8 lines
208 B
JavaScript

'use strict';
// This script depends on the following scripts:
// /fs/resources/messaging-helpers.js
sync_access_handle_test(async handle => {
await handle.flush();
}, 'Test flush on an empty file.');