atbrakhi
1591a3b506
Add webgpu
feature flag ( #34444 )
...
* Move script gpu files into webgpu folder
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* Modify gpu webidls
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* move gpu realted webidl
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* add webgpu feature to script
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* add dummy implementation for gpucanvascontext
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* fmt
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* add skip-if CARGO_FEATURE_WEBGPU
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* Move NavigatorGPU and workerNavigator GPU to webgpu idl
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* fmt and cleanup
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* review fix
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* enable webgpu by default and also some fmt fix
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* Add pref back, fix imports, small cleanups
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
---------
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
2024-12-05 16:07:27 +00:00
Daniel Adams
48fa77df67
Gamepad: Align closer to spec and implement missing slots ( #31385 )
...
* Implement missing gamepad slots, align to spec more
- Fixes TODO's from initial gamepad implementation
- Adds some missing spec steps
* Only handle gamepad events when pref is enabled
* Return empty list in getGamepads if document not active
* ./mach fmt
* Update getGamepads to return an array instead of GamepadList
* Add spec link for [[exposed]] slot
* Remove failing test expectations for not-fully-active
* A few fixes
- Change should_notify to has_gesture
- Add spec links and TODO to navigator
- Remove unneeded clone from GamepadList::list
- Move gamepadconnected event firing into has_gesture block
* Use queue_with_canceller for tasks and add expects
* Explicitly check for gamepad user gesture
* Move user gesture check into separate function
* Change contains_user_gesture to be a gamepad function
* mach fmt
* Change axis/button threshold constants to be private to module
2024-03-12 12:32:30 +00:00
Smitty
20404a72c0
script: implement navigator.hardwareConcurrency ( #31268 )
...
Signed-off-by: syvb <me@iter.ca>
2024-02-07 18:41:58 +00:00
Samson
ddc47aa56b
Codegen support multiple interfaces in single webidl file & WebGPU single webidl ( #30448 )
...
* Codegen support multiple interfaces in single webidl file
* Merge GPU*.webidl into WebGPU.webidl
* Update gpu files to use WebGPUBinding module file
2023-09-30 12:30:12 +00:00
Josh Matthews
2acd295ea6
dom: Implement Navigator.languages.
2020-07-14 11:50:59 -04:00
Alan Jeffrey
c611e46381
Remove WebVR
2020-04-08 20:23:41 -05:00
Zakor Gyula
12893aa010
Initial implementation of WebGPU API
2019-11-21 08:30:26 +01:00
Kagami Sascha Rosylight
2660f35925
Remove [PrimaryGlobal]
2019-10-03 14:25:23 +09:00
Kagami Sascha Rosylight
d6c58b8226
Migrate to IDL mixin syntax
2019-10-01 18:45:26 +09:00
Alan Jeffrey
4cfd62ac79
Added missing NavigatorId attributes
2019-06-11 11:46:28 -05:00
Jan Andre Ikenmeyer
6b0c111126
Update MPL license to https (part 2)
2018-11-19 14:46:57 +01:00
Imanol Fernandez
fe4ee6de2e
WebVR 1.1 spec compatibility
2017-07-05 22:38:29 +02:00
Imanol Fernandez
0158b5b2af
Implement Gamepad API
2017-04-12 15:43:14 +02:00
Attila Dusnoki
52680bba6b
Fix Permissions and Bluetooth prefs
2017-02-13 14:58:07 +01:00
Attila Dusnoki
5ca3ee9474
Permission API
2017-02-13 14:35:52 +01:00
Zakor Gyula
706cffbca8
Update WebBluetooth webidl files
2017-02-03 11:30:50 +01:00
Imanol Fernandez
c5705bff50
WebVR API Implementation, r=larsbergstrom
2017-01-09 12:44:39 +01:00
zakorgyula
997f9f67f0
Updating bluetooth in Navigator.webidl
2016-11-14 14:25:25 +01:00
Scott Trinh
ab0ddf9040
Partial fix for 12415
2016-10-17 16:08:07 -04:00
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
3bf5813096
Replace instances of old ServiceWorker specification URL with new one
...
The old specification URL is
https://slightlyoff.github.io/ServiceWorker/spec/service_worker/ has
been replaced by the new one at https://w3c.github.io/ServiceWorker/ .
2016-09-25 20:32:32 +05:30
Ashwin R
60f249874e
Implemented Navigator.cookieEnabled
2016-09-01 06:24:33 +05:30
Ms2ger
ed743bb50c
Explicitly expose everything everywhere.
2016-07-12 13:06:48 +02:00
Rahul Sharma
15a2064c0d
implement related sw interface and register method
2016-06-02 04:09:39 +05:30
edunham
7ae63b1213
Remove modelines everywhere but tests/wpt
2016-04-20 10:49:09 -07:00
Connor Brewster
e83d29a7eb
Implemented stub for NavigatorPlugins
2016-04-11 09:14:46 -06:00
Corey Farwell
deefa8907a
Add link to tracking issue for NavigatorLanguage::Languages.
2016-03-19 11:09:24 -04:00
Rahul Sharma
facf59177c
implements NavigatorLanguage
2016-03-17 16:13:37 +05:30
Attila Dusnoki
e7d70cfabf
WebBluetooth API classes
2016-03-16 10:34:48 +01:00
Corey Farwell
9b68d715de
Explicitly place '/' before fragment for multipage spec links
...
This prevents us from 301 redirecting, which could cause the fragment to
get lost
2015-10-10 12:07:10 -04:00
Corey Farwell
85f2b6fc5b
Replace usage of old-style WHATWG spec links
2015-10-10 11:55:09 -04:00
Corey Farwell
5eaa922045
Update WHATWG links to use HTTPS
...
Extracted this out of #5649
This commit was created with the following commands:
```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
2015-04-13 21:34:27 -07:00
Deokjin Kim
c0e691b08d
Implement Navigator.appVersion( #5409 )
2015-04-01 00:36:40 +09:00
Glenn Watson
eb5532c781
Expose user agent option to DOM navigator interface.
2014-10-13 19:53:41 +10:00
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00