Skip to content

Commit

Permalink
test: Add test for html injection
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed Aug 18, 2024
1 parent c026d84 commit f82cdc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ describe('Floccus', function() {
parentId: localRoot
})
const barFolder = await browser.bookmarks.create({
title: "bar=?*'Ä_:-^;",
title: "bar=?*'Ä_:-^;<script>",
parentId: fooFolder.id
})
const bookmark = await browser.bookmarks.create({
Expand All @@ -1129,7 +1129,7 @@ describe('Floccus', function() {
title: 'foo!"§$%&/()=?"',
children: [
new Folder({
title: "bar=?*'Ä_:-^;",
title: "bar=?*'Ä_:-^;<script>",
children: [
new Bookmark({
title: 'url|!"=)/§_:;Ä\'*ü"',
Expand Down

0 comments on commit f82cdc1

Please sign in to comment.