Ashley (Scirra)

Results 70 comments of Ashley (Scirra)

Looks like it's defined a third time too around line 210: function xa(a){a=a|0;return af(3,a|0)|0}

I was referring to box2d.js! It's here: https://github.com/kripken/box2d.js/blob/master/box2d.js The line numbers given are in that file. In Chrome Canary it doesn't even start up the script any more! It just...

You're right, it's a fundamental limitation in the browser APIs: those methods must be called synchronously so if most of your logic is in a worker you can't respond in...

I don't think that solves this problem. If it wakes up on a timer, it returns from the event handler and the problem still happens. If it spins the CPU,...

Fundamentally, this is nothing to do with WebAssembly. The ultimate problem is it needs to synchronously determine on a worker whether to call preventDefault(), before returning from the event handler...

Ah, you're right, it turns out it does work out of the box... the problem is actually that if you specify `"user-agent"` in package.json, it also clears `navigator.userAgentData`, which is...

FWIW I think there is a use case for some permissions prompting on load, e.g. geolocation permission for a maps app. I think the notifications permission is a special case...

The token is stored in the SW cache, not the SW itself - so I don't think updating the SW script helps. Basically we have an index.html file including the...

Looks like it builds now. Great, thanks for the quick fix!

Actually, now that I think about it, allowing the preview server's origin won't help because the index.html page is on a file:// origin :P I think it would have to...