Kingsley Yung
5b3684e2ce
script: Pass &mut JSContext to method of Crypto interface ( #42809 )
...
This patch changes the method of `Crypto` interface to use the new `&mut
JSContext`.
The method `crypto.subtle` calls `SubtleCrypto::new` to create an
instance of `SubtleCrypto` and the new `&mut JSContext` is passed to
`SubtleCrypto::new`. Therefore, the new `reflect_dom_object_with_cx`
method is also used in `SubtleCrypto::new`.
Testing: Refactoring. Existing tests suffice.
Fixes: Part of #42638
Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev >
2026-02-24 19:24:46 +00:00
..
2025-03-28 10:23:41 +00:00
2026-02-24 19:24:46 +00:00
2026-02-19 14:31:13 +00:00
2025-11-08 19:57:59 +00:00
2025-11-06 12:31:48 +00:00
2026-02-12 15:17:30 +00:00
2025-04-08 19:22:24 +00:00
2026-02-23 21:39:37 +00:00
2026-01-09 10:09:45 +00:00
2025-12-31 06:27:52 +00:00
2026-02-16 08:32:08 +00:00
2026-01-10 08:05:49 +00:00
2025-12-29 12:50:30 +00:00
2026-01-03 10:54:27 +00:00
2026-02-20 16:03:21 +00:00
2026-01-28 09:33:55 +00:00
2026-01-28 14:07:27 +00:00
2026-01-24 22:29:11 +00:00
2025-11-08 14:27:35 +00:00
2026-02-20 16:03:21 +00:00
2026-02-01 10:57:08 +00:00
2026-02-07 03:36:34 +00:00
2026-02-20 05:56:15 +00:00
2026-02-19 11:05:33 +00:00
2025-10-17 08:48:23 +00:00
2026-02-24 19:16:06 +00:00
2026-01-05 16:28:45 +00:00
2026-02-20 16:03:21 +00:00
2025-12-30 18:19:41 +00:00
2026-01-09 10:09:45 +00:00
2026-02-24 19:16:06 +00:00
2025-11-13 19:14:30 +00:00
2026-02-16 14:45:55 +00:00
2026-02-23 09:29:59 +00:00
2026-02-04 19:46:06 +00:00
2026-02-20 16:03:21 +00:00
2025-12-10 15:09:49 +00:00
2026-02-20 16:03:21 +00:00
2025-11-11 02:59:38 +00:00
2025-10-02 07:51:19 +00:00
2026-02-11 08:40:49 +00:00
2025-11-26 21:37:55 +00:00
2026-01-08 07:49:27 +00:00
2026-01-06 14:52:08 +00:00
2026-01-29 12:01:39 +00:00
2026-02-14 10:03:25 +00:00
2025-10-09 18:18:03 +00:00
2026-02-16 08:32:08 +00:00
2025-11-06 12:31:48 +00:00
2025-11-20 06:20:47 +00:00