mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Don't conform to the spec with isTrusted. The spec defines it as `LegacyUnforgeable` but defining it in the constructor has a big performance impact and the property doesn't seem to be useful outside of browsers. Refs: https://github.com/nodejs/performance/issues/32 PR-URL: https://github.com/nodejs/node/pull/46974 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>