Pierre Tachoire
|
e2a8a74906
|
Merge pull request #209 from lightpanda-io/bench
Add benchmark output when running js tests
|
2024-04-10 11:20:41 +02:00 |
|
Pierre Tachoire
|
cb2b488d27
|
bench: prepare v8, libdom and main metrics
|
2024-04-10 09:50:36 +02:00 |
|
Pierre Tachoire
|
a9e2569a1b
|
bench: display duration in ms
|
2024-04-10 09:42:15 +02:00 |
|
Pierre Tachoire
|
e3f7504572
|
test: rename js bench into browser
|
2024-04-08 18:01:38 +02:00 |
|
Pierre Tachoire
|
d080dde361
|
test: bench: use pretty for console output
|
2024-04-08 14:54:55 +02:00 |
|
Pierre Tachoire
|
32349e472c
|
test: add test arguments and expose json benchmark result
|
2024-04-08 14:40:52 +02:00 |
|
Pierre Tachoire
|
49e3d569de
|
dom: fix processing instruction clone
|
2024-04-05 16:34:22 +02:00 |
|
Pierre Tachoire
|
d0dbbacd69
|
css: enable all css tests in zig build test
|
2024-03-18 21:22:45 +01:00 |
|
Pierre Tachoire
|
954a693586
|
css: add matcher test w/ libdom
|
2024-03-18 09:51:05 +01:00 |
|
Pierre Tachoire
|
886c9daa47
|
window: inject DocumentHTML instead of Document
|
2024-03-08 12:24:24 +01:00 |
|
Pierre Tachoire
|
500da5bfd8
|
test: run JSRuntime test func directly
Instead of calling the bultin test functions
Indeed, it causes issue with type comparison.
See https://github.com/lightpanda-io/browsercore/pull/184#issuecomment-1964369066
|
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
|
1c77d998c6
|
test: refacto dump test units
|
2024-02-28 14:40:31 +01:00 |
|
Pierre Tachoire
|
10777a7b46
|
Merge pull request #166 from lightpanda-io/xhr
XHR
|
2024-02-15 16:54:06 +01:00 |
|
Pierre Tachoire
|
47520ae21d
|
xhr: move progress event in its own file
|
2024-02-15 16:43:00 +01:00 |
|
Pierre Tachoire
|
6f46d76c93
|
xhr: implementation follow up
|
2024-02-15 16:42:53 +01:00 |
|
Pierre Tachoire
|
2b79a65d6d
|
xhr: implement async http client
|
2024-02-15 16:42:51 +01:00 |
|
Pierre Tachoire
|
511e9b969a
|
async: use std http client with loop
|
2024-02-15 16:42:50 +01:00 |
|
Pierre Tachoire
|
f714d86bb8
|
xhr: validate method
|
2024-02-15 16:42:50 +01:00 |
|
Pierre Tachoire
|
069313817a
|
netsurf: use EventTargetTBase field to cast EventTarget
|
2024-02-15 15:59:45 +01:00 |
|
Pierre Tachoire
|
9050f2586b
|
events: add EventTargetBase
EventTargetBase implements event target vtable for pure zig struct
|
2024-02-05 16:41:11 +01:00 |
|
Francis Bouvier
|
de7fe8ba09
|
Add tests for Event
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-19 16:46:09 +01:00 |
|
Francis Bouvier
|
ae6a714573
|
First implementation of Event system
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-17 00:12:57 +01:00 |
|
Pierre Tachoire
|
2cdbf68526
|
browser: add a func to dump HTML
|
2024-01-17 18:21:54 +01:00 |
|
Pierre Tachoire
|
b53d4a149c
|
add nav web api
|
2024-01-17 18:21:47 +01:00 |
|
Pierre Tachoire
|
2981703b7f
|
netsurf: add TODO on encoding change error code
|
2024-01-12 15:40:43 +01:00 |
|
Pierre Tachoire
|
028cd2331f
|
netsurf: pass encoding to the parser
|
2024-01-12 15:22:30 +01:00 |
|
Pierre Tachoire
|
1a03412635
|
netsurf: add a test case for html parsing bug
https://github.com/lightpanda-io/libdom/issues/4
|
2024-01-11 16:50:21 +01:00 |
|
Pierre Tachoire
|
408482470b
|
test: run classic test func
|
2024-01-11 16:13:07 +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
|
cc3a7ec4a1
|
netsurf: fix DocumentHTMLParseFromStr and add test
|
2024-01-09 11:33:02 +01:00 |
|
Pierre Tachoire
|
57e948ded5
|
Merge pull request #142 from lightpanda-io/attr
dom: implement Attr interface
|
2024-01-08 17:39:27 +01:00 |
|
Pierre Tachoire
|
0159051b17
|
netsurf: remove deprecated API for parsing HTML
|
2024-01-08 16:02:53 +01:00 |
|
Pierre Tachoire
|
152014fe16
|
dom: implement Attr interface
|
2024-01-03 14:20:42 +01:00 |
|
Pierre Tachoire
|
76bdd94a3c
|
dom: reimplement nodelist in pure zig
|
2023-12-19 14:44:15 +01:00 |
|
Pierre Tachoire
|
5c8d3eba31
|
dom: implement elemnt.classList
and DOMTokenList
|
2023-12-13 10:40:09 +01:00 |
|
Pierre Tachoire
|
ad5c6236a7
|
dom: add NamedNodeMap implementation
and create Attr type
|
2023-12-05 08:53:34 +01:00 |
|
Pierre Tachoire
|
98c4f506b7
|
dom: implement element.*Attribute
|
2023-12-05 08:53:25 +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
|
766c2ae47c
|
dom: add DOMImplementation
|
2023-11-27 17:54:57 +01:00 |
|
Francis Bouvier
|
57dcbe1ba9
|
Add DOMException
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-23 17:14:01 +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
|
84934cca13
|
dom: add HTMLCollection unit tests
|
2023-11-15 16:09:06 +01: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
|
9dda08b8a9
|
dom: document: re-dispatch document function according to spec
|
2023-10-17 18:18:38 +02:00 |
|
Francis Bouvier
|
887dde5ee3
|
Merge pull request #57 from Browsercore/global_aliases
Alias global as self and window
|
2023-10-10 14:50:32 +02:00 |
|
Francis Bouvier
|
28b1bee241
|
Alias global as self and window
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
|
2023-10-10 14:49:57 +02:00 |
|
Francis Bouvier
|
de8f586223
|
text: add wholeText getter
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
|
2023-10-09 16:06:14 +02:00 |
|