Muki Kiboigo
7de9422b75
strip utf8 bom from start of robots.txt
2026-02-10 20:29:39 -08:00
Muki Kiboigo
f02a37d3f0
properly handle failed parsing on robots
2026-02-10 20:09:32 -08:00
Karl Seguin
28815a0ae6
Merge pull request #1518 from lightpanda-io/visual_viewport
...
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
e2e-test / browser fetch (push) Has been cancelled
zig-test / zig test using v8 in debug mode (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
e2e-integration-test / zig build release (push) Has been cancelled
e2e-integration-test / demo-integration-scripts (push) Has been cancelled
implement a dummy VisualViewport
2026-02-11 07:14:54 +08:00
Karl Seguin
70c7dfd0f4
Merge pull request #1517 from lightpanda-io/input_type_change
...
Sanitize input values based on type (and on type change)
2026-02-11 07:14:44 +08:00
Karl Seguin
9c2ebd308b
Merge pull request #1516 from lightpanda-io/unhandle_rejection_callback
...
Adds PromiseRejectionCallback
2026-02-11 07:14:26 +08:00
Karl Seguin
11d8412591
Merge pull request #1514 from lightpanda-io/selection_wpt_fixes
...
Fixes extend-20.html and extend-00.html
2026-02-11 07:14:14 +08:00
Karl Seguin
32ca170c4d
Merge pull request #1513 from lightpanda-io/fix_crash_on_double_http_abort
...
Fix double-free of XHR on double client abort
2026-02-11 07:14:01 +08:00
Karl Seguin
388ed08b0e
Merge pull request #1512 from lightpanda-io/fix_scheduled_navigation
...
Fix schedule navigation
2026-02-11 07:13:48 +08:00
Pierre Tachoire
3e1909b645
ci: use cgroups with user's permissions
2026-02-10 18:43:31 +01:00
Pierre Tachoire
b408f88b8c
Merge pull request #1519 from lightpanda-io/readme-robotstxt
...
Update README w/ robots.txt
2026-02-10 14:40:49 +01:00
Pierre Tachoire
09087401b4
update README examples
2026-02-10 14:35:39 +01:00
Pierre Tachoire
c68692d78e
add --obey_robots into README examples
2026-02-10 14:24:38 +01:00
Karl Seguin
ee2a4d0a5d
implement a dummy VisualViewport
2026-02-10 18:08:52 +08:00
Karl Seguin
a15885fe80
Merge pull request #1505 from lightpanda-io/class_name_tokenizer
...
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
e2e-test / browser fetch (push) Has been cancelled
zig-test / zig test using v8 in debug mode (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
Fix class name iterator
2026-02-10 17:07:51 +08:00
Karl Seguin
24111570cf
Sanitize input values based on type (and on type change)
...
Per spec.
2026-02-10 16:59:00 +08:00
Karl Seguin
ded203b1c1
Adds PromiseRectionCallback
...
Fires the window.onunhandledrejection. This API is a bit different than
everything else, because it's entered from the Isolate/Env. So there's a bit
more js -> webapi awareness baked into Env now to handle it.
Also touched up existing Events that have .Global data and changed it to .Temp
and cleaned it up in their deinit.
2026-02-10 16:50:11 +08:00
Karl Seguin
e43fc98c0d
Merge pull request #1511 from lightpanda-io/remove_unused_cache
...
Remove unused cache v8 bridge hint.
2026-02-10 16:11:07 +08:00
Karl Seguin
1efd13545e
apply similar fix to selectAllChildren
2026-02-10 12:23:41 +08:00
Karl Seguin
1193ee1ab9
Fixes extend-20.html and extend-00.html
2026-02-10 12:04:02 +08:00
Karl Seguin
a6ba801738
Fix double-free of XHR on double client abort
...
It's possible (in fact normal) for client.abort to be called twice on a schedule
navigation. We immediately abort any pending requests once a secondary
navigation is called (is that right?), and then again when the page shuts down.
The first abort will kill the transfer, so the XHR object has to null this value
so that, on context shutdown, when the finalizer is called, we don't try to
free it again.
2026-02-10 11:30:10 +08:00
Karl Seguin
e7958f2910
Fix schedule navigation
...
Previously, the Session depended on the page to return a .navigate state when
a secondary navigation should take place. There were a lot of places where the
page returned .done rather than .navigate.
To simplify the code, .navigate is no longer a WaitResult. The page now just has
to return .done, and the Session will check if there's a queued sub-navigation.
This will fix cases where sub-navigation is triggered by a script being executed
as the last step of page loading.
2026-02-10 10:36:18 +08:00
Karl Seguin
cbac9a7703
Remove unused cache v8 bridge hint.
...
Pre-zigdom, we could use the postAttach behavior to store commonly accessed and
never-changed accessors directly on the v8::object. I've tried to re-enable this
feature a couple times, and have failed.
Between the new Snapshot and the always-on unhandled property handler for Window
it never seems to work very well. Plus, Gemini continues to insist that changing
the shape of the Object is more like to hurt than help performance.
There's possibly an optimization here worth revisiting in the future, but for
the time being, this code does nothing except for possibly deceive a reader that
some optimization is going on when it isn't.
2026-02-10 09:57:28 +08:00
Karl Seguin
60d8f2323e
Merge pull request #1509 from lightpanda-io/atob-trim
...
window.atob must trim input
2026-02-10 09:54:31 +08:00
Karl Seguin
70ae6b8d72
Merge pull request #1407 from lightpanda-io/robots
...
Support for `robots.txt`
2026-02-10 09:51:32 +08:00
Nikolay Govorov
a4b1fbd6ee
Use cgroups for RAM mesurement
2026-02-10 01:34:17 +00:00
Muki Kiboigo
e1850440b0
shutdown queued req on robots shutdown
2026-02-09 15:24:35 -08:00
Pierre Tachoire
d5c2aaeea3
window.atob must trim input
2026-02-09 17:08:32 +01:00
Karl Seguin
a06b7acc85
Merge pull request #1501 from lightpanda-io/html_picture_element
...
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
e2e-test / browser fetch (push) Has been cancelled
zig-test / zig test using v8 in debug mode (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
e2e-integration-test / zig build release (push) Has been cancelled
e2e-integration-test / demo-integration-scripts (push) Has been cancelled
Add HTMLPictureElement
2026-02-09 23:00:59 +08:00
Pierre Tachoire
615168423a
Merge pull request #1482 from lightpanda-io/nikneym/failing-document-element-test
...
Add failing `document.documentElement` `load` event test
2026-02-09 15:56:44 +01:00
Muki Kiboigo
73abf7d20e
add tests for selectionchange in HTML Elements
2026-02-09 06:51:26 -08:00
Muki Kiboigo
fcea42e91e
properly expose selection api in HTMLTextAreaElement
2026-02-09 06:51:17 -08:00
Pierre Tachoire
14f7574c41
ci: run test on any change into src/
2026-02-09 15:47:11 +01:00
Muki Kiboigo
8f15ded650
use anyerror for dispatchSelectionChangeEvent
2026-02-09 06:44:32 -08:00
Muki Kiboigo
4aec4ef80a
add selectionchange to HTMLTextAreaElement
2026-02-09 06:42:35 -08:00
Muki Kiboigo
ecb8f1de30
add selectionchange to HTMLInputElement
2026-02-09 06:41:58 -08:00
Pierre Tachoire
4c28180125
Merge pull request #1503 from lightpanda-io/node_iterator
...
Fix 3 WPT cases for NodeIterator
2026-02-09 15:39:24 +01:00
Pierre Tachoire
4138180f43
Merge pull request #1506 from lightpanda-io/allow-propfind-method
...
http: allow PROPOFIND http method
2026-02-09 15:35:44 +01:00
Muki Kiboigo
0d508a88f6
add selectionchange tests
2026-02-09 06:32:36 -08:00
Muki Kiboigo
7c8fcf73f6
dispatch selectionchange when Selection changes
2026-02-09 06:27:50 -08:00
Karl Seguin
5904d72776
Merge pull request #1504 from lightpanda-io/selection_fix_2
...
WPT Selection fixes
2026-02-09 22:27:38 +08:00
Muki Kiboigo
5e32ccbf12
add selectionchange handler on Document
2026-02-09 06:27:34 -08:00
Karl Seguin
6ce136bede
Merge pull request #1502 from lightpanda-io/selection_fix
...
Improve Selection compatibility
2026-02-09 22:27:13 +08:00
Pierre Tachoire
b9f8ce5729
http: allow PROPOFIND http method
...
PROPOFIND is used by webdav to retrieve resource's properties.
http://www.webdav.org/specs/rfc4918.html#METHOD_PROPFIND
For example, Nextcloud public sharing uses PROPOFIND to list shared resources.
2026-02-09 15:16:28 +01:00
Pierre Tachoire
115530a104
http: add PROPOFIND method test case
2026-02-09 15:16:17 +01:00
Muki Kiboigo
65c9b2a5f7
add robotsShutdownCallback
2026-02-09 05:51:42 -08:00
Muki Kiboigo
46c73a05a9
panic instead of unreachable on robots callbacks
2026-02-09 05:35:32 -08:00
Karl Seguin
c5f7e72ca8
Fix class name iterator
...
Used to use std.ascii.whitespace, but per spec, it's only a subset of that which
are valid separators. Other characters, line line tabulation, are valid class
names.
2026-02-09 18:34:53 +08:00
Karl Seguin
e6fb63ddba
WPT Selection fixes
...
Same as https://github.com/lightpanda-io/browser/pull/1502 but applied to other
functions.
2026-02-09 18:25:28 +08:00
Karl Seguin
e2645e4126
Fix 3 WPT cases for NodeIterator
...
- Prevent recursive filters
- Rethrow on filter exception
- Add no-op (as per spec) `detach`
2026-02-09 18:19:36 +08:00
Karl Seguin
36d267ca40
Improve Selection compatibility
...
collapse-30.html WPT test from from 2753/5133 to 5133/5133.
-Return dom_exception from setPosition
-Verify node containment in document
2026-02-09 17:38:11 +08:00