about summary refs log tree commit diff stats
path: root/test/net
Commit message (Collapse)AuthorAgeFilesLines
* event: implement capturing phase, misc improvementsbptato2025-05-051-1/+4
| | | | Fixes acid3 tests 31, 32
* cookie: do not match port in Domainbptato2025-05-021-1/+3
| | | | That's how cookies *should have* worked, not how they actually work.
* loader: support Set-Cookie for non-initial requestsbptato2025-04-053-2/+11
| | | | | | | | | For compatibility with mainstream browsers. e.g. this should allow log-ins through ajax. To synchronize the loader's cookie jar with that of the pager, we open a stream (about:cookie-stream) to pass over serialized cookies when required.
* config: add user-style, deprecate [css] and stylesheetbptato2025-04-011-1/+1
| | | | | I'm not 100% content with this syntax either, but it's a significant improvement over the previous solution.
* xmlhttprequest: fix open with credentialsbptato2025-03-231-1/+1
| | | | | * ignore username/password if undefined * do not throw on subsequent fetch with username/password
* bonus: add new http handler with tinflbptato2025-03-201-0/+3
| | | | not much else is done yet, but it's a start
* xhr, event, catom: fix some bugsbptato2025-02-154-3/+19
| | | | Event handler functions can be set twice now.
* 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