Pierre Tachoire
|
89409a4847
|
xhr: add a setOnload due to a setter issue
see https://lightpanda.slack.com/archives/C05TRU6RBM1/p1706708213838989
|
2024-02-15 16:42:53 +01:00 |
|
Pierre Tachoire
|
c2bc48ba0f
|
xhr: fix implementation errors
|
2024-02-15 16:42:52 +01:00 |
|
Pierre Tachoire
|
8b6d7d0db0
|
xhr: implement prototype chain correctly
|
2024-02-15 16:42:52 +01:00 |
|
Pierre Tachoire
|
af20584ff2
|
async: remove useless http.zig
Replace it with a tested sample implementation
|
2024-02-15 16:42:52 +01:00 |
|
Pierre Tachoire
|
2b79a65d6d
|
xhr: implement async http client
|
2024-02-15 16:42:51 +01:00 |
|
Pierre Tachoire
|
2fa66f93fd
|
async: refacto with comptime generation
|
2024-02-15 16:42:51 +01:00 |
|
Pierre Tachoire
|
c200f60d7d
|
async: add pure 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
|
9d26a43aa8
|
async: copy stdlib http client
|
2024-02-15 16:42:50 +01:00 |
|
Pierre Tachoire
|
f714d86bb8
|
xhr: validate method
|
2024-02-15 16:42:50 +01:00 |
|
Pierre Tachoire
|
df7d17cd30
|
xhr: start implementation
|
2024-02-15 16:42:49 +01:00 |
|
Pierre Tachoire
|
35ede4d79c
|
netsurf: declare EventTargetTBase as extern
to guarantee the memory layout
|
2024-02-15 16:15:14 +01:00 |
|
Pierre Tachoire
|
069313817a
|
netsurf: use EventTargetTBase field to cast EventTarget
|
2024-02-15 15:59:45 +01:00 |
|
Pierre Tachoire
|
bc7055c98d
|
netsurf: fix eventTargetVtable
|
2024-02-15 14:49:24 +01:00 |
|
Pierre Tachoire
|
ae28d9d6a4
|
netsurf: use the right type for EventTarget cast
|
2024-02-15 14:28:14 +01:00 |
|
Pierre Tachoire
|
25a971c440
|
window: remove useless import
|
2024-02-15 14:06:49 +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
|
5619ed020c
|
browser: dispatch window.load event
|
2024-02-12 12:12:13 +01:00 |
|
Pierre Tachoire
|
951bf4b501
|
events: fix remove_event_listener typo
|
2024-02-12 09:38:58 +01:00 |
|
Pierre Tachoire
|
25d4aedb1d
|
events: add mssing iter_event_listener in EventTargetTBase
|
2024-02-12 09:38:19 +01:00 |
|
Pierre Tachoire
|
5aef5a21ac
|
browser: dispatch DOMContentLoaded event
|
2024-02-05 16:41:11 +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
|
501b3caa8e
|
Add legacy document.createEvent and event.initEvent
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-29 09:04:03 +01:00 |
|
Francis Bouvier
|
ce3c533680
|
Add deinit for EventTarget (eventTargetRemoveAllEventListeners)
And unify the way allocator is used on eventTarget add/remove listener
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-29 08:01:35 +01:00 |
|
Francis Bouvier
|
9ba4c69a92
|
Add removeEventListener
And check if callback has been already added in addEventListener
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-24 11:43:16 +01:00 |
|
Francis Bouvier
|
3483dfa81e
|
Check if event target has listener before adding it
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-23 02:56:12 +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
|
da0a54a0df
|
Add more tests cases for event capture/target/bubbles phases
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-19 13:16:40 +01:00 |
|
Francis Bouvier
|
2faf584d36
|
Updates, fix and Event properties
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-18 22:00:36 +01:00 |
|
Francis Bouvier
|
86cc3d25dc
|
Move some details implementation from EventTarget to the parser
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-17 15:29:48 +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
|
9a050fe069
|
html: add missing applet, basefont and keygen tags
|
2024-01-22 11:08:46 +01:00 |
|
Pierre Tachoire
|
45504a50e7
|
html: add menu and menuitem
|
2024-01-19 17:44:28 +01:00 |
|
Pierre Tachoire
|
f7752675bc
|
html: add strong tag
|
2024-01-19 17:42:43 +01:00 |
|
Pierre Tachoire
|
c2106b4b77
|
html: add em tag
|
2024-01-19 17:42:22 +01:00 |
|
Pierre Tachoire
|
d8df27ead7
|
dom: refacto append/prepend/replaceChild in Node
|
2024-01-18 09:59:26 +01:00 |
|
Pierre Tachoire
|
b33fc68898
|
dom: add doc.prepend/append
|
2024-01-18 09:53:21 +01:00 |
|
Pierre Tachoire
|
c0643398d7
|
dom: declare document prepend/append/replaceChildren
|
2024-01-18 09:53:20 +01:00 |
|
Pierre Tachoire
|
84aad08806
|
dom: add element.replaceChildren
|
2024-01-18 09:53:20 +01:00 |
|
Pierre Tachoire
|
3af716d934
|
dom: add element prepend and append
|
2024-01-18 09:53:16 +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
|
a2e266514f
|
dom: extract walker from html_collection to its own file
|
2024-01-17 18:25:05 +01:00 |
|
Pierre Tachoire
|
d22b7a6d29
|
browser: use an arena for the page
|
2024-01-17 18:22:01 +01:00 |
|
Pierre Tachoire
|
40dac207f9
|
window: add event target prototype
|
2024-01-17 18:22:01 +01:00 |
|
Pierre Tachoire
|
2bbaa77891
|
window: document is null by default
|
2024-01-17 18:22:00 +01:00 |
|
Pierre Tachoire
|
5362fcc7b4
|
browser: use charset from headers to parse doc
|
2024-01-17 18:22:00 +01:00 |
|
Pierre Tachoire
|
01a894b7d0
|
mime: parse charset and boundary from content-type
|
2024-01-17 18:22:00 +01:00 |
|
Pierre Tachoire
|
69bbd62edf
|
browser: pass the session to the page
|
2024-01-17 18:21:59 +01:00 |
|
Pierre Tachoire
|
c2a842b80e
|
browser: remove undefined for session attr
|
2024-01-17 18:21:59 +01:00 |
|