Commit Graph

47 Commits

Author SHA1 Message Date
Francis Bouvier
de286dd78e async: use zig-async-io
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-11-21 16:42:48 +01:00
Francis Bouvier
46d0aa6f9e Remove all references to the name 'browsercore'
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-10-29 22:16:56 +01:00
Pierre Tachoire
6da2954e0b upgrade to zig 0.13 2024-07-19 14:32:47 +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
c555c325e9 upgrade to zig 0.12
0.12.0-dev.3439+31a7f22b8
2024-06-18 16:13:26 +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
fec212ab94 window: use window as global object 2024-03-08 12:24:23 +01:00
Pierre Tachoire
c2ade9061b move window from nav to html 2024-01-17 18:21:52 +01:00
Pierre Tachoire
b53d4a149c add nav web api 2024-01-17 18:21:47 +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
006aea25b8 wpt: fix normal output 2024-01-03 09:56:56 +01:00
Pierre Tachoire
e04bbc2ace wpt: summary includes pass cases number 2023-12-15 11:58:54 +01:00
Pierre Tachoire
1e739af4e4 wpt: use std.ChildProcess.run 2023-12-15 11:28:28 +01:00
Pierre Tachoire
ee8628acfd wpt: handle json outpout w/ safe run 2023-11-30 17:31:17 +01:00
Pierre Tachoire
73e80a5678 wpt: use enum for output 2023-11-30 17:31:17 +01:00
Pierre Tachoire
29f5f15c50 wpt: move safe run in its own func 2023-11-30 17:31:17 +01:00
Pierre Tachoire
07270fbb19 wpt: extract filter on its own func 2023-11-30 17:31:16 +01:00
Pierre Tachoire
8b8d7b3617 wpt: add safe test run in separate process 2023-11-30 17:31:16 +01:00
Pierre Tachoire
6e0491e3b0 wpt: remove output 2023-11-30 17:31:16 +01:00
Pierre Tachoire
62721e672f wpt: add json output 2023-11-30 17:31:15 +01:00
Pierre Tachoire
49318b18df wpt: use gpa allocator 2023-11-30 17:31:15 +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
Pierre Tachoire
b55c72c2ed wpt: add json option 2023-11-30 17:26:07 +01:00
Francis Bouvier
2065d47d8e Check DOMError
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-11-28 17:55:49 +01:00
Francis Bouvier
b4951ffa51 Adapt to js_env.start change
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-11-24 19:37:45 +01:00
Francis Bouvier
c751b5f420 Update jsruntime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-11-21 12:16:51 +01:00
Pierre Tachoire
62fe1c292d wpt: add a console.log debug message 2023-11-16 10:09:00 +01:00
Pierre Tachoire
bd0ade29d2 wpt: use fs.path.join 2023-10-27 19:06:51 +02:00
Pierre Tachoire
89431971ac wpt: load script soruce file dynamically 2023-10-27 19:00:26 +02:00
Francis Bouvier
3c5f1b89e7 Update jsruntime + fix breaking changes
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
2023-10-23 13:03:39 +02:00
Pierre Tachoire
b8efce8f34 wpt: declare FilesMap type in FileLoader struct 2023-10-18 14:08:58 +02:00
Pierre Tachoire
0a3e2fe392 wpt: refacto js eval 2023-10-17 18:33:35 +02:00
Pierre Tachoire
3f40936b78 wpt: remove useless default 2023-10-17 18:19:17 +02:00
Pierre Tachoire
9dda08b8a9 dom: document: re-dispatch document function according to spec 2023-10-17 18:18:38 +02:00
Pierre Tachoire
ebb5afe914 wpt: remove useless alias 2023-10-17 11:49:53 +02:00
Pierre Tachoire
14cacc3635 wpt: remove Self = @This() useless usage 2023-10-17 11:48:30 +02:00
Pierre Tachoire
3b141d3216 wpt: rename new into init 2023-10-17 11:40:07 +02:00
Pierre Tachoire
aadc17292e wpt: improve hashmap creation readability 2023-10-17 11:39:00 +02:00
Pierre Tachoire
0d6c319f1b wpt: replace cbk_res with null 2023-10-17 11:24:35 +02:00
Pierre Tachoire
f3601f1245 wpt: get the script content fonr the node itself
instead of using the first child only which result a partial content.
see https://github.com/Browsercore/browsercore/issues/59
2023-10-11 11:31:40 +02:00
Pierre Tachoire
bf0af2c036 wpt: accept test name argument 2023-10-11 10:48:11 +02:00
Pierre Tachoire
22b9b1841c wpt: rename file into main and create make wpt 2023-10-11 09:35:52 +02:00