servo/components/script/dom/bindings
Daniel Adams fc0d4d8157
crypto: Begin SubtleCrypto implementation (#33628)
* Update IDLs and Bindings conf

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Add AES crate

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Implement DOM interfaces

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* IDL tidy

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Remove deriveKey from inRealms for now until implemented

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Fix CryptoKey rustdoc comments

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Move string constants to top of file

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Use properly rooted CryptoKey

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Code clarity

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Rework NormalizedAlgorithm to not hold a DOMString

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Add Rustdoc for CryptoKey interface

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Move ignore mallocsizeof to rand crate, remove from crypto

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update cargo lock

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Fix key handling, implement exportKey with JWK TODO

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Add missing spec link

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Use create_buffer_source, remove aes dep from libservo

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Fix crash when running in worker

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* fmt

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Move CryptoKey and SubtleCrypto behind pref for now

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Readd timeout expectation

Signed-off-by: Daniel Adams <msub2official@gmail.com>

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-10-08 03:51:08 +00:00
..
codegen crypto: Begin SubtleCrypto implementation (#33628) 2024-10-08 03:51:08 +00:00
buffer_source.rs webgpu: Sync GPUBuffer (#33154) 2024-08-27 07:54:55 +00:00
callback.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
cell.rs Fix incorrect documentation and add track_caller to DomRefCell methods (#33111) 2024-08-19 07:24:38 +00:00
constant.rs script: Use the new C string literal in the DOM bindings (#32741) 2024-07-11 04:18:54 +00:00
conversions.rs jsstring_to_str should accept a NonNull argument for the JS string (#33306) 2024-09-05 03:25:49 +00:00
error.rs Update mozjs (SpiderMonkey) to 128.0 (#32769) 2024-07-29 07:20:15 +00:00
finalize.rs Extract generated finalizers into generic helper functions. (#31569) 2024-03-08 14:15:26 +00:00
guard.rs bindings: Allow Guard to take multiple conditions, check for SecureContext in ConstructorEnabled (#33508) 2024-09-21 09:50:05 +00:00
htmlconstructor.rs Propagate CanGc from Document::new() (#33386) 2024-09-09 22:38:01 +00:00
import.rs Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +00:00
inheritance.rs Use global exports from derives (#33169) 2024-08-25 13:58:09 +00:00
interface.rs fix: Replace callargs_is_constructing with is_constructing method (#33101) 2024-08-18 01:48:39 +00:00
iterable.rs Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +00:00
like.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
mod.rs Less allow(crown::unrooted_must_root) in bindings (#33630) 2024-10-03 10:14:43 +00:00
namespace.rs script: Use the new C string literal in the DOM bindings (#32741) 2024-07-11 04:18:54 +00:00
num.rs clippy: Fix dereferencing a tuple pattern warnings (#31811) 2024-03-21 17:04:18 +00:00
principals.rs script: Impl cloning of JSPrincipals (#32706) 2024-07-06 10:25:38 +00:00
proxyhandler.rs Replace .map_or(false with Option::is_some_and (#33468) 2024-09-16 10:03:52 +00:00
record.rs Fix some clippy warnings in components/gfx and components/script (#32215) 2024-05-02 20:02:21 +00:00
refcounted.rs clippy: Fix clippy problems in components/script/dom (#31891) 2024-03-27 18:36:16 +00:00
reflector.rs Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +00:00
root.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
serializable.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
settings_stack.rs Propagate CanGc from Document::new() (#33386) 2024-09-09 22:38:01 +00:00
str.rs Fix rustdoc problems (#33458) 2024-09-14 18:32:41 +00:00
structuredclone.rs Update mozjs (SpiderMonkey) to 128.0 (#32769) 2024-07-29 07:20:15 +00:00
trace.rs webgpu: Factor out swapchain to separate file (#33367) 2024-09-09 13:29:04 +00:00
transferable.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
utils.rs tidy: Fix rustdoc warnings and add a tidy check for a common URL issue (#33366) 2024-09-08 15:04:19 +00:00
weakref.rs Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
xmlname.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00