We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d86b583 commit 640856eCopy full SHA for 640856e
src/main/java/org/htmlunit/javascript/host/dom/AbstractList.java
@@ -270,7 +270,7 @@ else if (domNode instanceof HtmlPage) {
270
protected Object getWithPreemption(final String name) {
271
// Test to see if we are trying to get the length of this collection?
272
// If so return NOT_FOUND here to let the property be retrieved using the prototype
273
- if (/*xpath_ == null || */"length".equals(name)) {
+ if ("length".equals(name)) {
274
return NOT_FOUND;
275
}
276
0 commit comments