thoughtAddict / cakejs

Automatically exported from code.google.com/p/cakejs
0 stars 0 forks source link

Getting "Uncaught exception: DOMException: NO_MODIFICATION_ALLOWED_ERR" in Opera when moving mouse inside canvas #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
just following code:
var cvs = new Canvas(document.getElementById('canvas'));

What is the expected output? What do you see instead?
shapes are drawn but event listeners are not working

What version of the product are you using? On what operating system?
using cake v2.0 r84

Please provide any additional information below.
dragonfly screenshot is attached

Original issue reported on code.google.com by ishak.nu...@gmail.com on 11 Feb 2012 at 1:18

Attachments:

GoogleCodeExporter commented 8 years ago
i get following error in:

-- firefox 10:
Illegal operation on WrappedNative prototype object
line 3714: var type = event.type

-- internet explorer 9
Invalid calling object 
cake2.js, line 3714 character 5
line 3714: var type = event.type

-- opera 12:
Error thrown at line 4838, column 6 in <anonymous function: addMouseEvent>(e) 
in file://localhost/C:/Users/Ishak/Desktop/Scripts/js/cake2.js:
    e.canvasX = e.__setX = e.clientX = e.x = e.pageX = th.mouseX = th.absoluteMouseX / 
called from line 4882, column 6 in <anonymous function: addEventListeners>(e) 
in file://localhost/C:/Users/Ishak/Desktop/Scripts/js/cake2.js:
    this.addMouseEvent(e)
Uncaught exception: DOMException: NO_MODIFICATION_ALLOWED_ERR

using windows 7 x64

Original comment by ishak.nu...@gmail.com on 15 Feb 2012 at 3:46