- Tests now extract and execute actual parseSizeLimit and sanitizeFilename functions from the JS file
- Added more edge case tests (empty strings, invalid input, path traversal)
- Fixed P1 bug where throwing in event listener wouldn't propagate to try/catch
- Use flag variables to track size exceeded state and check after navigation
Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com>