Commit Graph

306 Commits

Author SHA1 Message Date
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
Pierre Tachoire
bd68f07206 use _ name for unused self args
Co-authored-by: Francis Bouvier <francis@lightpanda.io>
2023-11-27 17:55:01 +01:00
Pierre Tachoire
88c6a2395b dom: add WPT for implementation 2023-11-27 17:55:01 +01:00
Pierre Tachoire
443aef4f76 dom: add DOMImplementation.hasFeature 2023-11-27 17:55:00 +01:00
Pierre Tachoire
dde3f149d6 dom: add DOMImplementation.deinit 2023-11-27 17:55:00 +01:00
Pierre Tachoire
1c4edf7c95 dom: implement document constructor 2023-11-27 17:55:00 +01:00
Pierre Tachoire
7bd4729d3f dom: add document.implementation 2023-11-27 17:54:59 +01:00
Pierre Tachoire
766c2ae47c dom: add DOMImplementation 2023-11-27 17:54:57 +01:00
Francis Bouvier
060a044f81 Merge pull request #95 from Browsercore/submodule_update
Revert libdom to last commit
2023-11-27 17:45:54 +01:00
Francis Bouvier
9141baa144 Revert libdom to last commit
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-11-27 17:45:04 +01:00
Francis Bouvier
9a5865bd56 Merge pull request #81 from Browsercore/dom_exception
Add DOMException
2023-11-27 17:02:04 +01:00
Francis Bouvier
0ba0ae5b4e dom_exception: adapt to interface definition change
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-11-27 16:44:26 +01:00
Francis Bouvier
d279e01456 Merge pull request #92 from Browsercore/update_jsruntime
Update jsruntime
2023-11-27 16:40:26 +01:00
Francis Bouvier
d72e596b89 Update jsruntime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-11-27 16:39:43 +01:00
Francis Bouvier
86489f3635 dom_exception: add errors not handled by netsurf
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-11-27 16:20:31 +01:00
Pierre Tachoire
4f8fffeb0f Merge pull request #89 from Browsercore/up-jsruntime-lib
upgrade jsruntime-lib
2023-11-27 12:35:50 +01:00
Pierre Tachoire
11c18017c3 upgrade jsruntime-lib 2023-11-27 12:28:54 +01:00
Pierre Tachoire
4b2f85fcf6 ci: fix deps change detection 2023-11-27 12:28:54 +01:00
Pierre Tachoire
576e8bb8e4 ci: run tests on jsruntime-lib update 2023-11-27 12:28:53 +01:00
Pierre Tachoire
36005cd591 Merge pull request #86 from Browsercore/jsruntime_changes
Adapt to free js slices
2023-11-27 12:22:07 +01:00
Pierre Tachoire
6d26910234 Merge pull request #90 from Browsercore/test-workflow
ci: run tests on jsruntime-lib change
2023-11-27 12:01:28 +01:00
Pierre Tachoire
188d834212 ci: run tests on jsruntime-lib change 2023-11-27 12:00:25 +01:00
Pierre Tachoire
559ecd1543 Merge pull request #78 from Browsercore/domcdoc-encoding
dom: implement document.characterSet
2023-11-27 09:56:25 +01:00