Skip to content

jsglue: add a method to retrieve ErrorInfo from the pending exception stack#723

Draft
Gae24 wants to merge 3 commits intoservo:mainfrom
Gae24:exception-stack
Draft

jsglue: add a method to retrieve ErrorInfo from the pending exception stack#723
Gae24 wants to merge 3 commits intoservo:mainfrom
Gae24:exception-stack

Conversation

@Gae24
Copy link
Copy Markdown
Contributor

@Gae24 Gae24 commented Mar 23, 2026

Attempt to retrieve ErrorInfo from the stack of the pending exception, to avoid empty messages on uncaught exceptions.

Testing: Need to test it with servo.
Servo PR: servo/43632

cx,
message_buf.as_mut_ptr(),
filename_buf.as_mut_ptr(),
1024,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

magic number

@Gae24 Gae24 force-pushed the exception-stack branch 2 times, most recently from 303ba05 to 80a6ae0 Compare March 24, 2026 14:59
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
@Gae24 Gae24 force-pushed the exception-stack branch 4 times, most recently from c34c49e to eaa132f Compare March 27, 2026 11:55
… error

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
@Gae24 Gae24 force-pushed the exception-stack branch from eaa132f to a0c40b2 Compare March 27, 2026 12:05
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
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.

2 participants