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

Fix #2469. #2499

Merged
merged 3 commits into from
Feb 4, 2024
Merged

Fix #2469. #2499

merged 3 commits into from
Feb 4, 2024

Conversation

me21
Copy link
Contributor

@me21 me21 commented Feb 2, 2024

Filter out originalTarget property in the event, because it's non-standard, exists in Firefox only and causes issues with stringifying the event. See #2469.

@me21
Copy link
Contributor Author

me21 commented Feb 2, 2024

Whoa, I got a message from tests that test_page_title failed on Python 3.10. But I'm not sure if it's a problem with the code changes. Please take a closer look on your side.

Copy link
Contributor

@falkoschindler falkoschindler left a comment

Choose a reason for hiding this comment

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

Thanks a lot for this neat solution, @me21!
I just made it a bit more conservative by checking if the object really can't be accessed. This way we don't blindly exclude all fields with the name "originalTarget".

@falkoschindler falkoschindler merged commit 52d2961 into zauberzeug:main Feb 4, 2024
1 check passed
@falkoschindler falkoschindler added this to the 1.4.14 milestone Feb 4, 2024
@falkoschindler falkoschindler added the bug Something isn't working label Feb 4, 2024
@me21 me21 deleted the me21-patch-for-2469 branch February 26, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in the console of Firefox when using handler of popup-hide event of QSelect
2 participants