You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@g11tech yes was able to verify it works and looks correct locally, something I noticed during testing is that there is no error shown when trying to serialize/deserialize invalid data, it only logs an error to the console. This is also the case on the live website (https://simpleserialize.com/).
For example:
caught (in promise) RangeError: Offset is outside the bounds of the DataView
at DataView.getUint32 (<anonymous>)
at readVariableOffsets (container.js:322:1)
at ContainerType.getFieldRanges (container.js:290:1)
at ContainerType.value_deserializeFromBytes (container.js:125:1)
at ContainerType.deserialize (abstract.js:45:1)
at Object.parse (input_types.ts:21:32)
at Input._callee3$ (Input.tsx:117:30)
at tryCatch (runtime.js:63:16)
at Generator.invoke [as _invoke] (runtime.js:294:1)
at Generator.next (runtime.js:119:1)
Maybe catch the error and show a simple browser alert?
@g11tech yes was able to verify it works and looks correct locally, something I noticed during testing is that there is no error shown when trying to serialize/deserialize invalid data, it only logs an error to the console. This is also the case on the live website (https://simpleserialize.com/).
For example:
Maybe catch the error and show a simple browser alert?
Originally posted by @nflaig in #321 (comment)
The text was updated successfully, but these errors were encountered: