Skip to content

Store frames to guest as Map - #9287

Merged
kevinsawicki merged 2 commits into
masterfrom
store-frames-to-guest-as-map
Apr 26, 2017
Merged

kevinsawicki merged 2 commits into
masterfrom
store-frames-to-guest-as-map

Conversation

@kevinsawicki

Copy link
Copy Markdown
Contributor

Using an object for this mapping causes errors to be thrown if the frame name matched a built-in object property (like __proto__). Now it uses a Map which supports all frame names.

@kevinsawicki kevinsawicki changed the title Store frames to guest as map Store frames to guest as Map Apr 25, 2017
@YurySolovyov

Copy link
Copy Markdown
Contributor

Spotted any other places for this kind of cleanup?

@kevinsawicki

Copy link
Copy Markdown
Contributor Author

Spotted any other places for this kind of cleanup?

Haven't seen any other obvious ones, most other object maps use generated ids that are incrementing numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants