#2320 closed Bug (Fixed)
_IENavigate return values
| Reported by: | BrewManNH | Owned by: | guinness |
|---|---|---|---|
| Milestone: | 3.3.9.9 | Component: | Standard UDFs |
| Version: | 3.3.9.4 | Severity: | None |
| Keywords: | Cc: |
Description
It appears from looking at the _IENavigate function that the return values from it don't match with the description in the help file. The function is supposed to return a value of -1 if it was successful, and 0 if there was a problem.
This section returns -1 with @error set if any errors are encountered in the _IELoadWait function and are passed from _IENavigate as a success, but with the @error value set to the error.
If $f_wait Then _IELoadWait($o_object) Return SetError(@error, 0, -1) EndIf
Attachments (0)
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
| Version: | 3.3.8.1 → 3.3.9.4 |
|---|
comment:3 by , 13 years ago
| Milestone: | → 3.3.9.9 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [8021] in version: 3.3.9.9
comment:4 by , 10 years ago
this still seems to be a problem in more current versions for some of the functions.
see:
https://www.autoitscript.com/forum/topic/177987-error-using-ielinkclickbytext/?page=2

Upon further investigation of the _IE* functions I've found this bug to be present in the following _IE functions as well.
All of these functions are supposed to return -1 on a success, yet all return -1 even if there's an error in the _IELoadWait call.
BTW, this bug continues in the 3.3.9.4 beta version of the _IE functions also.