phaser
phaser copied to clipboard
Test Report on IE9
challenge!!
first let me report the result: failed to run on IE9. here is my test report: one key feature missing and some small mistakes:
1,
not sure why it reports this error, but actually it seems nothing affected.
2, these two missing in polyfill.js

~~3, key feature missing: FileReader.~~ ~~this will be used to convert blob as an URL, but blob and FileReader both are not avaialbe in IE9, so the loading process stops there.~~ ~~but i'm sure the engine was booted up successfully, but just stuck on the processing of file loading.~~ (detect if blob is supported, provide 'imageLoadType': 'HTMLImageElement' in the loader config solved this.
4, didnot test on other features, because the Scene can't be launched.
Env Info: render type: CANVAS / Html Audio browser: IE11 (in F12 on simulator tab select IE9)
btw: IE10 works with no any problems. (Canvas)
about item1, i found the reason,
in IE9 IE10, you can't directly use function alias...
var body = document.body; var bodyAdd = body.addEventListener; bodyAdd(...); // SCRIPTS65535
but directly call document.body.addEventListener(..) will work fine...
https://stackoverflow.com/questions/1007340/javascript-function-aliasing-doesnt-seem-to-work
on IE11:
Phaser3.6.0

cannot launch.. the error is caused by link Multi.shader and the reason is still the problem of indexer in webgl1.... i tried to use the naive if else if else way and it works.....
btw, there is a lot of console.log in HTML5AudioFile / HTML5AudioSoundManager
fix item 1,2 and IE 9 10 passed! i'll try to submit a PR soon
on IE 11 because it's a little big change on multi-pipeline so i think i will probably miss something if i try to fix it... and hope you can have a look on this issue, thank you very much sir.
Sorry, should have closed this after merging your fixes in. As we've reverted back to the if/else block in 3.60 that should resolve the IE11 issue as well.