-
Notifications
You must be signed in to change notification settings - Fork 44
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
Consider substituting optional BlobPart or sequence<BlobPart> for optional sequence<BlobPart> blobParts at constructor #150
Comments
Use case If
Similarly
should be handled to output
rather than
instead of
Will the suggested change break any existing API or be incompatible with implementation that uses File API expecting |
It seems the use case here is allowing you to avoid typing |
Actually the use of The change will avoid unexpected results when If the change is not worth it from a specification perspective a note describing that to avoid string conversion for the case of |
The adjacent, or opposite, case is passing an array of
Now, if we try we will get an error
where if we got back the same results we will get
What happened to the original input data? Simply using Evidently, yes. In this case, potentially relatively common, the resulting promise value from
|
Or, are the above examples simply relegated to PEBCAK, without need for note to user re use of |
From the wild https://stackoverflow.com/questions/61620389/how-to-load-previous-state-of-file-field-in-react#comment109152574_61620572 at https://stackoverflow.com/q/61620389
Am not sure what |
Per whatwg/webidl#868 (comment)
BlobPart or sequence<BlobPart>
could allownew Blob(TypedArray)
to not be converted to a string.
The text was updated successfully, but these errors were encountered: