about summary refs log tree commit diff stats
path: root/test/net
Commit message (Collapse)AuthorAgeFilesLines
* cookie: improve Expires parsingbptato2025-01-132-4/+6
|
* pager: history fixesbptato2025-01-011-0/+1
| | | | | | | | | * add failed buffers to history too * make buffer.history and siteconf history actually do something * prevent history in dump mode after retry too * disable history in test configs ref. https://todo.sr.ht/~bptato/chawan/39
* script: improve defineConstsbptato2024-12-301-2/+3
| | | | | | Well, I guess this works for now, but something is still wrong. In Gecko, document.__proto__ === Document.__proto__, but in Chawan, it isn't.
* cookie: add persistent cookies, misc refactoring/fixesbptato2024-12-294-5/+49
| | | | | | | | | | | | | Mostly compatible with other browsers/tools that follow the Netscape/curl format. Cookie jars are represented by prepending "jar@" to the host part, but *only* if the target jar is different than the domain. Hopefully, other software at least does not choke on this convention. (At least curl seems to simply ignore the entries.) Also, I've moved cookies.nim to config so that code for local files parsed at startup remains in one place.
* xhr: fix flipped exception in overrideMimeTypebptato2024-12-281-0/+2
|
* Unify assert.js for testsbptato2024-12-151-3/+3
| | | | | judging from the symlink, I probably meant to do this but forgot to finish it
* Fix casingbptato2024-12-051-1/+1
|
* twtstr: beforeLast -> untilLastbptato2024-11-151-1/+1
| | | | for consistency
* xhr: more progressbptato2024-08-157-0/+99
* add responseText, response * add net tests -> currently sync XHR only; should find a way to do async tests... * update monoucha -> simplified & updated some related code that no longer worked properly