-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[missing] Expose Window.createImageBitmap #12379
Comments
Here are the entries in Window.idl: // Images |
Added this to the Later milestone. |
Removed Area-HTML label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
Removed Priority-Unassigned label. |
I'm not sure what this issue is hoping to achieve, but if it adds support for self.createImageBitmap() - Web APIs | MDN, 👍 |
This API is still not exposed as of current |
What's going on with this? I can't find it in But no way to create it? Please, it's been over 5 years now, and this is important functionality. Seems to be a ton of stuff missing from the web platform, :( |
Will the JS-interop cleanup somehow improve this situation? Or are they orthogonal? |
Our current setup for generating Dart APIs over the browser's JS APIs has a number of issues – and it's different than how we let external folks do interop. We'd like to create a single, better model for both before we spend more time doing one-off fixes to the existing dart:web libraries. |
Can you point me toward more info on the planned model? |
@jmesserly may have some details to share |
#35084 is tracking JS interop improvements, that would allow an interop-based approach to the DOM. |
Took a look at https://github.com/dart-lang/sdk/blob/js_interop/pkg/js/proposal.md, and, I gotta say, that looks like it's going to take quite a while to implement. (But it looks great!) Can there not be a parallel effort here? I understand there's limited resources, but is it really that hard to expose missing APIs? Like this one that was just added? c5cfdc5#diff-2326766614acd647cd69f60e35033cc2 |
Is it something I can maybe pitch in with? |
Any update on this? Seems to still be missing. |
The kicker here is, I can work around it with https://api.dart.dev/stable/2.7.0/dart-html/CanvasImageSource-class.html Right now, I get Any workarounds? |
Creates a markdown file that documents issues to help users work around limitations in dart:html and similar libraries. Change-Id: I0f83661919f3d09bb2743a84cdcd141a9aa9a87e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/171629 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com>
This popped up in the last Blink IDL roll with 12 overloads. I hid it for now. We need to determine what names to expose the different variants under.
The text was updated successfully, but these errors were encountered: