Commit Graph

328 Commits

Author SHA1 Message Date
Pierre Tachoire
a9100754fa ci: upgrade zig version to 0.12.0-dev.1773+8a8fd47d2 2023-12-05 14:11:53 +01:00
Pierre Tachoire
165f7a9ff3 use const for unmutated var 2023-12-05 14:09:25 +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
d73a204d8b @errSetCast is now @errorCast
see https://github.com/ziglang/zig/issues/17343
2023-12-05 14:09:24 +01:00
Pierre Tachoire
4f86b6e519 upgrade jsruntime-lib 2023-12-05 14:09:24 +01:00
Pierre Tachoire
bda6a843ca update addCSourceFiles signature
see https://github.com/ziglang/zig/pull/17420
2023-12-05 14:08:06 +01:00
Francis Bouvier
098ba6df46 Merge pull request #100 from Browsercore/dom-element-attribute
Add some element.*Attribute functions
2023-12-05 12:22:34 +01:00
Pierre Tachoire
d15985f1ad Merge pull request #110 from Browsercore/docker-no-latest
docker: tag deps docker build with zig version
2023-12-05 11:18:54 +01:00
Pierre Tachoire
7d1b4b8c68 docker: tag deps docker build with zig version
remove latest tag
2023-12-05 11:16:10 +01:00
Pierre Tachoire
a3f07c894c netsurf: one line null check 2023-12-05 09:44:47 +01:00
Pierre Tachoire
e1e4b13be9 dom: remove useless Exception decl 2023-12-05 09:15:54 +01:00
Pierre Tachoire
ad5c6236a7 dom: add NamedNodeMap implementation
and create Attr type
2023-12-05 08:53:34 +01:00
Pierre Tachoire
dcb095d9df dom: add element.HasAttributes 2023-12-05 08:53:34 +01:00
Pierre Tachoire
acf737152c dom: implement element.toggleAttribute 2023-12-05 08:53:34 +01:00
Pierre Tachoire
98c4f506b7 dom: implement element.*Attribute 2023-12-05 08:53:25 +01:00
Pierre Tachoire
5ef08df052 Merge pull request #106 from Browsercore/docker-zig-upgrade
docker: upgrade docker build deps with zig 0.12.0-dev.1773+8a8fd47d2
2023-12-04 17:57:48 +01:00
Pierre Tachoire
6be48bc913 Merge pull request #107 from Browsercore/wpt-safe
make: use safe mode w/ wpt
2023-12-04 17:57:38 +01:00
Pierre Tachoire
2643366639 make: use safe mode w/ wpt 2023-12-04 17:55:52 +01:00
Pierre Tachoire
b300e5b3ba docker: upgrade docker build deps 2023-12-04 17:53:16 +01:00
Francis Bouvier
d1082f7d52 Merge pull request #104 from Browsercore/zig-version
Use fixed zig version
2023-12-04 17:41:09 +01:00
Pierre Tachoire
0d0628b39e build: don't alias zig version 2023-12-04 17:33:48 +01:00
Pierre Tachoire
6806c151a3 make: add download-zig target 2023-12-04 12:18:49 +01:00
Pierre Tachoire
f210c773f0 zig: add a zig version check 2023-12-04 11:19:49 +01:00
Pierre Tachoire
71a5dfdfd0 upgrade jsruntime-lib 2023-12-04 11:19:49 +01:00
Francis Bouvier
cfad1c3b31 Merge pull request #97 from Browsercore/wpt-json
WPT: add json output
2023-12-01 14:39:57 +01:00
Pierre Tachoire
843c404b49 ci: use safe run for WPT ci tests 2023-11-30 17:31:18 +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
b9c0d9e20e wpt: remove new lines from report 2023-11-30 17:26:08 +01:00
Pierre Tachoire
486927c889 wpt: refacto results report 2023-11-30 17:26:08 +01:00
Pierre Tachoire
74b25161a3 wpt: change js output format 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
a6a18cf0f5 Merge pull request #96 from Browsercore/dom_error
Check DOMError
2023-11-30 17:15:04 +01:00
Pierre Tachoire
fe86a36551 dom: fix defer free var in createDocument 2023-11-30 09:40:33 +01:00
Francis Bouvier
f3fbc630da Merge pull request #98 from Browsercore/collection_live
HTMLCollection: add unit test for liveness
2023-11-29 21:17:32 +01:00
Francis Bouvier
b53c160001 HTMLCollection: add unit test for liveness
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-11-29 17:35:37 +01:00
Francis Bouvier
ce913219a9 Add DOMError check in DOMImplementation
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-11-29 15:34:10 +01:00
Francis Bouvier
2065d47d8e Check DOMError
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-11-28 17:55:49 +01:00
Pierre Tachoire
68db7f2e63 Merge pull request #88 from Browsercore/domdoc-implementation
add document.implementation
2023-11-28 09:50:46 +01:00
Pierre Tachoire
a504daebe1 dom: use alloc short name 2023-11-27 17:55:02 +01:00
Pierre Tachoire
c4c6cfa044 better null check syntax
Co-authored-by: Francis Bouvier <francis@lightpanda.io>
2023-11-27 17:55:02 +01:00
Pierre Tachoire
8d6f18744e move unsued along with TODO
Co-authored-by: Francis Bouvier <francis@lightpanda.io>
2023-11-27 17:55:02 +01:00
Pierre Tachoire
0afa6b27b9 remove useless var
Co-authored-by: Francis Bouvier <francis@lightpanda.io>
2023-11-27 17:55:01 +01:00