mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
We replace many places that use `SafeJSContext` with `JSContext` and I also rewrote `is_platform_object_same_origin` to use new `JSContext`. Unfortunately using wrappers2 in them causes crashes (in handle code), so I reverted that part in last commit and will fix handles in mozjs later. Testing: Refactor, but it is covered by WPT tests Part of #40600 --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>