Comments (4)
This seems reasonable to me! I'm not sure why we didn't integrate the concrete types originally.
from servo.
@jdm Does this make sense? Do you know why this wasn't done to begin with?
from servo.
Had a quick look everywhere, it seems there are really four cases:
- Should return some variant of
js::typedarray
(the majority). Dealt with in this issue - Should return a
ReadableStream
, see #30891 - Should return an enum, see #30890
- Should return a WebGL extension, which is actually an
object?
in WebIDL. See #30892
from servo.
It may be that what is required is simply implementing ToJSValConvertible
for the various types in js::rust::typedarray
In some ways it would in that case still be nicer to wrap the use of js::
inside dom/bindings
...
from servo.
Related Issues (20)
- Support crown on windows without hacks
- API for Creating Builds that Only Include Features Being Used HOT 2
- mozangle builds extremely slowly on Windows HOT 6
- Intermittent TIMEOUT in /css/css-transitions/non-rendered-element-002.html
- mach bootstrap --skip-platform is broken
- Allow mach bootstrap to run non-interactively on Windows HOT 1
- Intermittent FAIL in `/_mozilla/mozilla/detached_layout.html`
- WebRender font resources (`FontKey` and `FontInstanceKey`) are never cleaned up
- [webgpu] Implement "lose the device"
- mach crashes trying to send notifications on Windows Server 2019
- [webgpu] poller.wait() should call maintain in this thread
- Update link to `selectors` crates in `rust-selectors` repo
- Add pref for wgpu backend HOT 2
- Fix support for the DevTools protocol
- Collapsed table tracks are wrong with spanning cells
- [bluetooth] Replace IPC channel with GenericChannel HOT 6
- Docs are not built for libservo HOT 2
- mach doc hangs and eventually crashes on wgpu-core(doc) HOT 5
- Enable gl(es) backend in wgpu HOT 4
- Unified thread pool and async runtime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from servo.