Skip to main content

Bug Tracker

Side navigation

#14320 closed bug (duplicate)

Opened September 02, 2013 01:34PM UTC

Closed September 04, 2013 02:25PM UTC

Last modified November 27, 2013 08:21PM UTC

Calling 'ev.preventDefault()' on latest Chrome Canary (31.0.1619.0) triggers a warning

Reported by: hello@blaipratdesaba.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: dbr Cc:
Blocked by: Blocking:
Description

When using 'ev.preventDefault()', a warning shows on Chrome Canary, this happens only once:

''event.returnValue is deprecated. Please use the standard event.preventDefault() instead.''

JSfiddle:

http://jsfiddle.net/blaipratdesaba/kN4WQ/

Attachments (0)
Change History (10)

Changed September 04, 2013 02:07PM UTC by hello@blaipratdesaba.com comment:1

Been working with other projects, this happens also to previous versions, haven't tested 2.0.x

Looks like the native js method 'event.returnValue' has been marked as deprecated in newer Chrome versions.

Changed September 04, 2013 02:25PM UTC by dmethvin comment:2

resolution: → duplicate
status: newclosed

Duplicate of #14282.

Changed November 13, 2013 01:03AM UTC by anonymous comment:3

This happens also in :

Google Chrome : 31.0.1650.48 (OS X Version)

and Mozilla Firefox 25.0 (OS X Version)

Changed November 13, 2013 06:35AM UTC by anonymous comment:4

Can confirm this is still happening in Google Chrome : 31.0.1650.48 (OS X Version)

Changed November 13, 2013 01:53PM UTC by dmethvin comment:5

1) Please don't post on duplicate tickets.

2) Please test with the latest version. http://code.jquery.com/jquery-git.js

Changed November 27, 2013 08:10PM UTC by anonymous comment:6

Why didn't you fix this bug yet? It's clearly happening with the latest version of jQuery on any Chrome browser! That's a shame! Please fix ASAP!

jQuery is not what it used to be anymore, lots of bugs wrongly closed or wrongly marked as duplicate... STFU and fix this bug, now.

Changed November 27, 2013 08:12PM UTC by dmethvin comment:7

The bug is fixed in what will become 1.11/2.1. The duplicate bug ticket #14282 explains this. It also explains that older versions of jQuery will give this warning eternally.

Changed November 27, 2013 08:17PM UTC by dmethvin comment:9

**This bug has been fixed in what will become jQuery 1.11/2.1**

See the duplicate ticket: http://bugs.jquery.com/ticket/14282

Further comments on this ticket will be deleted.

Changed November 27, 2013 08:21PM UTC by scottgonzalez comment:10

keywords: → dbr