Emscripten build C++ project crash in browser

Hi. I have a little problem, the solution of which I can not find in the network.

I installed emstsripten according to instructions http://www.cocos2d-x.org/wiki/Emscripten_usage . All Cpp projects was compiled successfully. But there is a problem that all test projects works only in Firefox browser. In other browsers, a black screen appears with errors or freezes in step “Downloading data”. Errors as follows:

cocos2d-x debug info OpenGl error 0x0502 in …/shaders/CCShaderCache.cpp loaddefaultShader 311
cocos2d-x debug info OpenGl error 0x0502 in …/textures/CCTextureAtlas.cpp mapBuffers 306
cocos2d-x debug info OpenGl error 0x0502 in …/CCDirector.cpp setAlphaBlending 482

This error appears for plain HelloCpp project without any textures load, I commented all code for loading textures to CCSprite, button and labels on scene.

What you think about this? I suppose it related to loading textures and shaders from cache.