Open slightlyoff opened 3 years ago
Great feedback! Regarding the IDL, from what I recall I was following along the lines of the ImageDecoder explainer, though I agree that more detail (spec, samples, considered approaches, what behavior is allowed versus potential polyfills before this feature) in the explainer (or linked from it) are all beneficial to the web platform and authors that would use this API.
Howdy all!
Excited to see this work moving forward and the explainer is in generally very helpful. It'd be helpful to perhaps follow the TAG's guidance on explainers in a few more detailed ways.
First, the TAG guidance explicitly suggests not having IDL in explainers. Given that a draft spec doc is in progress, perhaps that's a better place for that?
Similarly, it'd be great to see more example code to compare/contrast how folks have to do this sort of thing today and the advantages of this approach.
Lastly, seeing a fuller list of considered design alternatives (potentially with example code for each) would help observers understand the thinking that went into the API design.
Thanks again!