In the newest OpenFL the URLLoader in html target throws this error in the onData method:
Cannot cast [object ArrayBuffer] to {
__name__ : [openfl,utils,ByteArrayData],
fromBytes : <function>
}
EDIT: added a bug here https://github.com/openfl/openfl/issues/955