PrivateBin/js/test
El RIDO 685c354d0e
several changes:
- added tests for all 4 cases: output to string or into element vs first param contains link or not
- cleaned up logic - skip HTML entity encoding only if we can ensure insertion to text node / when output to string, we always encode
- DOMpurify sanitizes gopher, ws & wss links, which we previosly had tested for
2020-01-18 10:44:35 +01:00
..
Alert.js more general solution addressing #554, kudos @rugk for the suggestions 2020-01-04 13:14:53 +01:00
AttachmentViewer.js several changes: 2020-01-18 10:44:35 +01:00
Check.js more general solution addressing #554, kudos @rugk for the suggestions 2020-01-04 13:14:53 +01:00
compression-sample.txt adding unit test for truncation issue #328 2018-06-26 22:31:26 +02:00
CryptTool.js splitting out PrivateBin.InitialCheck class into Legacy.Check and working on making it compatible with IE 11 2019-09-14 09:41:52 +02:00
DiscussionViewer.js more general solution addressing #554, kudos @rugk for the suggestions 2020-01-04 13:14:53 +01:00
Editor.js more general solution addressing #554, kudos @rugk for the suggestions 2020-01-04 13:14:53 +01:00
Helper.js more general solution addressing #554, kudos @rugk for the suggestions 2020-01-04 13:14:53 +01:00
I18n.js several changes: 2020-01-18 10:44:35 +01:00
Model.js more general solution addressing #554, kudos @rugk for the suggestions 2020-01-04 13:14:53 +01:00
PasteStatus.js more general solution addressing #554, kudos @rugk for the suggestions 2020-01-04 13:14:53 +01:00
PasteViewer.js more general solution addressing #554, kudos @rugk for the suggestions 2020-01-04 13:14:53 +01:00
Prompt.js more general solution addressing #554, kudos @rugk for the suggestions 2020-01-04 13:14:53 +01:00
ServerInteraction.js adding tests for all cases 2019-06-22 15:44:54 +02:00
TopNav.js Implement Email button 2019-10-31 15:07:13 -04: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