electron/shell/renderer/api
trop[bot] 632113662c
fix: use destination context when wrapping VideoFrame in contextBridge (#50023)
Enter the destination context scope before creating the VideoFrame V8
wrapper, matching the sibling Element and Blob branches. Without this,
ScriptState::ForCurrentRealm resolved to the calling context instead of
the target context, producing an incorrect wrapper.

Also switch to ScriptState::From with an explicit context argument to
make the intent clearer.

Adds spec coverage for VideoFrame crossing the bridge in both
directions and adds VideoFrame to the existing prototype checks.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@anthropic.com>
2026-03-03 09:15:37 -05:00
..
context_bridge perf: use absl::flat_hash_map instead of std::unordered_map (#46202) 2025-03-24 10:09:14 +01:00
electron_api_context_bridge.cc fix: use destination context when wrapping VideoFrame in contextBridge (#50023) 2026-03-03 09:15:37 -05:00
electron_api_context_bridge.h chore: bump chromium to 141.0.7390.7 (main) (#48212) 2025-09-08 12:57:15 +02:00
electron_api_crash_reporter_renderer.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47760) 2025-07-21 16:34:38 +02:00
electron_api_ipc_renderer.cc chore: bump chromium to 141.0.7390.7 (main) (#48212) 2025-09-08 12:57:15 +02:00
electron_api_spell_check_client.cc chore: bump chromium to 146.0.7666.0 (41-x-y) (#49543) 2026-02-17 16:19:16 -05:00
electron_api_spell_check_client.h chore: bump chromium to 146.0.7666.0 (41-x-y) (#49543) 2026-02-17 16:19:16 -05:00
electron_api_web_frame.cc chore: bump chromium to 143.0.7469.0 (main) (#48548) 2025-10-15 14:10:10 -07:00
electron_api_web_utils.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47760) 2025-07-21 16:34:38 +02:00
electron_api_web_utils.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00