You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Javscript Variable/String Corruption In Opera Next
Hi,I've found that an extension I'm working on has weird issues in Opera Next. Essentially it asks the user for a password in an extension popup and uses that to decrypt a string, once the popup has been open once under Opera Next it consistently fails to decrypt; adding some console.log(myStr) calls has highlighted that the password is getting hashed incorrectly (when compared to earlier calls & 11.62). If I attach Dragonfly to the Extension then the password is hashed perfectly. I also cannot reproduce this behaviour in 11.60,11.61 or 11.62 but can consistently in Next.
For Example:
Working Output:
{"Username":"username","Password":"mynewandverylong password"}
Non Working Output:
{"Use¢·/䨋ó^Òu´?°BVæ> It's evident that something is going wrong about 6 bytes in to the decryption, however the code is identical and if I attach dragonfly when its producing the broken output it'll automagically start producing correct output.
EDIT: I've reproduced the problem in isolation as can be seen here:
in O11.62 it produces 10 lines of correct output, in 12 it produces 2 and then gets corrupted unless dragonfly is open.EDIT: I've reported this as DSK-360494 as I'm now reasonably confident it's an issue with the O12 JS engine.
Thanks
-Rob
Presto/2.10.289 Opera 12.00 on Windows 7 Professional 64Bit
Forums » Opera for Windows/Mac/Linux » Beta testing (including snapshots and previews)