René's URL Explorer Experiment


Title: Add support for setEvalOrigin by joews · Pull Request #37 · stacktracejs/error-stack-parser · GitHub

Open Graph Title: Add support for setEvalOrigin by joews · Pull Request #37 · stacktracejs/error-stack-parser

X Title: Add support for setEvalOrigin by joews · Pull Request #37 · stacktracejs/error-stack-parser

Description: Work in progress fix for #32. I'm opening the PR early to check the approach and ask some questions 😄 So far I have hacked in basic v8 support and tested on Chrome 58. I'll do the other engines and eval tests when i'm happy with the approach. A few questions about setEvalOrigin. Given this program: // index.js function f() { return g(); } function g() { return h(); } function h() { try { eval(` function willThrow() { return doesNotExist; } willThrow(); `); } catch (e) { console.log(e.stack); } } f(); Which is the "parent" stack frame - eval in index.js or willThrow in ? Should the parent or child frame have the isEval flag? The logic in the PR so far is a simple delta from master which has willThrow/index.js as the parent. Description Expose inner line and column information for stack frames inside eval code. Motivation and Context See #32. How Has This Been Tested? So far: one unit test on a stack frame from Chrome 58. Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Checklist: node_modules/.bin/jscs -c .jscsrc error-stack-parser.js passes without errors npm test passes without errors I have read the contribution guidelines I have updated the documentation accordingly I have added tests to cover my changes

Open Graph Description: Work in progress fix for #32. I'm opening the PR early to check the approach and ask some questions 😄 So far I have hacked in basic v8 support and tested on Chrome 58. I'll do the other eng...

X Description: Work in progress fix for #32. I'm opening the PR early to check the approach and ask some questions 😄 So far I have hacked in basic v8 support and tested on Chrome 58. I'll do the o...

Opengraph URL: https://github.com/stacktracejs/error-stack-parser/pull/37

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ca8ebcd6-4501-94d1-0b37-7c8ec553b18f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA32:2713AA:13357CC:19A357F:69703223
html-safe-nonced9371ffad2b70b91aa682c5d8fc7fb71a37993622e5c50527a4f7581116c8f44
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTMyOjI3MTNBQToxMzM1N0NDOjE5QTM1N0Y6Njk3MDMyMjMiLCJ2aXNpdG9yX2lkIjoiNjgyODk3Nzc2NDUyMzA2MTc5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac740968b77c199f9be3d5c6b72d8c8e7ce0ecd2cd05a0606755f675f4c753857c
hovercard-subject-tagpull_request:122539115
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/stacktracejs/error-stack-parser/pull/37/files
twitter:imagehttps://avatars.githubusercontent.com/u/294383?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/294383?s=400&v=4
og:image:altWork in progress fix for #32. I'm opening the PR early to check the approach and ask some questions 😄 So far I have hacked in basic v8 support and tested on Chrome 58. I'll do the other eng...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/stacktracejs/error-stack-parser git https://github.com/stacktracejs/error-stack-parser.git
octolytics-dimension-user_id6131251
octolytics-dimension-user_loginstacktracejs
octolytics-dimension-repository_id15014773
octolytics-dimension-repository_nwostacktracejs/error-stack-parser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id15014773
octolytics-dimension-repository_network_root_nwostacktracejs/error-stack-parser
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef643964067a552f02067066d6a910b2f90a5721f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstacktracejs%2Ferror-stack-parser%2Fpull%2F37%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstacktracejs%2Ferror-stack-parser%2Fpull%2F37%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=stacktracejs%2Ferror-stack-parser
Reloadhttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files
Reloadhttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files
Reloadhttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files
stacktracejs https://patch-diff.githubusercontent.com/stacktracejs
error-stack-parserhttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fstacktracejs%2Ferror-stack-parser
Fork 51 https://patch-diff.githubusercontent.com/login?return_to=%2Fstacktracejs%2Ferror-stack-parser
Star 483 https://patch-diff.githubusercontent.com/login?return_to=%2Fstacktracejs%2Ferror-stack-parser
Code https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser
Issues 14 https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/issues
Pull requests 9 https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pulls
Actions https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/security
Please reload this pagehttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files
Insights https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pulse
Code https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser
Issues https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/issues
Pull requests https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pulls
Actions https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/actions
Security https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/security
Insights https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fstacktracejs%2Ferror-stack-parser%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fstacktracejs%2Ferror-stack-parser%2Fissues%2Fnew%2Fchoose
joewshttps://patch-diff.githubusercontent.com/joews
stacktracejs:masterhttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/tree/master
joews:feature-eval-errorshttps://patch-diff.githubusercontent.com/joews/error-stack-parser/tree/feature-eval-errors
Conversation 2 https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37
Commits 1 https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/commits
Checks 0 https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/checks
Files changed https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files
Please reload this pagehttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files
Add support for setEvalOrigin https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files
62da376 WIP: setEvalOrigin for v8 joews May 25, 2017 https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/commits/62da3769af790f9038ba1d72d5d37f08639118bc
Clear filters https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files
Please reload this pagehttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files
Please reload this pagehttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files
error-stack-parser.js https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-6ffe71397fb62cc82f69ae2f8796022fde76a4087ae0eb4c3375d3956fdd0b9b
error-stack-parser-spec.js https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-79b82d2519a53e9f98fffee7a41cbd2dbd8c088fe29a04177962f75b72046e7b
captured-errors.js https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-3fd5d03c9c6f3994b017fffe0d7d15f51ed599a0afe9b94496931a12cfe799ba
error-stack-parser.jshttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-6ffe71397fb62cc82f69ae2f8796022fde76a4087ae0eb4c3375d3956fdd0b9b
View file https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/blob/62da3769af790f9038ba1d72d5d37f08639118bc/error-stack-parser.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-6ffe71397fb62cc82f69ae2f8796022fde76a4087ae0eb4c3375d3956fdd0b9b
https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-6ffe71397fb62cc82f69ae2f8796022fde76a4087ae0eb4c3375d3956fdd0b9b
spec/error-stack-parser-spec.jshttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-79b82d2519a53e9f98fffee7a41cbd2dbd8c088fe29a04177962f75b72046e7b
View file https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/blob/62da3769af790f9038ba1d72d5d37f08639118bc/spec/error-stack-parser-spec.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-79b82d2519a53e9f98fffee7a41cbd2dbd8c088fe29a04177962f75b72046e7b
https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-79b82d2519a53e9f98fffee7a41cbd2dbd8c088fe29a04177962f75b72046e7b
spec/fixtures/captured-errors.jshttps://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-3fd5d03c9c6f3994b017fffe0d7d15f51ed599a0afe9b94496931a12cfe799ba
View file https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/blob/62da3769af790f9038ba1d72d5d37f08639118bc/spec/fixtures/captured-errors.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-3fd5d03c9c6f3994b017fffe0d7d15f51ed599a0afe9b94496931a12cfe799ba
https://patch-diff.githubusercontent.com/stacktracejs/error-stack-parser/pull/37/files#diff-3fd5d03c9c6f3994b017fffe0d7d15f51ed599a0afe9b94496931a12cfe799ba
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.