Commit Graph

35 Commits

Author SHA1 Message Date
Karl Seguin
3e7f07374c Pass HttpClient options in wpt 2025-03-27 18:18:29 +08:00
Karl Seguin
2a0d1b0a48 Switch to nonblocking socket
Improve test server handshake performance, allowing for a few more fuzz
iterations without making tests unbearably slow.
2025-03-23 19:05:37 +08:00
Pierre Tachoire
55a942aa22 wpt: fix zig-0.14 compat 2025-03-19 16:48:22 +01:00
Pierre Tachoire
318e2bd1c6 dom: expose document.location 2025-01-27 12:33:05 +01:00
Pierre Tachoire
b3f7fb7be3 dom: implement navigator.userAgent 2025-01-08 11:03:11 +01:00
Pierre Tachoire
4138c6fe95 polyfill: first draft to polyfill fetch api 2024-12-02 18:00:32 +01:00
Francis Bouvier
de286dd78e async: use zig-async-io
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-11-21 16:42:48 +01:00
Pierre Tachoire
6809bb5393 async: adapt async cli 2024-11-18 17:39:37 +01:00
Francis Bouvier
b0634cd871 Adapt wpt and shell to zig-js-runtime changes
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-10-16 15:21:03 +02:00
Pierre Tachoire
8c3939b842 wpt: remove useless Suite.stack 2024-07-18 16:52:32 +02:00
Pierre Tachoire
4434e11bdd wpt: restore the test results 2024-07-18 16:40:44 +02:00
Francis Bouvier
b8ec53f708 Adapt to js_exec changes in zig-js-runtime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-07-18 12:10:06 +02:00
Pierre Tachoire
ab31cc0a18 wpt: if no test case found, the suite fails 2024-06-21 16:19:37 +02:00
Pierre Tachoire
f2a406d224 move netsurf and mimalloc into modules 2024-06-18 16:13:27 +02:00
Pierre Tachoire
77bf332f13 wpt: split script exec and wait loop 2024-05-23 15:11:24 +02:00
Pierre Tachoire
b4f445183c wpt: add log.debug method in pure JS 2024-05-23 15:11:24 +02:00
Pierre Tachoire
00d75584db usrctx: use ctx http client with xhr 2024-05-22 14:58:48 +02:00
Pierre Tachoire
e18d04a799 userctx: inject user context 2024-05-22 14:45:34 +02:00
Pierre Tachoire
2a3a243d1c add AGPL license header in zig files 2024-05-13 20:51:36 +02:00
Pierre Tachoire
c6754d6a6e wpt: dispatch native event 2024-05-07 16:09:20 +02:00
Pierre Tachoire
3c5d601622 storage: first implementation of webstorage API 2024-04-24 11:54:41 +02:00
Pierre Tachoire
3834ebcfa4 replace calloc with mimalloc 2024-04-19 11:46:42 +02:00
Pierre Tachoire
886c9daa47 window: inject DocumentHTML instead of Document 2024-03-08 12:24:24 +01:00
Pierre Tachoire
fec212ab94 window: use window as global object 2024-03-08 12:24:23 +01:00
Pierre Tachoire
fe31d81e29 wpt: allow .htm tests cases 2024-02-12 13:08:52 +01:00
Pierre Tachoire
e4b4719208 wpt: defer console log display 2024-02-12 13:08:52 +01:00
Pierre Tachoire
64a7f3a3f0 wpt: always return detailed result
We want detailed subcase result for successful cases
2024-01-18 09:00:45 +01:00
Pierre Tachoire
028cd2331f netsurf: pass encoding to the parser 2024-01-12 15:22:30 +01:00
Francis Bouvier
a5dfa6cb44 Adopt global Types changes in jsruntime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-01-10 11:56:53 +01:00
Pierre Tachoire
5496e68a02 netsurf: remove documentHTMLParseFromFile 2024-01-09 11:35:18 +01:00
Pierre Tachoire
0159051b17 netsurf: remove deprecated API for parsing HTML 2024-01-08 16:02:53 +01:00
Pierre Tachoire
e7264ebde7 wpt: pass allocator intreado of arena to Env.init 2023-12-13 09:29:29 +01:00
Pierre Tachoire
7e7e5518d8 revert IterableDir
see https://github.com/ziglang/zig/pull/18076
2023-12-05 14:09:25 +01:00
Pierre Tachoire
d7ddec3ba7 wpt: move code into wpt/ module 2023-11-30 17:31:12 +01:00
Pierre Tachoire
486927c889 wpt: refacto results report 2023-11-30 17:26:08 +01:00