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
RangeError: Invalid array length #875
Labels
bug
Something isn't working
Comments
capricorn86
added a commit
that referenced
this issue
May 2, 2023
…ion related to id/name of elements colliding with class properties and methods.
capricorn86
added a commit
that referenced
this issue
May 2, 2023
…-length #875@patch: Fixes issue in HTMLCollection and HTMLFormControlsCollect…
Thank you for reporting @lovetingyuan! 🙂 The issue has been fixed now. This was a pretty serious bug. Hopefully it is not common to use names or id:s with the same name as methods and properties of the HTMLCollection class. You can read more about the release here: |
capricorn86
added a commit
that referenced
this issue
May 3, 2023
capricorn86
added a commit
that referenced
this issue
May 3, 2023
capricorn86
added a commit
that referenced
this issue
May 3, 2023
capricorn86
added a commit
that referenced
this issue
May 4, 2023
capricorn86
added a commit
that referenced
this issue
May 7, 2023
capricorn86
added a commit
that referenced
this issue
May 8, 2023
capricorn86
added a commit
that referenced
this issue
May 8, 2023
capricorn86
added a commit
that referenced
this issue
May 8, 2023
capricorn86
added a commit
that referenced
this issue
May 8, 2023
capricorn86
added a commit
that referenced
this issue
May 9, 2023
capricorn86
added a commit
that referenced
this issue
May 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I use innerHTML to insert a piece of html, then error occurs.
To Reproduce
Steps to reproduce the behavior:
just use node to run code below:
Expected behavior
no error
Screenshots
Device:
Additional context
I think the key point of the bug is the attribute
name="length"
, if I change the attribute name("name") or the value("length",) the bug disappears.The text was updated successfully, but these errors were encountered: