PrivateBin/js/test
El RIDO 5471757fa7
making webassembly optional, ensuring retry button works when wrong password is provided
Tested configurations:
- browser with WASM support (Firefox 68.0.2)
  - creates paste with zlib compression, no password
  - creates paste with zlib compression, with password
  - reads paste with zlib compression, no password
  - reads paste with zlib compression, with password + retry button works
  - reads paste without compression, no password
  - reads paste without compression, with password + retry button works
- browser without WASM support (Chromium 76.0.3809.100, started via `chromium-browser --js-flags=--noexpose_wasm`)
  - creates paste without compression, no password, but shows WASM warning
  - creates paste without compression, with password, but shows WASM warning
  - fails to read paste with zlib compression, no password + shows WASM error
  - fails to read paste with zlib compression, with password + shows WASM error
  - reads paste without compression, no password
  - reads paste without compression, with password + retry button works
2019-09-08 08:21:54 +02:00
..
Alert.js fixing logic when there are no icons and warning icons, add more test cases 2019-08-28 20:29:23 +02:00
AttachmentViewer.js mocking window.URL.createObjectURL to have tests working with blob URLs 2019-06-15 08:56:47 +02:00
compression-sample.txt adding unit test for truncation issue #328 2018-06-26 22:31:26 +02:00
CryptTool.js making webassembly optional, ensuring retry button works when wrong password is provided 2019-09-08 08:21:54 +02:00
DiscussionViewer.js extract version logic into paste & comment classes 2019-05-25 13:20:39 +02:00
Editor.js handling further JSHint warnings and TODOs 2018-01-06 13:32:07 +01:00
Helper.js improving cleanup between tests in order to combat the frequent test failures seen recently 2018-12-25 20:16:41 +01:00
I18n.js remove console suppression, fixing I18n mock 2018-12-25 16:42:18 +01:00
InitialCheck.js making feature detection work as intended in chrome 2019-08-27 23:16:06 +02:00
Model.js making use of the URL object in the existing tests 2019-06-20 22:30:49 +02:00
PasteStatus.js addressing rngState 0ef2c5e06719a8b43d 2019-06-27 21:37:40 +02:00
PasteViewer.js improving code quality issues reported by Codacy 2018-01-06 10:57:54 +01:00
Prompt.js Merge branch 'master' into webcrypto 2019-01-22 20:11:42 +01:00
ServerInteraction.js adding tests for all cases 2019-06-22 15:44:54 +02:00
TopNav.js concluding tests for TopNav 2018-03-04 14:55:18 +01:00
UiHelper.js improving cleanup between tests in order to combat the frequent test failures seen recently 2018-12-25 20:16:41 +01:00