jszhuyin
jszhuyin copied to clipboard
Validate database
It's possible the data is truncated during network transfer. The loaded data is not validated currently so it ended up generate runtime JS error. It would be good if the typed array can be validated (by checking the length at least) when it is being loaded.