This change introduces a "reporting" option to lockdown and repairIntrinsics that determines the means by which SES will send warnings to diagnostic tools like the web or node console, print, or nowhere at all.
Security Considerations
None
Scaling Considerations
None
Documentation Considerations
Relevant documentation added to lockdown options and NEWS.
Testing Considerations
This adjusts the existing test to use the "reporting": "console" option, since it already verifies that behavior and consequently is suitable for verifying the web behavior while standing on Node.js.
This adds a new test that verifies that reporting with the "platform" default behavior on node generates no output on stderr and confirms the presence of expected indented and non-indented messages, while being resilient to additional intrinsics being added to the platform.
Closes: #2608
Description
This change introduces a
"reporting"
option tolockdown
andrepairIntrinsics
that determines the means by which SES will send warnings to diagnostic tools like the web or nodeconsole
,print
, or nowhere at all.Security Considerations
None
Scaling Considerations
None
Documentation Considerations
Relevant documentation added to lockdown options and NEWS.
Testing Considerations
This adjusts the existing test to use the
"reporting": "console"
option, since it already verifies that behavior and consequently is suitable for verifying the web behavior while standing on Node.js.This adds a new test that verifies that reporting with the
"platform"
default behavior on node generates no output on stderr and confirms the presence of expected indented and non-indented messages, while being resilient to additional intrinsics being added to the platform.Compatibility Considerations
None.
Upgrade Considerations
None.