News for hackers. Stuff that matters.
Re:Ask HN: Can Jasmine Unit Tests Expose Security Vulnerabil... by jbrowne on Wednesday February 12, 2014 @08:44PM (#7228805)
Thanks for responding staunch! Is that mainly to avoid performance costs/clutter, or for security reasons or both?
Re:Ask HN: Can Jasmine Unit Tests Expose Security Vulnerabil... by staunch on Thursday February 13, 2014 @01:10PM (#7232967)
You're increasing risk for little benefit. A Javascript unit testing framework could likely be used for crafting XSS exploits. Or it could end up slowing down real users when you forget to turn it off (or whatever). Probably nothing bad will happen but it's a needless risk and a bad practice.
Re:Ask HN: Can Jasmine Unit Tests Expose Security Vulnerabil... by jbrowne on Thursday February 13, 2014 @02:02PM (#7233410)
Ok, got it - makes sense. Thanks for the input staunch, much appreciated.