You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not all ImageCapture API are exposed, maybe it is just because of Gecko not currently supporting some of them. The webidl contains some (maybe obsolete?) API that are different from the current working draft.
Steps to Reproduce
Open ImageCapture.webidl to notice some attributes and methods are commented out. Compare them with the official specification to notice some differences.
Expected Behavior
These features should be fixed and exposed in order to make them usable in web-sys, even if the implementation in Gecko is lacking.
Actual Behavior
The fact that some features are commented out make them unavailable in web-sys, which a bit painful because using extension traits is not doable when wasm_bindgen is involved -- if there is some workaround for this other than using a newtype, let me know. Obviously, having them available but not correctly implemented is bad as well.
The text was updated successfully, but these errors were encountered:
This may have been done in the very early days of web-sys as well when many types weren't supported, but should be fine to update the WebIDL or uncomment it now!
dodomorandi
added a commit
to dodomorandi/wasm-bindgen
that referenced
this issue
Nov 6, 2020
Uh oh!
There was an error while loading. Please reload this page.
Describe the Bug
Not all ImageCapture API are exposed, maybe it is just because of Gecko not currently supporting some of them. The webidl contains some (maybe obsolete?) API that are different from the current working draft.
Steps to Reproduce
Open ImageCapture.webidl to notice some attributes and methods are commented out. Compare them with the official specification to notice some differences.
Expected Behavior
These features should be fixed and exposed in order to make them usable in
web-sys
, even if the implementation in Gecko is lacking.Actual Behavior
The fact that some features are commented out make them unavailable in
web-sys
, which a bit painful because using extension traits is not doable whenwasm_bindgen
is involved -- if there is some workaround for this other than using a newtype, let me know. Obviously, having them available but not correctly implemented is bad as well.The text was updated successfully, but these errors were encountered: