Hello I am trying to port my app in JS for making it live on facebook. I have ported it on Cocos2d-JS 3.13.1, it have some issues with GAF liberary so I switched to 3.14.1. On current version of Cococs2d-JS the GAF run smooth but while testing my app I came across two weird behaviors that were not present in 3.13.1, they are:
- When I push a scene and pop it back the previous scene stops displaying various images.
- When I am uploading my project on facebook and run it always crashes on launch with console log given below
Uncaught DOMException: Blocked a frame with origin “https://apps-191688351208888.apps.fbsbx.com” from accessing a cross-origin frame.
at f.visit (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:486:424)
at f.visit (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:378:109)
at f.drawScene (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:605:454)
at f.mainLoop (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:617:301)
at b (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:53:99)
game.min.js:486 Uncaught DOMException: Blocked a frame with origin “https://apps-191688351208888.apps.fbsbx.com” from accessing a cross-origin frame.
at f.visit (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:486:424)
at f.visit (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:378:109)
at f.drawScene (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:605:454)
at f.mainLoop (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:617:301)
at b (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:53:99)
visit @ game.min.js:486
visit @ game.min.js:378
drawScene @ game.min.js:605
mainLoop @ game.min.js:617
b @ game.min.js:53
game.min.js:486 Uncaught DOMException: Blocked a frame with origin “https://apps-191688351208888.apps.fbsbx.com” from accessing a cross-origin frame.
at f.visit (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:486:424)
at f.visit (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:378:109)
at f.drawScene (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:605:454)
at f.mainLoop (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:617:301)
at b (https://apps-191688351208888.apps.fbsbx.com/bundle/1440992892612428/1443640449000663/game.min.js:53:99)
This error is same with a simple Hello World project too. Is anybody else facing same problem?
@nite @pandamicro can you look in the issue?
Thanks in advance. :]