-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Properly specify async iterable behavior. #177
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you, in retrospect this seems like the right thing to do!
No guarantees are given either way. | ||
</div> | ||
|
||
Advisement: In Chrome this is currently implemented as a `directoryHandle.getEntries()` method that can be used in a `for await..of` loop. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would we fix this in Chrome 84? If so, should we call this out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should definitely update this to mention the milestone chrome implements this, when we know what milestone that is. Not sure currently if that is going to 84 branching next week, but I suspect not. So leaving it like this for now.
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248414 Reviewed-by: Trent Apted <[email protected]> Reviewed-by: Yuki Shiino <[email protected]> Commit-Queue: Marijn Kruisselbrink <[email protected]> Cr-Commit-Position: refs/heads/master@{#790486}
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248414 Reviewed-by: Trent Apted <[email protected]> Reviewed-by: Yuki Shiino <[email protected]> Commit-Queue: Marijn Kruisselbrink <[email protected]> Cr-Commit-Position: refs/heads/master@{#790486}
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248414 Reviewed-by: Trent Apted <[email protected]> Reviewed-by: Yuki Shiino <[email protected]> Commit-Queue: Marijn Kruisselbrink <[email protected]> Cr-Commit-Position: refs/heads/master@{#790486}
…match spec., a=testonly Automatic update from web-platform-tests [NativeFS] Update async iterable API to match spec. Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248414 Reviewed-by: Trent Apted <[email protected]> Reviewed-by: Yuki Shiino <[email protected]> Commit-Queue: Marijn Kruisselbrink <[email protected]> Cr-Commit-Position: refs/heads/master@{#790486} -- wpt-commits: 6dd4527974f68f3c904efb3910899ef641358c2e wpt-pr: 24219
…match spec., a=testonly Automatic update from web-platform-tests [NativeFS] Update async iterable API to match spec. Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248414 Reviewed-by: Trent Apted <[email protected]> Reviewed-by: Yuki Shiino <[email protected]> Commit-Queue: Marijn Kruisselbrink <[email protected]> Cr-Commit-Position: refs/heads/master@{#790486} -- wpt-commits: 6dd4527974f68f3c904efb3910899ef641358c2e wpt-pr: 24219
…match spec., a=testonly Automatic update from web-platform-tests [NativeFS] Update async iterable API to match spec. Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248414 Reviewed-by: Trent Apted <taptedchromium.org> Reviewed-by: Yuki Shiino <yukishiinochromium.org> Commit-Queue: Marijn Kruisselbrink <mekchromium.org> Cr-Commit-Position: refs/heads/master{#790486} -- wpt-commits: 6dd4527974f68f3c904efb3910899ef641358c2e wpt-pr: 24219 UltraBlame original commit: e170aa29bb984ad26a9b782ee493c7def30a1fe6
…match spec., a=testonly Automatic update from web-platform-tests [NativeFS] Update async iterable API to match spec. Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248414 Reviewed-by: Trent Apted <taptedchromium.org> Reviewed-by: Yuki Shiino <yukishiinochromium.org> Commit-Queue: Marijn Kruisselbrink <mekchromium.org> Cr-Commit-Position: refs/heads/master{#790486} -- wpt-commits: 6dd4527974f68f3c904efb3910899ef641358c2e wpt-pr: 24219 UltraBlame original commit: e170aa29bb984ad26a9b782ee493c7def30a1fe6
…match spec., a=testonly Automatic update from web-platform-tests [NativeFS] Update async iterable API to match spec. Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248414 Reviewed-by: Trent Apted <taptedchromium.org> Reviewed-by: Yuki Shiino <yukishiinochromium.org> Commit-Queue: Marijn Kruisselbrink <mekchromium.org> Cr-Commit-Position: refs/heads/master{#790486} -- wpt-commits: 6dd4527974f68f3c904efb3910899ef641358c2e wpt-pr: 24219 UltraBlame original commit: e170aa29bb984ad26a9b782ee493c7def30a1fe6
Matching the changes from WICG/file-system-access#177 Since the bindings layer doesn't support async iterables yet, this CL does this in a bit of a hacky way, that isn't entirely web-idl compliant. It is much closer to the desired API than what we had though, so seems an improvement until bindings properly support async iterables. Bug: 1011539, 1087157 Change-Id: I2eb0a3b1d6383149b769a9961bf890eaf6956b2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248414 Reviewed-by: Trent Apted <[email protected]> Reviewed-by: Yuki Shiino <[email protected]> Commit-Queue: Marijn Kruisselbrink <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#790486} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 886077da870a49b4356c44a46f4ea36111a25cd8
This fixes #158, fixes #127, and fixes #47.
Preview | Diff