Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixing a few problems with @license / @license-end regexes | Yuchen Pei | 2022-10-13 | 1 | -0/+12 |
| | | | | | | | - trailing whitespace, including newlines are consumed by the opneing regex (added a test case) - added a test case for /* @license ... */ ... /* @license-end */ | ||||
* | let -> const in tests | Yuchen Pei | 2022-10-13 | 1 | -61/+61 |
| | |||||
* | `// @license` should be at the beginning of a line (mod whitespace) | Yuchen Pei | 2022-10-13 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the following will be processed for @license / @license-end method: // foo.js // // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0 // document.getElementById('bar'); // // @license-end function foo(x, y) { console.log(x + y); } $ node ./utitlities/check-script foo.js [ true, '// // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0\n' + "// document.getElementById('bar');\n" + '// // @license-end\n' + 'function foo(x, y) {\n' + ' console.log(x + y);\n' + '}\n', '\n' + 'Recognized license: "GNU General Public License (GPL) version 3".\n' + 'Script appears to be trivial.' ] | ||||
* | minor renaming | Yuchen Pei | 2022-09-27 | 1 | -1/+1 |
| | |||||
* | disable contactfinder tests by default | Yuchen Pei | 2022-09-27 | 1 | -28/+31 |
| | | | | It tends to time out. Also moved injectContactFinder | ||||
* | adding tests of calls to reserved objects. | Yuchen Pei | 2022-09-20 | 1 | -5/+12 |
| | |||||
* | Updating copyright to files touched in the previous commits. | Yuchen Pei | 2022-09-20 | 1 | -0/+1 |
| | |||||
* | adding a test for prefs default | Yuchen Pei | 2022-07-29 | 1 | -1/+14 |
| | |||||
* | clean up code in prefs panel | Yuchen Pei | 2022-07-28 | 1 | -1/+1 |
| | |||||
* | removed a redundant console log | Yuchen Pei | 2022-07-28 | 1 | -1/+0 |
| | |||||
* | adding a test for contact finder | Yuchen Pei | 2022-07-28 | 1 | -0/+16 |
| | |||||
* | adding a test for the contact finder | Yuchen Pei | 2022-07-25 | 1 | -0/+16 |
| | |||||
* | linting | Yuchen Pei | 2022-04-07 | 1 | -70/+70 |
| | | | | | - eslint - also adding eslintrc | ||||
* | nop whitespace formatting change. | Yuchen Pei | 2022-04-07 | 1 | -13/+13 |
| | | | | | | | | - ran eglot-format using typescript-language-server on all js files in the repo except those under /hash_script/ - verify only whitespace changed: git diff --word-diff-regex=. 62d6a71 62d6a71~1 | ||||
* | Display NOSCRIPT elements when scripts are blocked or the ↵ | hackademix | 2019-04-30 | 1 | -0/+24 |
| | | | | data-librejs-display attribute is present. | ||||
* | Automated regression tests for whitelist and blacklist management, including ↵ | hackademix | 2019-03-26 | 1 | -1/+39 |
| | | | | wildcards. | ||||
* | Test for inline scripts in attributes, including (de)duplication. | hackademix | 2019-02-25 | 1 | -0/+19 |
| | |||||
* | Adjusting for the fixes to the malformed license parsing. | hackademix | 2018-10-02 | 1 | -10/+6 |
| | |||||
* | Work around for documentUrl = tab.url = about:blank if tests are launched ↵ | hackademix | 2018-10-02 | 1 | -3/+3 |
| | | | | from XPI | ||||
* | Restored testing page tab removal after completion. | hackademix | 2018-10-02 | 1 | -1/+1 |
| | |||||
* | Jasmine-based automated tests suite. | hackademix | 2018-10-02 | 1 | -0/+212 |