aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-02-16improve the build systemWojtek Kosior
2022-02-16assume and use "$schema" properties in item definitionsWojtek Kosior
2022-02-15facilitate running test environment with Haketilo loaded into browserWojtek Kosior
2022-02-15fix loading initial data and verify it in automated testsWojtek Kosior
2022-02-15change store names and data keys to singularWojtek Kosior
2022-02-09prevent failure in setup of the test case being run after test_broadcast ( ↵Wojtek Kosior
old IceCat)
2022-02-09make resource dependency specifier an objectWojtek Kosior
2022-02-09adapt to changes in file path formatWojtek Kosior
From now on we assume Hydrilla serves file contents at 'file/sha256/<hash>' instead of 'file/sha256-<hash>'. With this commit we also stop using the "hash_key" property internally.
2022-02-02support Parabola's Iceweasel in testsWojtek Kosior
2022-02-01more improvements for abrowser&librewolfWojtek Kosior
2022-01-31add support for testing with other browsers (especially Abrowser and Librewolf)Wojtek Kosior
There are still some spurious failures when running under those newer browsers. Those will be systematically investigated and fixed.
2022-01-29make Haketilo buildable again (for Mozilla)Wojtek Kosior
How cool it is to throw away 5755 lines of code...
2022-01-28update error reporting in popupWojtek Kosior
2022-01-27add actual payload injection functionality to new content scriptWojtek Kosior
2022-01-27facilitate querying IndexedDB for script files of resource and its dependenciesWojtek Kosior
2022-01-26add new root content scriptWojtek Kosior
2022-01-26add new extension's popup pageWojtek Kosior
2022-01-25add a repo querying HTML interfaceWojtek Kosior
2022-01-22add a mapping/resources installation dialogWojtek Kosior
2022-01-18facilitate caching repository responses in content scriptsWojtek Kosior
2022-01-18facilitate making CORS-agnostic requests through background scriptWojtek Kosior
2022-01-17test script blocking with and without the CSP-based approach onWojtek Kosior
2022-01-17move policy enforcing code to a new file, include basic testWojtek Kosior
2022-01-17add basic tests for new settings pageWojtek Kosior
2022-01-15make blocking rules queryable in pattern tree just as mappings areWojtek Kosior
2022-01-14add settings page with stylingWojtek Kosior
2022-01-13facilitate managing script blocking with a list of edtable entriesWojtek Kosior
2022-01-13facilitate managing repository URLs in a list; minor other changesWojtek Kosior
2022-01-11add missing payload_create test and stylingWojtek Kosior
2022-01-10improve item list styling; add payload creation form; exend dialog mechanismWojtek Kosior
2022-01-08further item list workWojtek Kosior
There is now a mechanism for removing an item and there are more tests for item list. The entire thing is still work in progress.
2022-01-08work on UI componentsWojtek Kosior
This commit introduces some HTML and javascript (and tests for it) to use in constructing the new UI. This is partial work that is not yet finished.
2022-01-04fix license promise typoWojtek Kosior
2022-01-03improve and test the dafult policy dialogWojtek Kosior
This commit also fixes some bugs that manifested themselves spuriously.
2022-01-03facilitate testing extension's HTML filesWojtek Kosior
2022-01-03more general way to provide additional lines of code that ↵Wojtek Kosior
compute_scripts.awk should process as part of a js file
2022-01-03add "blocking" and "repos" object storesWojtek Kosior
2021-12-31utilize Pattern Tree to decide the policy to use and modify HTTP response ↵Wojtek Kosior
headers according to that policy This commit also enhances the build script so that preprocessor conditionals can now use operators '&&' and '||'. The features being developed are not yet included in the actual Haketilo build. Some of the new source files contain similar functionality to other ones already existing in the source tree. At some point the latter will be removed.
2021-12-27facilitate egistering dynamic content scripts with mappings dataWojtek Kosior
2021-12-22reworked build system; added missing license noticesWojtek Kosior
2021-12-16facilitate tracking of IndexedDB item store contentsWojtek Kosior
2021-12-15facilitate mocking imported valuesWojtek Kosior
2021-12-14facilitate broadcasting messages to different execution contexts within the ↵Wojtek Kosior
webextension
2021-12-13facilitate creating and installing WebExtensions during testsWojtek Kosior
It is now possible to more conveniently test WebExtension APIs code by wrapping it into a test WebExtension and temporarily installing in the driven browser.
2021-12-13enable in-line command editing in the Python prompt shown as part of `make ↵Wojtek Kosior
test-environment`
2021-12-10improve IndexedDB useWojtek Kosior
2021-12-08facilitate initialization of IndexedDB for use by HaketiloWojtek Kosior
2021-12-04finish implementing more efficient querying of URL patternsWojtek Kosior
The algorithm is implemented and tested. However, it is yet to be hooked into the actual extension.
2021-12-03start implementing more efficient querying of URL patternsWojtek Kosior
2021-12-01improve unit testing approachWojtek Kosior
Unit tests were moved to their own subdirectory. Fixtures common to many unit tests were moved to test/unit/conftest.py. A facility to execute scripts in page's global scope was added. A workaround was employed to present information about errors in injected scripts. Sample unit tests for regexes in common/patterns.js were added.