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

Fixed problem with unavailable details in a secured context. #95

Closed
wants to merge 1 commit into from
Closed

Conversation

neochief
Copy link

It seems that there are multiple problems arise from the fact that the extension doesn't use messaging API instead of passing events. In my case, there was a problem outlined in #92 on an error inside svg file.

It turned out, that in a mixed context environment when making "document.dispatchEvent", the resulting event won't contain the detail object. Some info about this can be located at the bottom of this page: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent

In this pull request, I improved the way the messages are being sent.

Fixed problem with unavailable details in a secured context.
@neochief neochief closed this Oct 26, 2023
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.

1 participant