Replies: 2 comments 1 reply
-
|
Can you show us your code? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I'm using the AngleSharp class. Test JavaScript code: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to make a
NodeListimplementation and found a issue. Following the specification:If index is greater than or equal to the number of nodes in the least, this return null.However, I get an exception in the
ReflectionAccessor.GetValuemethod and code execution is interrupted.Index was out of range. Must be non-negative and less than the size of the collection.I replaced the throw with return
JsValue.Undefinedand that solved this issue. I could add checks to theNodeList, but it's not an elegant solution. Could you make a fixes to Jint or add customization of this behavior?Beta Was this translation helpful? Give feedback.
All reactions