-
Couldn't load subscription status.
- Fork 80
test(ses): repro 2941 errorTrapping bugs #2944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
37d8080 to
cdca569
Compare
cdca569 to
fbb0ed1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds baseline reproduction test cases for issue #2941, which appears to involve errorTrapping bugs in the SES (Secure ECMAScript) implementation. The PR creates a comprehensive test suite demonstrating different error handling behaviors across various configurations.
- Creates demo files to reproduce error trapping behaviors across different SES configurations
- Documents expected vs actual behavior for multiline error messages and error causes
- Sets up test cases for both Node.js and browser environments to establish baseline behavior
Reviewed Changes
Copilot reviewed 14 out of 17 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| test3/*.demo.js | Node.js demo files testing error cause handling with different errorTrapping configurations |
| test3/README.md | Documents duplicated file paths in error cause output when using 'platform' errorTrapping |
| test2/*.demo.js | Node.js demo files testing multiline error message handling |
| test2/README.md | Documents multiline error message duplication issue with 'platform' errorTrapping |
| test1/*.html | Browser-based HTML test files for different errorTrapping configurations |
| test1/test.notjs | Invalid syntax test file to trigger parsing errors in browsers |
| test1/README.md | Documents browser behavior testing approach with placeholder content |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
d3972dd to
766a1d8
Compare
bdf841f to
7e11152
Compare
|
PTAL |
9af8047 to
e5da7f3
Compare
Just a baseline repro, so future PRs that fix these bugs can illustrate what's different.
Closes: #XXXX
Refs: #2941 #2945
Description
Just a baseline repro of #2941 , so a future PR (such as #2945) that fix this bug can illustrate what's different.
Security Considerations
Adds only test cases without any changes to the system being tested, so none.
Scaling Considerations
none
Documentation Considerations
none
Testing Considerations
The point. The added test cases are a baseline repro to be fixed in an upcoming PR #2945
Compatibility Considerations
none
Upgrade Considerations
none