aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_indexeddb.py
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-01-27 19:35:44 +0100
committerWojtek Kosior <koszko@koszko.org>2022-01-27 19:35:44 +0100
commit5c58b3d65e370ebd3dadc1133157c73c6afc84af (patch)
tree4d9424340efa4602ddb10b6634eb50bef2130a99 /test/unit/test_indexeddb.py
parent9d825eaaa0715ee5244a09bc3d1968aa1664d048 (diff)
downloadbrowser-extension-5c58b3d65e370ebd3dadc1133157c73c6afc84af.tar.gz
browser-extension-5c58b3d65e370ebd3dadc1133157c73c6afc84af.zip
facilitate querying IndexedDB for script files of resource and its dependencies
Diffstat (limited to 'test/unit/test_indexeddb.py')
-rw-r--r--test/unit/test_indexeddb.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/unit/test_indexeddb.py b/test/unit/test_indexeddb.py
index aea633b..b320cff 100644
--- a/test/unit/test_indexeddb.py
+++ b/test/unit/test_indexeddb.py
@@ -51,16 +51,6 @@ def make_sample_mapping():
'identifier': 'helloapple'
}
-def mock_broadcast(execute_in_page):
- execute_in_page(
- '''{
- const broadcast_mock = {};
- const nop = () => {};
- for (const key in broadcast)
- broadcast_mock[key] = nop;
- broadcast = broadcast_mock;
- }''')
-
@pytest.mark.get_page('https://gotmyowndoma.in')
def test_haketilodb_item_modifications(driver, execute_in_page):
"""