aboutsummaryrefslogtreecommitdiff
path: root/test/haketilo_test/data
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-03-04 18:14:55 +0100
committerWojtek Kosior <koszko@koszko.org>2022-03-04 18:14:55 +0100
commit709238294ea83525e62476ce59d734c57c11fd3f (patch)
tree206671384cb5eba3ea9a26e2870b063c6910f55c /test/haketilo_test/data
parent33b6872c33ec2a68ac5abda6eb0de23fc9d9fdaa (diff)
downloadbrowser-extension-709238294ea83525e62476ce59d734c57c11fd3f.tar.gz
browser-extension-709238294ea83525e62476ce59d734c57c11fd3f.zip
fix setting of 'blocked-blocked<...>-<name>' attributes and add tests
Diffstat (limited to 'test/haketilo_test/data')
-rw-r--r--test/haketilo_test/data/pages/scripts_to_block_1.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/haketilo_test/data/pages/scripts_to_block_1.html b/test/haketilo_test/data/pages/scripts_to_block_1.html
index 164979d..e7793ee 100644
--- a/test/haketilo_test/data/pages/scripts_to_block_1.html
+++ b/test/haketilo_test/data/pages/scripts_to_block_1.html
@@ -30,7 +30,8 @@
</head>
<body>
<button id="clickme1"
- onclick="window.__run = [...(window.__run || []), 'on'];">
+ onclick="window.__run = [...(window.__run || []), 'on'];"
+ blocked-onclick="some useful data">
Click Meee!
</button>
<a id="clickme2"