2122 Blöockling javascript urls

This commit is contained in:
Knut Sveidqvist
2021-06-08 20:08:04 +02:00
parent 26ede9b015
commit 3d22fa5d24
3 changed files with 108 additions and 0 deletions

View File

@@ -58,5 +58,10 @@ describe('XSS', () => {
cy.wait(1000);
cy.get('#the-malware').should('not.exist');
})
it('should not allow maniplulating antiscript to run javascript', () => {
cy.visit('http://localhost:9000/xss5.html');
cy.wait(1000);
cy.get('#the-malware').should('not.exist');
})
})