Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

haketilo / test @ 9bee4afa

# Date Author Comment
9bee4afa 06/01/2022 02:29 PM koszko

support schema v2 and dependencies on mappings

6cce0301 03/28/2022 05:46 PM koszko

add more tests for CORS bypassing feature

fba67f09 03/26/2022 10:17 PM koszko

allow injected scripts to bypass CORS using provided API

60c0b4fe 03/24/2022 08:43 PM koszko

delay loading of js code in test_policy_enforcing.py

We don't want JS loading to happen upon python module load. We want to do it lazily. Here it was being done eagerly due to some previous overlooking.

749f1c85 03/24/2022 08:43 PM koszko

prepare for exposing APIs to injected scripts

bbc9fae4 03/24/2022 08:43 PM koszko

serialize and deserialize entire Response object when relaying fetch() calls to other contexts using sendMessage

7f0b5ded 03/11/2022 04:41 PM koszko

don't double-modify response headers retrieved from cache

aacacbb8 03/10/2022 11:43 AM koszko

improvement to also properly sanitize intrinsics in XML documents under older browsers (IceCat 60)

003876d5 03/10/2022 11:43 AM koszko

present appropriate error message when using popup in Private Browsing mode

093ec2a5 03/08/2022 05:34 PM koszko

correct the Private Browsing mode notice on settings page

96efcc33 03/05/2022 03:54 PM koszko

improve script blocking in non-HTML documents (XML)

70923829 03/04/2022 06:14 PM koszko

fix setting of 'blocked-blocked<...>-' attributes and add tests

587c1a88 03/04/2022 04:36 PM koszko

display an informative message in settings page if IndexedDB cannot be accessed

22fe27f0 03/04/2022 04:13 PM koszko

include $schema property in internally-generated resources/mappings

c8294257 03/04/2022 04:13 PM koszko

optimize Pattern Query Tree for size of its JSON.stringify()'ed representation

241f58b6 03/04/2022 04:13 PM koszko

stop haketilo() fixture cleanup from closing last browser window

57ce414c 03/04/2022 04:13 PM koszko

validate repository responses against JSON schemas

  • 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...
8477d0cf 02/19/2022 07:54 PM koszko

fix URL construction when downloading definitions from Hydrilla

5aef54c8 02/18/2022 04:36 PM koszko

make "uuid" an optional property

ee0a4a93 02/17/2022 04:34 PM koszko

automatically pick up a free port to run the HTTP proxy on

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).

3e4bde86 02/17/2022 04:09 PM koszko

fix test-environment* targets

fd9f2fc4 02/16/2022 10:01 PM koszko

fix out-of-source builds

7965f1b4 02/16/2022 06:12 PM koszko

improve the build system

72553a2d 02/16/2022 10:12 AM koszko

assume and use "$schema" properties in item definitions

3611dd6a 02/15/2022 04:21 PM koszko

facilitate running test environment with Haketilo loaded into browser

5ed09841 02/15/2022 02:22 PM koszko

fix loading initial data and verify it in automated tests

92fc67cf 02/15/2022 01:18 PM koszko

change store names and data keys to singular

1869062a 02/09/2022 06:45 PM koszko

prevent failure in setup of the test case being run after test_broadcast ( old IceCat)

3d6ffa57 02/09/2022 06:29 PM koszko

make resource dependency specifier an object

1c65dd5c 02/09/2022 06:00 PM koszko

adapt to changes in file path format

From now on we assume Hydrilla serves file contents at 'file/sha256/' instead of 'file/sha256-'.
With this commit we also stop using the "hash_key" property internally.

830d22d8 02/02/2022 11:13 AM koszko

support Parabola's Iceweasel in tests

26e4800d 02/01/2022 08:22 AM koszko

more improvements for abrowser&librewolf

ad69f9c8 01/31/2022 06:06 PM koszko

add support for testing with other browsers (especially Abrowser and Librewolf)

There are still some spurious failures when running under those newer browsers. Those will be systematically investigated and fixed.

4c6a2323 01/29/2022 12:04 AM koszko

make Haketilo buildable again (for Mozilla)

How cool it is to throw away 5755 lines of code...

ea9df6c7 01/28/2022 03:18 PM koszko

update error reporting in popup

fbfddb02 01/27/2022 09:24 PM koszko

add actual payload injection functionality to new content script

5c58b3d6 01/27/2022 07:35 PM koszko

facilitate querying IndexedDB for script files of resource and its dependencies

9d825eaa 01/26/2022 10:13 PM koszko

add new root content script

42fe4405 01/26/2022 11:38 AM koszko

add new extension's popup page

b75a5717 01/25/2022 09:37 AM koszko

add a repo querying HTML interface

7218849a 01/22/2022 01:49 PM koszko

add a mapping/resources installation dialog

046b8a7b 01/18/2022 07:28 PM koszko

facilitate caching repository responses in content scripts

17614206 01/18/2022 03:57 PM koszko

facilitate making CORS-agnostic requests through background script

31cc63c2 01/17/2022 02:15 PM koszko

test script blocking with and without the CSP-based approach on

7bedbcbd 01/17/2022 11:24 AM koszko

move policy enforcing code to a new file, include basic test

ede3a55b 01/17/2022 11:13 AM koszko

add basic tests for new settings page

07a883fe 01/15/2022 12:35 PM koszko

make blocking rules queryable in pattern tree just as mappings are

e7d11c7c 01/14/2022 10:48 PM koszko

add settings page with styling

299864ee 01/13/2022 04:47 PM koszko

facilitate managing script blocking with a list of edtable entries

5acb2499 01/13/2022 10:15 AM koszko

facilitate managing repository URLs in a list; minor other changes

dd8de100 01/11/2022 03:43 PM koszko

add missing payload_create test and styling

19304cd1 01/10/2022 11:38 PM koszko

improve item list styling; add payload creation form; exend dialog mechanism

38650a81 01/08/2022 07:23 PM koszko

further item list work

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.

448820a1 01/08/2022 02:48 PM koszko

work on UI components

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.

372d24ea 01/04/2022 09:15 AM koszko

fix license promise typo

280d3c42 01/03/2022 10:30 PM koszko

improve and test the dafult policy dialog

This commit also fixes some bugs that manifested themselves spuriously.

3840192d 01/03/2022 08:43 PM koszko

facilitate testing extension's HTML files

c71ebff8 01/03/2022 04:25 PM koszko

more general way to provide additional lines of code that compute_scripts.awk should process as part of a js file

0feb9db2 01/03/2022 12:11 PM koszko

add "blocking" and "repos" object stores

702eefd2 12/31/2021 02:23 PM koszko

utilize Pattern Tree to decide the policy to use and modify HTTP response 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....

01e977f9 12/27/2021 04:55 PM koszko

facilitate egistering dynamic content scripts with mappings data

b590eaa2 12/22/2021 04:39 PM koszko

reworked build system; added missing license notices

b7378a99 12/16/2021 02:37 PM koszko

facilitate tracking of IndexedDB item store contents

9a7623de 12/15/2021 01:33 PM koszko

facilitate mocking imported values

58fe4c7d 12/14/2021 10:06 PM koszko

facilitate broadcasting messages to different execution contexts within the webextension

c699b640 12/13/2021 05:58 PM koszko

facilitate creating and installing WebExtensions during tests

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.

4c933941 12/13/2021 02:10 PM koszko

enable in-line command editing in the Python prompt shown as part of make test-environment

1e4ce148 12/10/2021 07:14 PM koszko

improve IndexedDB use

3a90084e 12/08/2021 07:01 PM koszko

facilitate initialization of IndexedDB for use by Haketilo

e1282a63 12/04/2021 07:31 PM koszko

finish implementing more efficient querying of URL patterns

The algorithm is implemented and tested. However, it is yet to be hooked into the actual extension.

5c583de8 12/03/2021 08:49 PM koszko

start implementing more efficient querying of URL patterns

93dd7360 12/01/2021 09:06 PM koszko

improve unit testing approach

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....

463e6830 12/01/2021 02:03 PM koszko

facilitate testing javascript functions

Haketilo's .js files can now be loaded together with their dependencies and
executed on a page opened in a selenium-driven Firefox instance.

5b2a7a61 11/27/2021 01:15 PM koszko

add Selenium- and Python-based test system