Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

[Scopes] Avoid exceptions when import bindings are optimized away. #5722

Merged

Conversation

loganfsmyth
Copy link
Contributor

Refs Issue: #5561

Summary of Changes

  • More carefully check the Grip objects before trying to get properties from them

Copy link
Contributor

@jasonLaster jasonLaster left a comment

Choose a reason for hiding this comment

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

Thanks for the comments and the tests.

I feel better about this code now than before, which is impressive given that we’re handling some difficult cases

@jasonLaster jasonLaster merged commit 2fe01ff into firefox-devtools:master Mar 20, 2018
@loganfsmyth loganfsmyth deleted the optimized-import-bindings branch March 21, 2018 18:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants