-
Notifications
You must be signed in to change notification settings - Fork 385
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 when calling Array.prototype.find on HTMLAllCollection #428
Comments
|
@ljharb Yep. We don't actually use it. Apparently a lot of browser extensions do though :( We reported this due to a big spike in errors in our error reporting service. I understand if you're not interested in fixing it at the es6-shim level. We can find a workaround on our side. |
@aaron-stripe i'd love to fix it if there's a proper way to do it, but The codepen is helpful - can you point me to some libraries that are trying to pass |
@ljharb unfortunately I don't know what library is responsible. From our end we can't see much, and our best guess is that it's a browser extension that is doing something on each page load. I can tell you that we first saw it happening ~ |
If someone interested, VueJS Devtools extension for Chrome causes this error too. But I don't think that a lot of @aaron-stripe users have devtools installed. |
@tzurbaev amazing! The timing on this lines up pretty well, it's possible that VueJS Devtools is causing the issue I'm seeing. I just opened a PR with a fix. |
@aaron-stripe since that PR is merged, let's give it a few days to land. If the errors don't subside, I'll write an awful hack to make this work here. |
I ended up writing the awful hack. The next release will include this fix. |
@ljharb thanks :) |
The shimmed version of
Array.prototype.find
raises aTypeError
when called on anHTMLAllCollection
.This is happening in
v54.0.2840.71
of Chrome.Here is a codepen that reproduces this bug in Chrome: http://codepen.io/pifantastic/pen/vyLxGq
The text was updated successfully, but these errors were encountered: