summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-03-04fix setting of 'blocked-blocked<...>-<name>' attributes and add testsWojtek Kosior
2022-03-04display an informative message in settings page if IndexedDB cannot be accessedWojtek Kosior
2022-03-04include $schema property in internally-generated resources/mappingsWojtek Kosior
2022-03-04optimize Pattern Query Tree for size of its JSON.stringify()'ed representationWojtek Kosior
2022-03-04stop `haketilo()` fixture cleanup from closing last browser windowWojtek Kosior
2022-03-04validate repository responses against JSON schemasWojtek Kosior
* compute_scripts.awk (include_file): don't enforce specific path format on #INCLUDE'd files * .gitmodules, schemas: add Haketilo JSON schemas subrepo * html/install.js (InstallView): import schema validator and run it against downloaded mapping and resource definitions * html/repo_query.js (RepoEntry): import schema validator and run it against obtained query results * test/haketilo_test/unit/test_install.py (test_install_normal_usage, test_install_dialogs): use underscore instead of hyphen in item identifiers * test/haketilo_test/unit/test_install.py (test_install_dialogs): adapt error message test cases to new handling method of invalid JSON instanced * test/haketilo_test/unit/test_repo_query.py (test_repo_query_normal_usage): use underscore instead of hyphen in item identifiers * test/haketilo_test/unit/test_repo_query.py (test_repo_query_messages): use higher sample unsupported schema version to avoid having to modify the test case soon * test/haketilo_test/world_wide_library.py: use underscore instead of hyphen in item identifiers * common/jsonschema.js, common/jsonschema: adapt tdegrunt's jsonschema and include in Haketilo, load schema documents from schemas/
2022-02-19fix URL construction when downloading definitions from HydrillaWojtek Kosior
2022-02-18make "uuid" an optional propertyWojtek Kosior
2022-02-17automatically pick up a free port to run the HTTP proxy onWojtek Kosior
It is now possible to run multiple `make test` commands in parallel (e.g. testing abrowser and librewolf simultaneously after running `configure` for each of them in 2 different directories).
2022-02-17fix test-environment* targetsWojtek Kosior
2022-02-16fix out-of-source buildsWojtek Kosior
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