Bug 1584292 [wpt PR 19330] - [Native File System] Aborting a directory iteration...
commit02a85c6dc2d220935318f94b9af210a4770fc7de
authorOlivier Yiptong <oyiptong@chromium.org>
Mon, 7 Oct 2019 22:03:40 +0000 (7 22:03 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 14 Oct 2019 11:23:32 +0000 (14 11:23 +0000)
treebc2bb21bd32a749550577a5dd8682bc67e45ccaa
parent66d1f262e56326b52ba26cf5e95dfe6cf2c025e5
Bug 1584292 [wpt PR 19330] - [Native File System] Aborting a directory iteration succeeds, a=testonly

Automatic update from web-platform-tests
[Native File System] Aborting a directory iteration succeeds

The return statement of the async iterator was not returning the
expected type. This removes the ability to cancel an iteration
which fixes the bug where an error would be thrown otherwise.

A full implementation of directory iteration will re-implement
this functionality correctly.

BUG=1007509

Change-Id: I77f3b76b117b7df939e73da826f4fc9b82e9441e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1826993
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701356}

--

wpt-commits: 6c043ae7c1c6edb9c6c329a1c2a559d6da4e45ae
wpt-pr: 19330
testing/web-platform/tests/native-file-system/native_FileSystemDirectoryHandle-getEntries.tentative.https.manual.window.js [new file with mode: 0644]
testing/web-platform/tests/native-file-system/sandboxed_FileSystemDirectoryHandle-getEntries.tentative.https.any.js [new file with mode: 0644]
testing/web-platform/tests/native-file-system/script-tests/FileSystemDirectoryHandle-getEntries.js [new file with mode: 0644]