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
@@ -55,50 +35,20 @@ The full API documentation can be found [here](wasi-proposal-template.md).
55
35
56
36
[Walk through of how someone would use this API.]
57
37
58
-
#### [Use case 1]
59
-
60
-
[Provide example code snippets and diagrams explaining how the API would be used to solve the given problem]
61
-
62
-
#### [Use case 2]
63
-
64
-
[etc.]
65
-
66
-
### Detailed design discussion
67
-
68
-
[This section should mostly refer to the .wit.md file that specifies the API. This section is for any discussion of the choices made in the API which don't make sense to document in the spec file itself.]
69
-
70
-
#### [Tricky design choice #1]
71
-
72
-
[Talk through the tradeoffs in coming to the specific design point you want to make.]
73
-
74
-
```
75
-
// Illustrated with example code.
76
-
```
77
-
78
-
[This may be an open question, in which case you should link to any active discussion threads.]
79
-
80
-
#### [Tricky design choice 2]
81
-
82
-
[etc.]
83
-
84
38
### Considered alternatives
85
39
86
40
#### Support in web browsers with WebUSB
41
+
87
42
Being able to use the API in web browsers would be a nice thing to have, but after experimenting with this idea, it deemed not useful enough. Some points why:
88
43
- The implementation would be a wrapper around WebUSB. WebUSB is currently only available on Chromium-based browsers and is not standardized. As a result, a large portion of users would not be able to use the feature, and would be forced to switch to a Chromium-based browser.
89
44
- WebUSB is an abstraction over the complete USB API and does not expose everything. For example, it cannot detach kernel drivers, or you cannot read the `bMaxPower` property of the configuration descriptor.
90
45
- WebUSB can only be used on non-standard USB devices, limiting the usability of the API. For example, using the WebUSB API is not allowed for accessing mass storage devices or serial devices, like an Arduino
91
46
92
-
### Stakeholder Interest & Feedback
93
-
94
-
TODO before entering Phase 3.
95
-
96
-
[This should include a list of implementers who have expressed interest in implementing the proposal]
97
-
98
47
### References & acknowledgements
99
48
100
49
Many thanks for valuable feedback and advice from:
101
50
102
-
-[Person 1]
103
-
-[Person 2]
104
-
-[etc.]
51
+
- Warre Dujardin
52
+
- Wouter Hennen
53
+
54
+
This work has been partially supported by the ELASTIC project, which received funding from the Smart Networks and Services Joint Undertaking (SNS JU) under the European Union’s Horizon Europe research and innovation programme under Grant Agreement No 101139067. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union. Neither the European Union nor the granting authority can be held responsible for them. This funding supported individual contributor organisations, not the W3C or this community group as a whole.
0 commit comments