Skip to content
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

[Merged by Bors] - Add limited console.trace implementation #1623

Closed
wants to merge 2 commits into from

Conversation

osman-turan
Copy link
Contributor

This Pull Request partially fixes #307.

It changes the following:

  • Implements limited console.trace functionality by dumping stack trace. Since console.trace's output is supposed to be implementation-specific according to the technical specification, it should be technically correct 😀 Any hints about potential improvements are welcome!


#[cfg(not(feature = "vm"))]
fn get_stack_trace(_: &mut Context) -> Vec<String> {
vec![]
Copy link
Contributor

Choose a reason for hiding this comment

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

Should leave a TODO comment here so that it is easy to spot

Copy link
Contributor

@RageKnify RageKnify left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot pushed a commit that referenced this pull request Oct 26, 2021
This Pull Request partially fixes #307.

It changes the following:

- Implements limited `console.trace` functionality by dumping stack trace. Since `console.trace`'s output is supposed to be implementation-specific according to the technical specification, it should be technically correct 😀 Any hints about potential improvements are welcome!
@bors
Copy link

bors bot commented Oct 26, 2021

This PR was included in a batch that was canceled, it will be automatically retried

bors bot pushed a commit that referenced this pull request Oct 26, 2021
This Pull Request partially fixes #307.

It changes the following:

- Implements limited `console.trace` functionality by dumping stack trace. Since `console.trace`'s output is supposed to be implementation-specific according to the technical specification, it should be technically correct 😀 Any hints about potential improvements are welcome!
@bors
Copy link

bors bot commented Oct 26, 2021

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Add limited console.trace implementation [Merged by Bors] - Add limited console.trace implementation Oct 26, 2021
@bors bors bot closed this Oct 26, 2021
@Razican Razican added this to the v0.14.0 milestone Oct 30, 2021
@Razican Razican added the hacktoberfest-accepted PR accepted for Hacktoberfest label Oct 30, 2021
@RageKnify RageKnify added the enhancement New feature or request label Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest-accepted PR accepted for Hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement console methods
4 participants