Can you please make a small testcase showing the issue? Then we can test on that and see if it's emscripten's fault, or something we need to file for webkit to fix.
- Alon On Fri, Mar 28, 2014 at 10:08 AM, Roman Kravchenko < [email protected]> wrote: > Hi, > For last few days I try to run my cocos2d-x programm on javascript with > emscripten. For this moment it work fine in Chrome, Opera and Firefox. And > now I have problems with Safari. It can`t load files and finished with > errors when progress bar in finished on "Downloading data..." > [Error] > TypeError: 'undefined' is not an object (evaluating > 'canvas.exitPointerLock.bind') > init (HelloCpp.js, line 6632) > createPreloadedFile (HelloCpp.js, line 5760) > onload (HelloCpp.data.js, line 30) > processPackageData (HelloCpp.data.js, line 160) > onload (HelloCpp.data.js, line 147) > > It`s crashes on first file. Places are: > HelloCpp.data.js, line 30: > Module['FS_createPreloadedFile']('/', 'CloseNormal.png', byteArray, > true, true, function() { > Module['removeRunDependency']('fp CloseNormal.png'); > }); > HelloCpp.data.js, line 160: > curr = DataRequest.prototype.requests['CloseNormal.png']; > curr.response = byteArray.subarray(0,6835); > curr.onload(); > HelloCpp.data.js, line 147: > xhr.onload = function(event) { > var packageData = xhr.response; > callback(packageData); > }; > > What you think about this and how I can fix this problem? > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
