Refactor XSS linter into smaller files
This commit is contained in:
6
scripts/xsslint/tests/templates/test.js
Normal file
6
scripts/xsslint/tests/templates/test.js
Normal file
@@ -0,0 +1,6 @@
|
||||
var message = 'Rock & Roll';
|
||||
var x = '<string>' + message + '</strong>';
|
||||
var template = '<%= invalid %>';
|
||||
// quiet the linter
|
||||
alert(x);
|
||||
alert(template);
|
||||
Reference in New Issue
Block a user