mywot / opera

WOT's Opera extension
http://www.mywot.com/wiki/Opera
GNU General Public License v3.0
1 stars 4 forks source link

Check addon compatibility with Opera 12 #27

Closed sorgoz closed 12 years ago

sorgoz commented 12 years ago

Seems, addon doesn't work in Opera 12:

Just installed (2144 CDST on 17mar2012) the 1328 build of Opera Next, but now the WOT extension isn't working.

Has anyone found a workaround, or why the normal login and synchronization of settings doesn't suffice?

http://www.mywot.com/en/forum/21342-new-build-for-opera-next-12-00-1328-wot-doesn-t-activate

sorgoz commented 12 years ago

Errors when addon is starting in Opera Next:

[18 марта 2012 г. 12:09:30] JavaScript - widget://wuid-163e783f-aaea-4965-810b-89548305a539/index.html
Inline script thread
extension: core.updatetabstate: failed with DOMException: INVALID_STATE_ERR
[18 марта 2012 г. 12:09:30] CSS - widget://wuid-163e783f-aaea-4965-810b-89548305a539/index.html
DOM style property
Invalid value for property: zoom
Line 1:
  1
  -^
sorgoz commented 12 years ago

Unpacked extension shows this error:

[18 марта 2012 г. 13:22:36] JavaScript - widget://wuid-c13a23f8-b554-4d02-9630-d60cff9eb6e7/index.html
Event thread: readystatechange
Uncaught exception: Error: WRONG_ARGUMENTS_ERR
Error thrown at line 296, column 3 in <anonymous function: setcookies>(onready) in widget://wuid-c13a23f8-b554-4d02-9630-d60cff9eb6e7/api.js:
    opera.extension.tabs.create({
called from line 478, column 5 in <anonymous function: onload>() in widget://wuid-c13a23f8-b554-4d02-9630-d60cff9eb6e7/background.js:
    wot.api.setcookies();
called from line 481, column 5 in <anonymous function: register>(data) in widget://wuid-c13a23f8-b554-4d02-9630-d60cff9eb6e7/api.js:
    onsuccess();
called from line 126, column 6 in <anonymous function: success>(data, status) in widget://wuid-c13a23f8-b554-4d02-9630-d60cff9eb6e7/api.js:
    onsuccess(data, status, nonce);
called via Function.prototype.apply() from line 1046, column 4 in <anonymous function: jQuery.Callbacks>(context, args) in widget://wuid-c13a23f8-b554-4d02-9630-d60cff9eb6e7/jquery-1.7.1.js:
    if ( list[ firingIndex ].apply( context, args ) === false && flags.stopOnFalse )
called from line 1164, column 6 in <anonymous function: fireWith>(context, args) in widget://wuid-c13a23f8-b554-4d02-9630-d60cff9eb6e7/jquery-1.7.1.js:
    fire( context, args );
called from line 7399, column 4 in done(status, nativeStatusText, responses, headers) in widget://wuid-c13a23f8-b554-4d02-9630-d60cff9eb6e7/jquery-1.7.1.js:
    deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
called from line 8180, column 7 in <anonymous function: callback>(_, isAbort) in widget://wuid-c13a23f8-b554-4d02-9630-d60cff9eb6e7/jquery-1.7.1.js:
    complete( status, statusText, responses, responseHeaders );
sorgoz commented 12 years ago

it is so sweat, that Opera has changed tab.focused to tab.selected...

sorgoz commented 12 years ago

fixed