You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Opera 10.51 javascript fails, but works when Dragonfly activate
HiI have a strange problem with opera 10.51. I am development a side which is using the Openlayers library (openlayers.org). When i tests the page normally i get the following javascript error:
Uncaught exception: TypeError: 'OpenLayers.Layer.prototype.redraw.apply' is not a function.... + plus some stacktrace,
If i run the site with dragon fly activated, then i do not get the error and the site is working normally.... I do not get any javascript errors in other browsers (IE & FF) and the page is working fine there...
How can i handle this kind of problem???
Unfortunately the page is not online yet, so i cannot post a link.
I am using Opera 10.51, build 3315...
Hi rmad - and welcome to the My Opera fora since I noticed it's your first post 
Can you share a link to a page where this problem occurs? It sounds like a potential bug with Opera's JIT (Just In Time) compilation. Enabling Dragonfly unfortunately disables JIT, so this is why you may see problems go away when Dragonfly runs. There is no way around that technical limitation but it would be very useful to get a look at that site to analyse the problem and hopefully help you find a way around it..

Can you share a link to a page where this problem occurs? It sounds like a potential bug with Opera's JIT (Just In Time) compilation. Enabling Dragonfly unfortunately disables JIT, so this is why you may see problems go away when Dragonfly runs. There is no way around that technical limitation but it would be very useful to get a look at that site to analyse the problem and hopefully help you find a way around it..
--
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
Hi, hallvors.
I have this problem too.
You can reproduce it this way:
1. Go to http://openlayers.org/dev/examples/
2. Click on "Map Controls Example" at the left side
3. Click on the top "+" at the right side of map, you'll see a little control panel.
4. Check/uncheck "DM Solutions demo" several times. I've get this error after about 10 iterations.
PS: You can download OpenLayers from http://trac.openlayers.org/wiki/HowToDownload, take zip or tar.gz version. There is uncompressed version of OL API in the "lib" directory.
PPS: Thank's your team for my favorite browser
I have this problem too.
You can reproduce it this way:
1. Go to http://openlayers.org/dev/examples/
2. Click on "Map Controls Example" at the left side
3. Click on the top "+" at the right side of map, you'll see a little control panel.
4. Check/uncheck "DM Solutions demo" several times. I've get this error after about 10 iterations.
PS: You can download OpenLayers from http://trac.openlayers.org/wiki/HowToDownload, take zip or tar.gz version. There is uncompressed version of OL API in the "lib" directory.
PPS: Thank's your team for my favorite browser
Thanks, I could reproduce now and I've reported it internally as CORE-30333. I'm pretty far away from having a clear understanding of what triggers the failure but at least we're now tracking it.
--
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
I reported something very similar on March 2 as DSK-285105. This is my test case, in case anyone is interested:
http://ludios.net/opera_bugs/opera_10_50_reentrant_array.html
Strangely, using `.call` instead of `.apply` works just fine.
This might be related as well:
http://en.wikipedia.org/wiki/Wikipedia_talk:Tools/Navigation_popups#Opera_10.51
http://ludios.net/opera_bugs/opera_10_50_reentrant_array.html
Strangely, using `.call` instead of `.apply` works just fine.
This might be related as well:
http://en.wikipedia.org/wiki/Wikipedia_talk:Tools/Navigation_popups#Opera_10.51
Hi
Any status on the problem (bug??)
The problem occur on http://geomidt.flyfotoarkivet.dk/V2, and it occurs when the page loads....
Any status on the problem (bug??)
The problem occur on http://geomidt.flyfotoarkivet.dk/V2, and it occurs when the page loads....
Status is "fixed in Opera 11"!
--
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
Wow, this error was plaguing me relentlessly before I upgraded to 11.1. Didn't even notice it was fixed until I read this post. Great job to the Opera team.
Joseph Foster,
http://heronacademy.com/
http://heronacademy.com/