Title: "Global code" casing inconsistency · Issue #40 · stacktracejs/error-stack-parser · GitHub
Open Graph Title: "Global code" casing inconsistency · Issue #40 · stacktracejs/error-stack-parser
X Title: "Global code" casing inconsistency · Issue #40 · stacktracejs/error-stack-parser
Description: Hi there, first off thanks for an incredible useful collection of modules! 👍 Expected Behavior I would expect StackFrame.functionName to be consistent across browsers. Current Behavior The parsed stack from two different browsers (e.g. S...
Open Graph Description: Hi there, first off thanks for an incredible useful collection of modules! 👍 Expected Behavior I would expect StackFrame.functionName to be consistent across browsers. Current Behavior The parsed s...
X Description: Hi there, first off thanks for an incredible useful collection of modules! 👍 Expected Behavior I would expect StackFrame.functionName to be consistent across browsers. Current Behavior The parsed s...
Opengraph URL: https://github.com/stacktracejs/error-stack-parser/issues/40
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Global code\" casing inconsistency","articleBody":"Hi there, first off thanks for an incredible useful collection of modules! 👍\r\n\r\n## Expected Behavior\r\nI would expect `StackFrame.functionName` to be consistent across browsers.\r\n\r\n## Current Behavior\r\nThe parsed stack from two different browsers (e.g. Safari 11 vs. Edge 14) which originated in the top level of a `\u003cscript\u003e` tag, yields two distinct strings for `StackFrame.functionName`:\r\n\r\n`\"Global code\"` (Safari 11) vs `\"global code\"` (Edge 14)\r\n\r\n## Context\r\nI notice that there are test cases for both versions of this string:\r\n\r\nhttps://github.com/stacktracejs/error-stack-parser/blob/8f4c8711286c0a2239184d4d6fae7918c6586922/spec/error-stack-parser-spec.js#L47\r\nhttps://github.com/stacktracejs/error-stack-parser/blob/8f4c8711286c0a2239184d4d6fae7918c6586922/spec/error-stack-parser-spec.js#L145\r\n\r\nSo I wonder if this is intentional?\r\n\r\n## Possible Solution\r\nPersonally I would like the library to normalize this string such that stacktraces are more consistent between browsers but I want to know if it is intentionally like this.\r\n\r\nIf you agree that it should be normalized, I'd be happy to supply a pull request.\r\n\r\nCheers!\r\n","author":{"url":"https://github.com/bengourley","@type":"Person","name":"bengourley"},"datePublished":"2017-10-12T11:23:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/40/error-stack-parser/issues/40"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:76e93951-6759-c582-212e-25a72a4e79bb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3E8:45A6C:67147C:917765:696F3C80 |
| html-safe-nonce | 2081c6d3ae0aec507f39f4589d119a3b07a8ffa44f45bcf3eaf997157dbe126b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0U4OjQ1QTZDOjY3MTQ3Qzo5MTc3NjU6Njk2RjNDODAiLCJ2aXNpdG9yX2lkIjoiODM2NDcwMjYzNDcwNjE1NjY3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c2da754c7a257593ed32e2b04c3f1299bf0f4be3afa117860753dc158e5e58a7 |
| hovercard-subject-tag | issue:264904294 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stacktracejs/error-stack-parser/40/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ed4251caa63625f346173563dbfe8e50b2c2b5a9aeabdc6a3e4a11e0dc699835/stacktracejs/error-stack-parser/issues/40 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed4251caa63625f346173563dbfe8e50b2c2b5a9aeabdc6a3e4a11e0dc699835/stacktracejs/error-stack-parser/issues/40 |
| og:image:alt | Hi there, first off thanks for an incredible useful collection of modules! 👍 Expected Behavior I would expect StackFrame.functionName to be consistent across browsers. Current Behavior The parsed s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bengourley |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/stacktracejs/error-stack-parser git https://github.com/stacktracejs/error-stack-parser.git |
| octolytics-dimension-user_id | 6131251 |
| octolytics-dimension-user_login | stacktracejs |
| octolytics-dimension-repository_id | 15014773 |
| octolytics-dimension-repository_nwo | stacktracejs/error-stack-parser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 15014773 |
| octolytics-dimension-repository_network_root_nwo | stacktracejs/error-stack-parser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width