mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-20 11:37:56 -04:00
Requires: https://github.com/lightpanda-io/zig-v8-fork/pull/207 Inspired by https://github.com/lightpanda-io/browser/pull/3504 this simplifies v8::Value serialization (e.g. as used in console.log(...)). 1 - It doesn't executes JS and thus can't have a side effect, which is otherwise possible if we invoke a getter or through a proxy 2 - It removes the debugValue debug-only path (2) is potentially a loss in debug builds, but I think the usefulness of that was always, at best. The upside is code elimination and consistency in how values are reported in debug/release