RESOLVED WORKSFORME14232
Webkit appears to submit incorrect form -- EBay "watch this item" submits as "Buy it Now". Oops!!!!
https://bugs.webkit.org/show_bug.cgi?id=14232
Summary Webkit appears to submit incorrect form -- EBay "watch this item" submits as ...
Richard Mlynarik
Reported 2007-06-19 10:36:28 PDT
I was browsing the above URL in Webkit r23558. (Assuming bugzilla allows attachments, I'll append it this report, since such machine-generated pages are highly ephemeral.) There are two forms on the page with a "Watch this Item" submit button. I chose the one near the top, in the main listing section. HOWEVER... when I did so, EBay came back at me with a confirmation for "Buy it Now". (Thank God they first ask for confirmation) ****NOT*** a report that the item had been added to my watch list. (Note that there is separate form with a "Buy it Now" submit option earlier in the page.) I checked this multiple times -- clicking on the same button and always getting the wrong action. I then visited the same page in Safari 2.0.4, clicked on the same button, and the correct thing (form submission results in a message from Ebay saying the item had been added to my watch list) happened. (Obviously I can't repeat the experiment in Webkit now, as the correct action has now happened.) I haven't taken the time to investigate whether this is due to a malformed form generated by Ebay which requires some different sort of heuristication/work-around on your end, or whether it's simply a Webkit bug. That's for Paid Professionals, or at least Motivated Individuals, to discover. I haven't tried this experiment with other Ebay items containing a "But it Now" -- frankly, I'm very nervous about accidentally losing money using Webkit. What I do know is that something completely unexpected and potentially disastrous (think: $$$$$$ lsss) happened in attempting to use Webkit in a very widely-used ecommerce application. Please investigate this forms regression ASAP!
Attachments
Source of form. (85.93 KB, text/html)
2007-06-19 10:40 PDT, Richard Mlynarik
no flags
Richard Mlynarik
Comment 1 2007-06-19 10:40:29 PDT
Created attachment 15120 [details] Source of form. NOTE: The problem was triggered by the first form containing a "Watch this Item" submit button. There is another "Watch this Item" link earlier in the document, and another "Watch this Item" submit form later in the document; I didn't experiment with those, and do not know their outcomes.
Mark Rowe (bdash)
Comment 2 2007-06-19 11:43:28 PDT
I cannot reproduce this at all, whether in Safari 3 beta or in the latest SVN version of WebKit. Clicking on the Watch This Item button always results in the correct action being taken.
Richard Mlynarik
Comment 3 2007-06-19 12:14:05 PDT
Removed item from my Ebay watch list and then attempted to reproduce the bug. I was unable to do so. I've tried the experiment with several other (low value!) Ebay listings, and was also unable to reproduce the problem. I will swear up and down on a stack of bibles that the original bugs did occur (I even made screen snaps of my mouse cursor on top of the offending submit button to prove it to myself.) My only explanation is that this was a transient problem with EBAY's software, resolved sometime between when I first experienced it in Webkit and when I tried it again in Safari 10 minutes later.
Robert Blaut
Comment 4 2008-12-29 04:17:05 PST
Per comment #2 and comment #3 I close this bug
Note You need to log in before you can comment on or make changes to this bug.