diff options
author | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2020-03-11 08:18:58 +0000 |
---|---|---|
committer | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2020-03-11 13:28:16 +0000 |
commit | 57fbf230222ea94d4304b6d2886b30c5a41ace0a (patch) | |
tree | 43a51e70898232588a545735bd00c8625990d85f /tests/wpt/web-platform-tests/native-file-system/script-tests/FileSystemFileHandle-getFile.js | |
parent | 58f3766c5bdb1ba866e27557a1e26d987520dc89 (diff) | |
download | servo-57fbf230222ea94d4304b6d2886b30c5a41ace0a.tar.gz servo-57fbf230222ea94d4304b6d2886b30c5a41ace0a.zip |
Update web-platform-tests to revision 4cec5596c806088cd8f1781bdaab1d10abb72394
Diffstat (limited to 'tests/wpt/web-platform-tests/native-file-system/script-tests/FileSystemFileHandle-getFile.js')
-rw-r--r-- | tests/wpt/web-platform-tests/native-file-system/script-tests/FileSystemFileHandle-getFile.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wpt/web-platform-tests/native-file-system/script-tests/FileSystemFileHandle-getFile.js b/tests/wpt/web-platform-tests/native-file-system/script-tests/FileSystemFileHandle-getFile.js index 6b7d9f9a317..80593418bb1 100644 --- a/tests/wpt/web-platform-tests/native-file-system/script-tests/FileSystemFileHandle-getFile.js +++ b/tests/wpt/web-platform-tests/native-file-system/script-tests/FileSystemFileHandle-getFile.js @@ -20,8 +20,8 @@ directory_test(async (t, root) => { }); await timeout; - const writer = await handle.createWriter({keepExistingData: false}); - await writer.write(0, new Blob(['foo'])); + const writer = await handle.createWritable({keepExistingData: false}); + await writer.write(new Blob(['foo'])); await writer.close(); file = await handle.getFile(); |