Commit Graph

1087 Commits

Author SHA1 Message Date
Pierre Tachoire
6b42b5abdd anchor: implement HTMLHyperlinkElementUtils interface
https://html.spec.whatwg.org/#htmlhyperlinkelementutils
2024-05-14 13:44:27 +02:00
Pierre Tachoire
e12d6e85f0 url: add origin getter 2024-05-14 13:44:26 +02:00
Pierre Tachoire
7da440e9d3 anchro: implement url manipulation 2024-05-14 13:44:26 +02:00
Pierre Tachoire
d93a065db9 url: improve url format 2024-05-14 13:44:26 +02:00
Pierre Tachoire
8d6ee42096 anchor: follow up 2024-05-14 13:44:25 +02:00
Pierre Tachoire
df6a905683 dom: add target and href accessors to anchor 2024-05-14 13:44:16 +02:00
Francis Bouvier
88c9875664 Merge pull request #237 from lightpanda-io/zig-js-runtime_rename
Update dependancy jsruntime-lib -> zig-js-runtime
2024-05-14 13:14:05 +02:00
Pierre Tachoire
5fbbf1b59f readme: fix zig-js-runtime step 2024-05-14 12:22:13 +02:00
Pierre Tachoire
f040f422e4 ci: rename jsruntime-lib into zig-js-runtime 2024-05-14 12:18:24 +02:00
Francis Bouvier
986e69f45d Update dependancy jsruntime-lib -> zig-js-runtime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-14 11:35:23 +02:00
Pierre Tachoire
deed0546cc Merge pull request #236 from lightpanda-io/license-source
add AGPL license header in zig files
2024-05-14 08:45:44 +02:00
Pierre Tachoire
2a3a243d1c add AGPL license header in zig files 2024-05-13 20:51:36 +02:00
Pierre Tachoire
eba1a715b1 Merge pull request #235 from lightpanda-io/open
add AGPL license
2024-05-13 14:46:47 +02:00
Pierre Tachoire
973ebcb7b5 add AGPL license 2024-05-13 12:10:15 +02:00
Pierre Tachoire
e1aec8bc07 Merge pull request #230 from lightpanda-io/dom-url
URL api
2024-05-13 11:26:55 +02:00
Pierre Tachoire
806b6c0c1e Merge pull request #233 from lightpanda-io/fix-window-global
wpt: dispatch native event
2024-05-07 16:18:10 +02:00
Pierre Tachoire
c6754d6a6e wpt: dispatch native event 2024-05-07 16:09:20 +02:00
Pierre Tachoire
1be9470942 Merge pull request #232 from lightpanda-io/fix-window-global
browser: fix global object window
2024-05-07 16:08:45 +02:00
Pierre Tachoire
edd0c7d0a3 browser: fix global object window 2024-05-07 15:59:00 +02:00
Pierre Tachoire
d0c741f3bb url: search query dynamic and encoded 2024-05-06 16:32:20 +02:00
Pierre Tachoire
a9842fd790 url: decode query 2024-05-06 15:06:03 +02:00
Pierre Tachoire
f7040153cd url: implement query parsing 2024-05-06 12:45:14 +02:00
Pierre Tachoire
e42b03acd8 mime: extract string parser 2024-05-06 12:44:45 +02:00
Pierre Tachoire
28a87c2a47 url: first draft 2024-05-03 16:18:11 +02:00
Pierre Tachoire
e2cd983851 Merge pull request #220 from lightpanda-io/session_page
Keep reference of current Page in Session
2024-05-02 18:15:53 +02:00
Francis Bouvier
df82d25e91 Return error if a Page already exists in Session
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-02 17:52:23 +02:00
Francis Bouvier
bcf4083f9c Keep reference of current Page in Session
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-02 17:52:14 +02:00
Pierre Tachoire
4444d8a008 Merge pull request #229 from lightpanda-io/upgrade-libdom
upgrade libdom
2024-05-02 17:42:27 +02:00
Pierre Tachoire
d193b73ee3 upgrade libdom 2024-05-02 17:36:44 +02:00
Pierre Tachoire
89bfc8ccdc Merge pull request #222 from lightpanda-io/webstorage
storage: first implementation of webstorage API
2024-05-02 15:35:22 +02:00
Pierre Tachoire
7c06067991 Merge pull request #214 from lightpanda-io/event-callback
Event callback
2024-05-02 15:30:08 +02:00
Pierre Tachoire
8b47d72079 event: set this arg on callback 2024-05-02 15:25:41 +02:00
Pierre Tachoire
a2a0db7bc4 upgrade jsruntime 2024-05-02 15:25:41 +02:00
Pierre Tachoire
5f6e5d57c0 upgrade tests/wpt 2024-05-02 15:23:15 +02:00
Pierre Tachoire
61357ee7e0 storage: update comment about dispatch event 2024-05-02 15:21:21 +02:00
Pierre Tachoire
88106f8449 Merge pull request #226 from lightpanda-io/upgrade-jsruntime
upgrade jsruntime-lib
2024-04-30 08:54:59 +02:00
Pierre Tachoire
6f2f0af0ef upgrade jsruntime-lib 2024-04-30 08:38:53 +02:00
Pierre Tachoire
eb829f4d36 Merge pull request #225 from lightpanda-io/netsurf-empty-event-type
dom: an event type can be null
2024-04-29 17:51:59 +02:00
Pierre Tachoire
d155421a40 netsurf: add missing netsurf DOM errors 2024-04-29 17:42:38 +02:00
Pierre Tachoire
9f2bad7498 dom: an event type can be null
In this case we return empty string
2024-04-29 16:31:37 +02:00
Pierre Tachoire
3c5d601622 storage: first implementation of webstorage API 2024-04-24 11:54:41 +02:00
Francis Bouvier
ba12945e5b Move read input from Cmd callback to allow unit tests
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-04-24 11:17:55 +02:00
Francis Bouvier
96906df64b Implement own protocol to handle msg size
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-04-23 12:48:35 +02:00
Francis Bouvier
3396c70b67 Send Runtime.executionContextCreated events in Page.navigate
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-04-23 10:44:33 +02:00
Francis Bouvier
28d5c682cd Use sendEvent in Runtime.executionContextCreated and expose it
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-04-23 10:44:03 +02:00
Francis Bouvier
7a03562a33 Typo fix Page.LifecycleEvent
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-04-23 10:43:11 +02:00
Francis Bouvier
4a31dd8aa3 Let Page.navigate do actually navigation
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-04-19 17:13:32 +02:00
Francis Bouvier
1b1b7cdfb0 Add page_life_cycle_events in CDP state
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-04-19 17:12:37 +02:00
Francis Bouvier
9e13ffb8ff Add sendEvent utility function
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-04-19 17:11:31 +02:00
Pierre Tachoire
2a94e5a69e Merge pull request #199 from lightpanda-io/c_alloc
setCAllocator
2024-04-19 12:05:56 +02:00