-
Notifications
You must be signed in to change notification settings - Fork 465
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
TypeError: e.matches is not a function #2000
Comments
Thanks for the detail steps to reproduce. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prelude
I have searched through the issues and found this PR (#1196). However, I suppose this issue is worth a separate issue since the PR does not seem to address it correctly.
Error details
SurfingKeys: 1.13.0
Browser: Firefox 113.0.2, Arch Linux
URL: http://example.com
The console stack trace shows:
Context
Reproducing steps
I was suspecting some
focus
event causes this since itse.target
isdocument
(there is no suchdocument.matches
). Driven by this thought I managed to reproduce it quite reliably with the following steps. But I am unsure if any other events are passing invalid arguments toisEditable
though.Way 1
Alt+Tab
to switch between the browser window and the other window for a couple of timesWay 2
Refresh any page (with F5 or by click on the refresh button). Refreshing in the dev console with F5 works fine though, but the error message pops when I focus back into the browser.
The text was updated successfully, but these errors were encountered: