Skip to content

Conversation

@erights
Copy link
Contributor

@erights erights commented Aug 20, 2025

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

@erights erights self-assigned this Aug 20, 2025
@erights erights force-pushed the markm-test-2941-error-traps branch from 37d8080 to cdca569 Compare August 20, 2025 05:45
@erights erights requested a review from naugtur August 20, 2025 05:48
@erights erights force-pushed the markm-test-2941-error-traps branch from cdca569 to fbb0ed1 Compare September 16, 2025 06:52
@erights erights requested review from Copilot and naugtur September 16, 2025 07:01
Copy link

Copilot AI left a 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.

@erights erights requested a review from gibson042 September 16, 2025 08:14
@erights erights force-pushed the markm-test-2941-error-traps branch 3 times, most recently from d3972dd to 766a1d8 Compare September 19, 2025 00:41
@erights erights force-pushed the markm-test-2941-error-traps branch 2 times, most recently from bdf841f to 7e11152 Compare October 7, 2025 23:46
@erights erights marked this pull request as ready for review October 8, 2025 00:09
@erights
Copy link
Contributor Author

erights commented Oct 8, 2025

PTAL

@erights erights force-pushed the markm-test-2941-error-traps branch from 9af8047 to e5da7f3 Compare October 9, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants