DOM error w/HTML5 in Chrome Browser (Linux)

Monkey Archive Forums/Monkey Discussion/DOM error w/HTML5 in Chrome Browser (Linux)

jondecker76(Posted 2012) [#1]
Hello

I've been going through a lot of the samples and compiling with trans_linux. I have found that a lot of them get a runtime error only in Google Chrome (they work fine in Firefox).. Firepaint is one example - this is the error I get when I click the canvas:

Monkey runtime error: Error: SECURITY_ERR: DOM Exception 18
/home/traceydecker82/Downloads/MonkeyPro56b/modules/mojo/graphics.monkey<476>
/home/traceydecker82/Downloads/MonkeyPro56b/bananas/mak/firepaint/firepaint.monkey<87>
/home/traceydecker82/Downloads/MonkeyPro56b/modules/mojo/app.monkey<70>


Has anyone else experienced this? Any ideas on how to fix it in Chrome?


muddy_shoes(Posted 2012) [#2]
Are you running from a file rather than from a server like MServer?


jondecker76(Posted 2012) [#3]
Yes, I'm running directly from the file. I take it that I need to run through MServer? What exactly is the purpose of MServer?

thanks


muddy_shoes(Posted 2012) [#4]
The main purpose of MServer, as far as I can tell, is to avoid security errors of the type you're seeing. Any local webserver should do.