Nikolay Govorov
627312bdab
Add css tokenazer for parse style attribute
2025-12-11 17:05:37 +00:00
Karl Seguin
269c880ee0
Merge pull request #1246 from lightpanda-io/nikneym/is-equal-node
...
Support `isEqualNode`
2025-12-11 21:04:23 +08:00
Halil Durak
fe89aad621
add isEqualNode
...
rework `isEqualNode`
Splits equality logic by node types and groups comparisons nicer.
prefer ancestor's`isEqualNode`
`nodeType` => `getNodeType`
fix attribute comparison logic
Also introduces attribute counting.
remove debug logging
add `isEqualNode` test
2025-12-11 15:55:33 +03:00
Karl Seguin
38fb5b101e
add Document.elementFromPoint and elementsFromPoint
2025-12-11 19:49:51 +08:00
Karl Seguin
3d8b1abda4
More legacy tests
...
Largely around how URL attributes (a.href, img.href, link.href) handle empty
values.
2025-12-11 16:45:19 +08:00
Karl Seguin
0b141e44ae
Merge pull request #1267 from lightpanda-io/blob
...
port remaining blob functionality
2025-12-11 15:31:11 +08:00
Karl Seguin
695ed817e4
port remaining blob functionality
2025-12-11 15:30:43 +08:00
Karl Seguin
f0d9d53588
Merge pull request #1268 from lightpanda-io/nikneym/zigdom-boringssl
...
backport: Prefer BoringSSL as TLS backend
2025-12-11 15:28:10 +08:00
Karl Seguin
471e94d58e
Merge pull request #1269 from lightpanda-io/nikneym/zigdom-fix-kludge-hack
...
backport: Remove `_TYPED_ARRAY_ID_KLUDGE` hack
2025-12-11 15:27:57 +08:00
Halil Durak
7b6776345a
backport: Remove _TYPED_ARRAY_ID_KLUDGE hack
...
Bonus: Add `ArrayBuffer`.
2025-12-11 10:26:13 +03:00
Karl Seguin
68763d9a30
speed up tests
2025-12-11 15:23:39 +08:00
Halil Durak
bead805680
backport: Prefer BoringSSL as TLS backend
2025-12-11 10:19:07 +03:00
Karl Seguin
34f0857b4f
Element legacy test passing
2025-12-11 12:51:56 +08:00
Karl Seguin
b25e46de2e
zig fmt
2025-12-11 11:48:09 +08:00
Karl Seguin
86ae004825
new Comment(?[]const u8)
2025-12-11 07:41:08 +08:00
Karl Seguin
a355d9e517
Handle infinitely recursive mutation observer
...
FireFox hangs in these cases, but we'd rather handle it gracefully.
2025-12-11 07:13:59 +08:00
Karl Seguin
61aca85632
Pass Headers legacy tests
2025-12-10 18:43:24 +08:00
Karl Seguin
159165490d
Allow event listener to remove itself or other pending listeners
2025-12-10 17:56:49 +08:00
Karl Seguin
9c8299f13f
Change to linear scaling for renderer.
...
With the previous exponential approach, a deep site (the deepest element in
amazon's product page is 36 levels deep) would be unrealistic.
2025-12-10 16:39:27 +08:00
Karl Seguin
27e58181fb
Properly resolve inspector ObjectId back to a DOM Node
...
Tweak element boundingRect and "renderer" based on what puppeteer needs.
2025-12-10 15:44:08 +08:00
Pierre Tachoire
a7e0110acb
Merge pull request #1260 from lightpanda-io/cdp-lifecycle-backport
...
support url on createTarget and send lifecycle events
2025-12-09 13:35:45 +01:00
Pierre Tachoire
3769715582
Page.reset msut create context and window once
2025-12-09 12:24:01 +01:00
Pierre Tachoire
0d8dd84df5
support url on createTarget and send lifecycle events
...
Support url parameter on createTarget. we now navigate on createTarget
to dispatch events correctly, even in case of about:blank
2025-12-09 11:29:00 +01:00
Karl Seguin
e98bb16255
Merge pull request #1259 from lightpanda-io/cdp-security-ignore-cert-err-backport
...
cdp: implement Security.setIgnoreCertificateErrors
2025-12-09 17:58:14 +08:00
Pierre Tachoire
6a098665fa
http: remove inflight conn check when enable/disable TLS
2025-12-09 10:47:34 +01:00
Karl Seguin
47b4b68e60
add parsed DocType to document (and handle dumping it)
2025-12-09 16:38:56 +08:00
Pierre Tachoire
53ccefc15c
cdp: implement Security.setIgnoreCertificateErrors
...
ensure no inflight conns is running before set TLS verify
2025-12-09 08:50:58 +01:00
Karl Seguin
0e1b966dce
re-enable CDP dom domain
2025-12-09 13:04:01 +08:00
Karl Seguin
9132bc2375
re-enable CDP node registry
2025-12-09 11:50:33 +08:00
Karl Seguin
49c0e95664
Merge pull request #1242 from lightpanda-io/nikneym/element-apis
...
add `insertAdjacentHTML` and other variants
2025-12-09 06:52:48 +08:00
Karl Seguin
97e920b68f
Merge pull request #1252 from lightpanda-io/ignore-comment
...
improve a little bit Element.innerText
2025-12-09 06:49:55 +08:00
Pierre Tachoire
3538c77b78
innerText: ignore CDATA section
2025-12-08 17:45:53 +01:00
Halil Durak
4bc4b2aeac
Merge pull request #1245 from lightpanda-io/nikneym/performance-api-changes
...
Performance API changes
2025-12-08 17:59:21 +03:00
Pierre Tachoire
38030c7d21
improve Element.innerText formatting
2025-12-08 15:56:18 +01:00
Pierre Tachoire
e74d45d6c2
implement Script.innerText
2025-12-08 15:54:19 +01:00
Karl Seguin
0479813494
add CDATASection
2025-12-08 22:09:15 +08:00
Karl Seguin
ef3ba13979
Add keys/values/entries/forEach/toString to DOMTokenList
2025-12-08 21:31:58 +08:00
Halil Durak
f82cfca2ee
support overloads of Performance#measure
...
`init1` => `init`
support `navigationStart` in `getMarkTime`
Turns out this is just an alias to 0.
prefer `self` instead of `page.window._performance`
2025-12-08 16:26:49 +03:00
Karl Seguin
4b204265c9
handle error in normal scripts
2025-12-08 19:01:59 +08:00
Karl Seguin
fbb37633f0
Add start/cancel/fill/strategy support for ReadableStream
2025-12-08 18:24:15 +08:00
Karl Seguin
09328aeb5a
Merge pull request #1248 from lightpanda-io/ignore-comment
...
textContent and innerText adjustements
2025-12-08 17:58:05 +08:00
Pierre Tachoire
5284d75cb7
use CData.render for innerText
2025-12-08 09:55:31 +01:00
Pierre Tachoire
aac35ae868
implement CData.render
2025-12-08 09:41:06 +01:00
Karl Seguin
65751a69ae
document.cookie
2025-12-08 16:28:31 +08:00
Karl Seguin
121c49e9c3
Remove std.Uri from cookies
...
Everything now works on a [:0]const u8, with browser/URL.zig for parsing
2025-12-08 16:23:19 +08:00
Karl Seguin
0beae3b1a6
Various legacy document tests
...
document.embeds, document.plugins, document.anchor, document.getElementsByName
getElementsByClassName support for multiple class names
various document getters
2025-12-08 14:22:24 +08:00
Arjun Komath
57ce4e16a9
feat: support listening on ipv6
2025-12-08 09:08:57 +08:00
Karl Seguin
9370e298d2
improve HTMLOption and HTMLOptionCollection
2025-12-08 09:07:56 +08:00
Pierre Tachoire
240e8b3502
use a better comparison to detect comment
2025-12-07 09:52:59 +01:00
Karl Seguin
eecadb3962
Merge pull request #1249 from lightpanda-io/comment-format
...
fix comment formatting
2025-12-07 07:10:38 +08:00