Skip to content

Cherry-pick 7 ladybird PRs #25372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Nov 12, 2024
Merged

Cherry-pick 7 ladybird PRs #25372

merged 13 commits into from
Nov 12, 2024

Conversation

nico
Copy link
Contributor

@nico nico commented Nov 12, 2024

tcl3 added 5 commits November 12, 2024 07:39
Previously, the value sanitization algorithm would not trim whitespace
for inputs of type URL or email, if they didn't also contain any
newlines.

(cherry picked from commit c4b8231)
This change ensures that the value sanitization algorithm is run and
the text cursor is set to the correct position when the type attribute
of an input is changed.

(cherry picked from commit 1b74104)
@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Nov 12, 2024
nico and others added 8 commits November 12, 2024 09:48
This was added in 9d03ea6 for LibWeb/DumpLayoutTree/main.cpp.
That utility was moved to LibViewView in SerenityOS#14018 and then deleted
in SerenityOS#18879 after SerenityOS#17836 moved that functionality to headless-browser.

No behavior change.
The IPCs to request a page's text, layout tree, etc. are currently all
synchronous. This can result in a deadlock when WebContent also makes
a synchronous IPC call, as both ends will be waiting on each other.

This replaces the page info IPCs with a single, asynchronous IPC. This
new IPC is promise-based, much like our screenshot IPC.

(cherry picked from commit 3332230)
This corresponds to a recent change in the spec:
w3c/webcrypto#372
Inspired by the following review comment:
LadybirdBrowser/ladybird#1877 (comment)

(cherry picked from commit ee3b86c)
This corresponds to a recent change in the spec:
w3c/webcrypto#379

(cherry picked from commit efad0b5)
@nico nico force-pushed the bulk_sync_1731415186 branch from 207b34d to f6593ea Compare November 12, 2024 14:48
@nico nico merged commit dea1b77 into SerenityOS:master Nov 12, 2024
13 checks passed
@nico nico deleted the bulk_sync_1731415186 branch November 12, 2024 15:45
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants