Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 23530 by [email protected]: preventDefault() is failing to stop  
page navigation
http://code.google.com/p/chromium/issues/detail?id=23530

Chrome Version       : 3.0.195.21
URLs (if applicable) :
Other browsers tested: IE7 & Firefox3
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4: FAILS
   Firefox 3.x: OK
          IE 7: OK

What steps will reproduce the problem?
1. Use attached HTML file
2. Enter text in the textarea
3. Click either the button or the link

What is the expected result?
A popup appears warning you that your entries have not been submitted and
allowing you to continue or cancel

What happens instead?
No popup, page navigates, form entries can be lost

Please provide any additional information below. Attach a screenshot if
possible.
N.B. although IE7 does successfully cancel the navigation it does give a js
error when the button is clicked. The link works fine.
Firefox works perfectly with button and link.

Attachments:
        preventDefault.html  1.1 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to