Skip to content

Conversation

@Connor-Knabe
Copy link

Fixes
Cannot assign to read only property 'onbeforeunload' of object '#'

#1082

There was another pull request that I don't believe was pulled in. This issue is still present in 3.0.1. Thanks!

onbeforeunload: {
enumerable: true,
writable: false,
writable: true,

Choose a reason for hiding this comment

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

should onunload be writable: true as well? L:50?

Copy link
Author

Choose a reason for hiding this comment

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

I know that onbeforeunload fixed this issue. I wouldn't touch onunload unless that was causing issues as well. Thanks for checking @nramirez!

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants