w3c / FileAPI

File API
https://w3c.github.io/FileAPI/
Other
104 stars 44 forks source link

editorial: make Blob.slice a separate algorithm #183

Closed dlrobertson closed 1 year ago

dlrobertson commented 1 year ago

Split out Blob.slice into its own algorithm that other implementations may use and call this algorithm from Blob.slice.

Related to: https://github.com/whatwg/fetch/issues/1070


Preview | Diff

dlrobertson commented 1 year ago

Just a first pass at the moment. Still likely have a good bit of cleanup to do. Originally I wanted a normalize range and a slice bytes algorithm, but after further reading I think its probably easier to just bundle all of it in one algorithm (especially since slice bytes is really only one line in the algorithm).

dlrobertson commented 1 year ago

I don't think this is substantive, but if this is considered to be substantive, I can create a w3c account.

w3cbot commented 1 year ago

mkruisselbrink marked as non substantive for IPR from ash-nazg.