Change `new XMLHttpRequire()` to `cc.loader.getXMLHttpRequest()` .
Remove `FileTest` then add `LoaderTest` and `PathTest`.
Merge branch 'tests_js_3.0' of https://github.com/cocos2d/cocos2d-js-tests into tests_js_3.0_ccgame
Merge pull request #362 from dingpinglv/Iss4277_FixBugsForV3.0

Issue #4277: fixed some mistakes in tests
closed #3945 Refactor cc.color constant
Merge pull request #364 from xingsenma/tests_js_3.0

closed #3945 Refactor cc.color constant
Issue #4277: move gl's constant variable to cc
Merge branch 'tests_js_3.0' of https://github.com/cocos2d/cocos2d-js-tests into Iss3427_NewEventDispatcher
Merge pull request #363 from SmallAiTT/tests_js_3.0_ccgame

issue #3935 Fix some bugs.
Merge branch 'tests_js_3.0' of https://github.com/cocos2d/cocos2d-js-tests into Iss3427_NewEventDispatcher