servo/components/script
Taym Haddadi 9be989146d
WebIDL: Use ArrayBuffer instead of raw JSObject in bindings (#31202)
* WebIDL: Use ArrayBuffer instead of raw JSObject in bindings

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Convert GPUBufferMapInfo mapping to Arc<Mutex>

* Remove #[allow(unsafe_code)] from GPUBuffer

* Add doc comments

* Implement trace for Arc<Mutex<Vec<T>>>

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Use #[no_trace] for GPUBufferMapInfo.mapping

* Make create_new_external_array_buffer generic

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Address review comments

* Remove HeapTypedArray::new and avoid cloning Arc

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Use expect for GetMappedRange and ReadAsArrayBuffer

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Use doc comments for FileReaderSyncMethods

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Return for Error::JsFailed GetMappedRange and ReadAsArrayBuffer

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Fix detached_internal implementation and comments

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* format code

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Update expectations

---------

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
2024-02-13 07:58:48 +00:00
..
docs Update branch name to main (#30877) 2023-12-16 09:32:20 +00:00
dom WebIDL: Use ArrayBuffer instead of raw JSObject in bindings (#31202) 2024-02-13 07:58:48 +00:00
layout_dom Further changes required by Servo 2023-11-24 08:57:14 +01:00
task_source rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
animation_timeline.rs script: Start replacing time with std::time and chrono (#30639) 2024-01-16 12:23:18 +00:00
animations.rs Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
body.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
build.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
canvas_state.rs canvas2d: Implement .reset() (#31258) 2024-02-05 08:53:00 +00:00
Cargo.toml script: implement navigator.hardwareConcurrency (#31268) 2024-02-07 18:41:58 +00:00
clipboard_provider.rs
devtools.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
document_loader.rs Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
euclidext.rs Update euclid 2020-04-07 08:51:08 -07:00
fetch.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
image_listener.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
init.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
layout_image.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
lib.rs Compile Servo with the latest version of rust stable (#30831) 2023-12-06 17:36:07 +00:00
mem.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
microtask.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
network_listener.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
realms.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
script_module.rs Remove deprecated remove function (#31213) 2024-01-30 03:49:11 +00:00
script_runtime.rs android: disable JIT in SM to workaround #31134 (#31270) 2024-02-07 03:59:28 +00:00
script_thread.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
serviceworker_manager.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
stylesheet_loader.rs Further changes required by Servo 2023-11-21 15:36:35 +01:00
stylesheet_set.rs
task.rs ensure clean shutdown of all threads running JS 2020-06-30 13:22:38 +08:00
task_manager.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
task_queue.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
test.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
textinput.rs Update textinput.rs (#30643) 2023-11-01 13:27:32 +00:00
timers.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
unpremultiplytable.rs
webdriver_handlers.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
window_named_properties.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00