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

Skip range check when parsing stack trace #100

Merged

Conversation

EdmondChuiHW
Copy link

Summary

Hermes is working on implementing proper support for script ranges: T199120793. In the meantime, we'll disable the range check so symbolication can be made available.

Long term plans are being discussed here.

Test plan

Manual E2E test as described in D60598446

Upstreaming plan

  • This commit should be sent as a patch to the upstream devtools-frontend repo. I've reviewed the contribution guide.
  • This commit is React Native-specific and cannot be upstreamed.

@@ -245,13 +245,15 @@ export class Linkifier extends Common.ObjectWrapper.ObjectWrapper<EventTypes> im
return fallbackAnchor;
}

// TODO(T199120793) Skipping script range check until Hermes implements script range
const skipRangeCheck = true;
Copy link
Author

Choose a reason for hiding this comment

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

We can make this an experiment if we want. imo I think it's an overkill

@EdmondChuiHW EdmondChuiHW merged commit 7115615 into facebookexperimental:main Aug 22, 2024
3 checks passed
@EdmondChuiHW EdmondChuiHW deleted the skip-range-check branch August 22, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants