From: <mbr...@vi...> - 2004-06-14 19:53:07
|
The function com.gargoylesoftware.htmlunit.html.HtmlSelect.getSelectedOptions() returns a 1-element array containing the first option when no options are marked as selected. The code that does this is near the end of the function and looks like this (Revision: 1.24): else { result.add(firstOption); } This behavior is not consistent with Internet Explorer 6.0 or Netscape 7.1. To be consistent, the code should return a 0-element array. Mike Bresnahan |