Bug Tracker

Opened 6 years ago

Closed 6 years ago

#14032 closed bug (wontfix)

Object.defineProperty missing in opera 11.10

Reported by: krzyko@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.0.2
Keywords: Cc:
Blocked by: Blocking:


Good day,

problem arises with Opera 11.10 throwing errors:

Uncaught exception: TypeError: 'Object.defineProperty' is not a function

Error thrown at line 3342, column 1 in Data() in https://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.js:
    Object.defineProperty( this.cache = {}, 0, {
called from line 3517, column 0 in <anonymous function>(window, undefined) in https://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.js:
    data_user = new Data();
called from line 14, column 0 in https://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.js:
    (function( window, undefined ) {
Uncaught exception: ReferenceError: Undefined variable: $

According to the http://kangax.github.io/es5-compat-table/ Object.defineProperty is not implemented in Opera up to 11.50 version.

Then http://jquery.com/browser-support/ states, that oldest supported Opera versions are "current -1", so given that now we have Opera 12.x version 11.x should be also supported.

Regards, Krzysztof Kosz.

Change History (1)

comment:1 Changed 6 years ago by dmethvin

Resolution: wontfix
Status: newclosed

Given Opera's status as being moved to Blink, its low market share, and the fact that 11.x isn't the latest, I don't think we will change this. You can still use the 1.x branch for older Opera support.

That said, the .data() code in 2.x may be reworked for other reasons because it turns out that Object.defineProperty is not very fast.

Note: See TracTickets for help on using tickets.