Skip to main content

Bug Tracker

Side navigation

#14599 closed bug (duplicate)

Opened December 03, 2013 09:04PM UTC

Closed December 04, 2013 08:18PM UTC

event.returnValue is deprecated

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

event.returnValue is deprecated. Chrome appears to take this very seriously and will refuse to assign a value to this.originalEvent.

Please do what it says:

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

Thank you.

Attachments (0)
Change History (3)

Changed December 03, 2013 10:32PM UTC by anonymous comment:1

I'm sorry, this is a mistake. I thought it was 1.10.2, but it turns out to be 1.5.2. Very sorry.

-Phil

Changed December 03, 2013 11:50PM UTC by anonymous comment:2

I'm sorry, I was mistaken when I thought I was mistaken. It does exists in line 5374 of 1.10.2:

this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false ||

src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;

I've also tried Opera, and it's got the same problem as Chrome.

Changed December 04, 2013 08:18PM UTC by timmywil comment:3

resolution: → duplicate
status: newclosed

Duplicate of #14282.