Update web-platform-tests to revision e91d7d8c9a1f14438e44000dcd05ce6e658e4ae5

This commit is contained in:
WPT Sync Bot 2020-07-11 08:20:37 +00:00
parent 242e7e2630
commit 1a3fdf7a13
567 changed files with 9823 additions and 2333 deletions

View file

@ -295,7 +295,9 @@ directory_test(async (t, root) => {
directory_test(async (t, root) => {
const handle = await createEmptyFile(t, 'writer_written', root);
const stream = await handle.createWritable();
assert_false(stream.locked);
const writer = stream.getWriter();
assert_true(stream.locked);
await writer.write('foo');
await writer.write(new Blob(['bar']));