Bug 12766 - location.href should work as a function
Summary: location.href should work as a function
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.electrolux.com.br/quemindica
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-13 15:38 PST by Filipe Guimarães
Modified: 2022-07-06 16:06 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filipe Guimarães 2007-02-13 15:38:56 PST
This site requires a 'password' to login on a shopping site (with discounts). But when I put some password, it doesn't go to the shopping site, it stays asking the password. When it is wrong or already used, a message appears saying that, but when the password is good, nothing happens (just disappear the pswd).
Comment 1 David Kilzer (:ddkilzer) 2007-02-13 20:23:53 PST
Hi Filipe, did you test this site with shipping Safari, or with a WebKit nightly?

http://nightly.webkit.org/

Is there a test password that others may use on the site?

Comment 2 Filipe Guimarães 2007-02-14 03:23:56 PST
(In reply to comment #1)
> Hi Filipe, did you test this site with shipping Safari, or with a WebKit
> nightly?
> 
> http://nightly.webkit.org/
> 
> Is there a test password that others may use on the site?
> 

Hi,
I tryed with Safari and WebKit nightly. It doesn't work with Firefox either. Just with IE.
I'm sorry about the password, I forgot to paste it. Here it is (you can try new ones changing the last 2 digits):
0026833010908
0026833010915
0026833010922

Filipe
Comment 3 Alexey Proskuryakov 2007-02-14 06:35:35 PST
The reason for failure is this line:

<SCRIPT>location.href("vitrine.asp?pop=3")</script>

Turns out that location.href can be called as a function in IE, but not in Firefox or WebKit.
Comment 4 Brent Fulgham 2022-07-06 16:06:46 PDT
Given that Safari, Chrome, and Firefox do not recognize href as a function, and MS Edge is Chrome (and has that same behavior), and IE is no more, this is WONTFIX.