aboutsummaryrefslogtreecommitdiffstats
path: root/components/config
diff options
context:
space:
mode:
authorDaniel Adams <70986246+msub2@users.noreply.github.com>2024-10-08 03:51:08 +0000
committerGitHub <noreply@github.com>2024-10-08 03:51:08 +0000
commitfc0d4d8157c71c512817886bc3b8d1adad5d46a9 (patch)
tree0def1a423dd597400abee4906940d375c3b6ca6f /components/config
parent66bc430b24a0cb1fe2d51e2b5983ea8833ba22b9 (diff)
downloadservo-fc0d4d8157c71c512817886bc3b8d1adad5d46a9.tar.gz
servo-fc0d4d8157c71c512817886bc3b8d1adad5d46a9.zip
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>
Diffstat (limited to 'components/config')
-rw-r--r--components/config/prefs.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/config/prefs.rs b/components/config/prefs.rs
index d6da7d0e5d9..fe169317341 100644
--- a/components/config/prefs.rs
+++ b/components/config/prefs.rs
@@ -249,6 +249,11 @@ mod gen {
#[serde(rename = "dom.compositionevent.enabled")]
enabled: bool,
},
+ crypto: {
+ subtle: {
+ enabled: bool,
+ }
+ },
custom_elements: {
#[serde(rename = "dom.customelements.enabled")]
enabled: bool,