Commit Graph

3234 Commits

Author SHA1 Message Date
Muki Kiboigo
242b8dceed wip use local zig-v8-fork 2025-11-19 09:39:43 -08:00
Muki Kiboigo
61f1179198 use zig-v8-fork gclient commit 2025-11-19 08:09:31 -08:00
Muki Kiboigo
bf62b0b84a use prebuilt v8 2025-11-19 08:09:31 -08:00
Muki Kiboigo
c31afb3710 build v8 with zig 2025-11-19 08:09:27 -08:00
muki
2b4409248e Merge pull request #1215 from lightpanda-io/misc-navigation-changes
Some checks failed
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
nightly build / build-linux-x86_64 (push) Has been cancelled
nightly build / build-linux-aarch64 (push) Has been cancelled
nightly build / build-macos-aarch64 (push) Has been cancelled
nightly build / build-macos-x86_64 (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
Assorted Navigation Changes/Fixes
2025-11-19 07:31:52 -08:00
Halil Durak
21464dfa55 Merge pull request #1219 from lightpanda-io/nikneym/rework-types
Refactor `types.zig`
2025-11-19 18:25:04 +03:00
Halil Durak
707db8173f prefer an enum instead of struct declarations for JS API table
Also adds utility functions (namely `has`, `getIndex` and `getId`) to work easily with types.
2025-11-19 13:53:06 +03:00
Pierre Tachoire
1412c5821c Merge pull request #1218 from lightpanda-io/cdp-targetinfo-title
Some checks failed
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
cdp: return document's title on targetinfo
2025-11-19 09:50:44 +01:00
Pierre Tachoire
4f236d0b30 cdp: return document's title on targetinfo 2025-11-19 09:11:48 +01:00
Pierre Tachoire
b18ec4dee3 Merge pull request #1216 from lightpanda-io/cdp-createtarget-navigate
cdp: don't navigate for about:blank
2025-11-19 08:23:32 +01:00
Pierre Tachoire
0e3f8c9e42 cdp: don't navigate for about:blank
If the create target url is `about:blank`, don't navigate.
Indeed, Chrome doesn't navigate if the url is blank.
2025-11-18 18:11:57 +01:00
Pierre Tachoire
c4bf37fb5b Merge pull request #1212 from lightpanda-io/cdp-dom-outerhtml
Some checks failed
e2e-test / zig build release (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
nightly build / build-linux-x86_64 (push) Has been cancelled
nightly build / build-linux-aarch64 (push) Has been cancelled
nightly build / build-macos-aarch64 (push) Has been cancelled
nightly build / build-macos-x86_64 (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
cdp: DOM.getouterHTML
2025-11-17 16:57:51 +01:00
Muki Kiboigo
4fc09eccdf proper handling of history opt in navigate 2025-11-17 06:42:56 -08:00
Muki Kiboigo
67f979be77 update navigation index before currenteventchange 2025-11-17 06:42:56 -08:00
Muki Kiboigo
f475f3440e seperate Navigation State and History State 2025-11-17 06:42:56 -08:00
Muki Kiboigo
56e30a9c97 use replaceEntry in History replaceState 2025-11-17 06:42:52 -08:00
Halil Durak
d3522e0e36 Merge pull request #1213 from lightpanda-io/nikneym/remove-kludge
Some checks failed
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
2025-11-17 10:01:26 +03:00
Halil Durak
5417a8d9b0 remove _TYPED_ARRAY_ID_KLUDGE hack
This replaces `_TYPED_ARRAY_ID_KLUDGE` usage with actual types we use for `TypedArray`.
2025-11-14 14:59:28 +03:00
Halil Durak
d15a384f9a Merge pull request #1209 from lightpanda-io/nikneym/webgl-rendering-context
Some checks failed
e2e-test / zig build release (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
nightly build / build-linux-x86_64 (push) Has been cancelled
nightly build / build-linux-aarch64 (push) Has been cancelled
nightly build / build-macos-aarch64 (push) Has been cancelled
nightly build / build-macos-x86_64 (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
Dummy `WebGLRenderingContext`
2025-11-14 14:18:46 +03:00
Halil Durak
f419f05a5e support WEBGL_lose_context 2025-11-14 12:18:13 +03:00
Pierre Tachoire
c2827a0f16 cdp: add browser.Close but ignore it 2025-11-13 18:29:38 +01:00
Pierre Tachoire
263dab0bdf cdp: add DOM.getOuterHTML 2025-11-13 18:29:13 +01:00
Halil Durak
3c98e4f71e add WEBGL_debug_renderer_info 2025-11-13 15:40:59 +03:00
Halil Durak
73574dce52 prefer std.meta.fieldNames for creating the array 2025-11-13 15:38:48 +03:00
Halil Durak
c459325a5f update CanvasRenderingContext2D test
Adds the missing RGBA and long digit hex format tests.
2025-11-13 14:55:12 +03:00
Halil Durak
37ac465695 add WebGLRenderingContext test 2025-11-13 14:36:07 +03:00
Halil Durak
a8298a0fda support getSupportedExtensions 2025-11-13 14:35:53 +03:00
Halil Durak
7404b20228 initial effort for WebGLRenderingContext 2025-11-13 12:56:18 +03:00
Pierre Tachoire
b782cc6389 Merge pull request #1199 from lightpanda-io/nikneym/dummy-canvas
Some checks failed
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
Dummy canvas
2025-11-13 08:28:24 +01:00
Pierre Tachoire
4538464df4 Merge pull request #1205 from lightpanda-io/template-content
handle template's original content
2025-11-13 08:27:46 +01:00
Pierre Tachoire
9081a813e7 Merge pull request #1207 from lightpanda-io/pagetransitionevent
add PageTransitionEvent
2025-11-13 08:27:36 +01:00
muki
0dfd5ce940 Merge pull request #1206 from lightpanda-io/microtask-before-load
Run microtasks before `onload`
2025-11-12 09:06:26 -08:00
Muki Kiboigo
2bbbb4662e fire pageshow after load 2025-11-12 09:04:26 -08:00
Muki Kiboigo
a651c0a2d1 add PageTransitionEvent 2025-11-12 09:04:24 -08:00
Muki Kiboigo
5174212183 run microtasks before firing onload 2025-11-12 08:35:31 -08:00
Halil Durak
d48a6619a3 fix failing isHexColor test 2025-11-12 19:00:33 +03:00
Halil Durak
dd079f0c0e update canvas test 2025-11-12 18:49:13 +03:00
Halil Durak
d193ab6dc0 implement basic support for fillStyle 2025-11-12 18:49:06 +03:00
Halil Durak
4872aabc87 make 6 a valid length for hex colors
Also marks `isHexColor` as public function.
2025-11-12 18:47:39 +03:00
Pierre Tachoire
c4380b91f4 handle template's original content
When the document fragment is called via the content method on a
templat, it must contain the original template's HTML nodes.
2025-11-12 11:02:22 +01:00
Pierre Tachoire
3f2f56d603 Merge pull request #1197 from lightpanda-io/module_loading
Module loading
2025-11-12 07:52:15 +01:00
muki
43b210dcf5 Merge pull request #1200 from lightpanda-io/location-set-hash
add `set_hash` to Location
2025-11-11 20:13:40 -08:00
Muki Kiboigo
16e7c0841d handle empty hashes in Location 2025-11-10 06:52:14 -08:00
Halil Durak
0a705b15ce add color representation by RGBA
It seems we can represent most things with RGBA (at least this is what other browsers do) so a universal color API based on RGBA is nice to have, especially for CSS and Canvas.
2025-11-10 16:57:35 +03:00
Pierre Tachoire
2f2870c066 Merge pull request #1201 from lightpanda-io/devtools
Some checks failed
e2e-test / zig build release (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
nightly build / build-linux-x86_64 (push) Has been cancelled
nightly build / build-linux-aarch64 (push) Has been cancelled
nightly build / build-macos-aarch64 (push) Has been cancelled
nightly build / build-macos-x86_64 (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
update zig-v8
2025-11-10 14:51:21 +01:00
Pierre Tachoire
9c277ae26e add debugger placeholders 2025-11-10 09:47:58 +01:00
Muki Kiboigo
19b9ba8601 add hash support to URL stitch 2025-11-05 10:11:12 -08:00
Muki Kiboigo
92ddb5640d new NavigationEventTarget on new page 2025-11-05 10:08:37 -08:00
Muki Kiboigo
38c6a9bd9d changeLocation on nav 2025-11-05 10:08:37 -08:00
Muki Kiboigo
3cc53b579b add location set hash tests 2025-11-05 10:08:37 -08:00