TNG / JGiven

Behavior-Driven Development in plain Java
http://jgiven.org
Apache License 2.0
439 stars 98 forks source link

Allow javascript links in JGiven menu links #146

Closed nikowitt closed 9 years ago

nikowitt commented 9 years ago

Hi Jan,

I've just implemented custom links in the reporter, one containing "javascript:window.history.back()". It seems that javascript explicitely has to be whitelisted in AngularJS (https://stackoverflow.com/questions/15606751/angular-changes-urls-to-unsafe-in-extension-page), so is it OK for you to do this?

Best regards, Niko

janschaefer commented 9 years ago

I think this shouldn't be a problem, as you yourself are completely responsible for what you configure ;-)