Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-21 | extension,test: router -> Router. | Omar Rizwan | |
2021-03-21 | extension: Big refactor to use named variables in routes. | Omar Rizwan | |
Also move debugger-specific stuff into the debugger block. | |||
2021-03-21 | extension,test: Start on simplifying routing. | Omar Rizwan | |
Introduces a 'named variable' syntax so we can remove all the manual indexing into path components / converting to int in individual fs ops. Also rewrites the route finding to use regex: all routes are compiled to regexes, then the route finder just walks through them all until it hits a match. Doesn't fully work yet; JS test passes. | |||
2021-03-14 | test: separate tests from background.js, clean up and document a bit | Omar Rizwan | |
also makes the test more lenient (subset instead of equality for tab entries) |