aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* compositing: Move image output and shutdown management out of the compositor ↵Martin Robinson2025-02-2025-270/+233
| | | | | | | | | | | | | | | | | | | | | | | (#35538) This is a step toward the renderer-per-WebView goal. It moves various details out of `IOCompositor`. - Image output: This is moved to servoshell as now applications can access the image contents of a `WebView` via `RenderingContext::read_to_image`. Most options for this are moved to `ServoShellPreferences` apart from `wait_for_stable_image` as this requires a specific kind of coordination in the `ScriptThread` that is also very expensive. Instead, paint is now simply delayed until a stable image is reached and `WebView::paint()` returns a boolean. Maybe this can be revisited in the future. - Shutdown: Shutdown is now managed by libservo itself. Shutdown state is shared between the compositor and `Servo` instance. In the future, this sharing might be unecessary. - `CompositeTarget` has been removed entirely. This no longer needs to be passed when creating a Servo instance. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me>
* build(deps): bump aws-lc-rs from 1.12.2 to 1.12.3 (#35561)dependabot[bot]2025-02-201-4/+4
| | | | | | | | | | | | | | | Bumps [aws-lc-rs](https://github.com/aws/aws-lc-rs) from 1.12.2 to 1.12.3. - [Release notes](https://github.com/aws/aws-lc-rs/releases) - [Commits](https://github.com/aws/aws-lc-rs/compare/v1.12.2...v1.12.3) --- updated-dependencies: - dependency-name: aws-lc-rs dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump taffy from 0.7.5 to 0.7.6 (#35562)dependabot[bot]2025-02-202-3/+3
| | | | | | | | | | | | | | | | Bumps [taffy](https://github.com/DioxusLabs/taffy) from 0.7.5 to 0.7.6. - [Release notes](https://github.com/DioxusLabs/taffy/releases) - [Changelog](https://github.com/DioxusLabs/taffy/blob/v0.7.6/CHANGELOG.md) - [Commits](https://github.com/DioxusLabs/taffy/compare/v0.7.5...v0.7.6) --- updated-dependencies: - dependency-name: taffy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde_json from 1.0.138 to 1.0.139 (#35563)dependabot[bot]2025-02-201-2/+2
| | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.138 to 1.0.139. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.138...v1.0.139) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump string_cache_codegen from 0.5.3 to 0.5.4 (#35560)dependabot[bot]2025-02-201-2/+2
| | | | | | | | | | | | | | | Bumps [string_cache_codegen](https://github.com/servo/string-cache) from 0.5.3 to 0.5.4. - [Release notes](https://github.com/servo/string-cache/releases) - [Commits](https://github.com/servo/string-cache/commits/codegen-v0.5.4) --- updated-dependencies: - dependency-name: string_cache_codegen dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde from 1.0.217 to 1.0.218 (#35559)dependabot[bot]2025-02-202-14/+14
| | | | | | | | | | | | | | | Bumps [serde](https://github.com/serde-rs/serde) from 1.0.217 to 1.0.218. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.217...v1.0.218) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump anyhow from 1.0.95 to 1.0.96 (#35558)dependabot[bot]2025-02-201-2/+2
| | | | | | | | | | | | | | | Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.95 to 1.0.96. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.95...1.0.96) --- updated-dependencies: - dependency-name: anyhow dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump app_units from 0.7.6 to 0.7.7 (#35557)dependabot[bot]2025-02-201-2/+2
| | | | | | | | | | | | | | | Bumps [app_units](https://github.com/servo/app_units) from 0.7.6 to 0.7.7. - [Release notes](https://github.com/servo/app_units/releases) - [Commits](https://github.com/servo/app_units/commits/v0.7.7) --- updated-dependencies: - dependency-name: app_units dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump winnow from 0.7.2 to 0.7.3 (#35556)dependabot[bot]2025-02-201-2/+2
| | | | | | | | | | | | | | | Bumps [winnow](https://github.com/winnow-rs/winnow) from 0.7.2 to 0.7.3. - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.7.2...v0.7.3) --- updated-dependencies: - dependency-name: winnow dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Propagate `CanGc` arguments through callers in constructors (#35541)Auguste Baum2025-02-20260-603/+986
| | | Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
* libservo: Move GL acclerated media setup out of `RenderingContext` and ↵Martin Robinson2025-02-2015-465/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | simplify it (#35553) This moves the GL accelerated media setup out of `RenderingContext` which prevents making libservo dependo on the Wayland and X11 versions of surfman explicitly. This support is experimental and (honestly) a bit broken. I've confirmed that this works as well as it did before the change. The main thing here is that the configuration, which currently needs surfman types, moves to servoshell. In addition: 1. Instead of passing the information to the Constellation, the setup is stored statically. This is necessary to avoid introducing a dependency on `media` in `webrender_traits`. It's quite likely that `media` types should move to the internal embedding API to avoid this. This is preserved for a followup change. 2. The whole system of wrapping the media channels in an abstract type is removed. They could be either mpsc channels or IPC channels. This was never going to work because mpsc channels cannot be serialized and deserialized with serde. Instead this just uses IPC channels. We also have other ways of doing this kind of abstraction in Servo so we do not need another. The `mpsc` version was hard-coded to be disabled. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* libservo: Clean up destroyed webview handles (#35547)Delan Azabani2025-02-201-0/+11
| | | | | | | | | | | When the embedder drops the last WebView handle, the webview is destroyed, but the weak handle in libservo never gets cleaned up. This patch adds a step to `spin_event_loop` that cleans up any weak handles that have been destroyed. In theory, checking the strong count should be more efficient than trying to upgrade each handle (only to throw away the strong handle). Signed-off-by: Delan Azabani <dazabani@igalia.com>
* chore: cleanup IME code for Servoshell (#35546)DK Liao2025-02-201-11/+12
| | | Signed-off-by: DK Liao <dklassic@gmail.com>
* build(deps): bump unicode-ident from 1.0.16 to 1.0.17 (#35545)dependabot[bot]2025-02-191-2/+2
| | | | | | | | | | | | | | | Bumps [unicode-ident](https://github.com/dtolnay/unicode-ident) from 1.0.16 to 1.0.17. - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.16...1.0.17) --- updated-dependencies: - dependency-name: unicode-ident dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* compositing: Split non-WebView-specific data into `ServoRenderer` (#35536)Martin Robinson2025-02-192-122/+168
| | | | | | | This will become the new global Servo renderer while each WebView will also have its renderer (but not yet). Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me>
* Remove `Servo::allow_navigation_request` (#35544)Martin Robinson2025-02-192-12/+2
| | | | | This method is now unused in the new Servo API. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* servoshell: Port Authentication dialog code to use egui intead of ↵chickenleaf2025-02-192-9/+78
| | | | | tinyfiledialogs (#35507) Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* dom: Implement `WritableStream` (#34844)Gregory Terzian2025-02-1933-19/+2914
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add basic interface for writable stream Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * add stubs for pipeTo and pipeThrough methods Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * add stubs for writable stream defautl writer Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * add stubs for writable stream controller Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * add underlying source dict Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * add underlying source dict Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement constructor Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement init writable stream Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * impl setup default controller Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement controller setup Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement controller advance queue if neededd Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement stream finish erroring Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement stream reject close and closed promise if needed Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * finish implementation of stream finish erroring Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * call into controller setup from stream constructor Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement stream mark first write request in flight Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement controller process write Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * call into advance queue if needed at various points Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement stream deal with rejection, use from_safe_context Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement controller clear algorithms Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove unused todo Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement stream start erroring Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * finish writer ensure ready promise rejected Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement stream finish in flight write request Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement write constructor and setup Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement controller error Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove unnecessary unsafe code Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * finish implementing process write Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement close sentinel Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement public locked Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement stream abort Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement stream close Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement controller close Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix use of crown Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove unnecessary options around writer promises Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement writer get desired size Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement writer ready Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement writer abort Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement writer close Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement writer release lock Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement writer public write Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement private writer write Uses ai Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement writer release. Uses ai Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * impl controller process close Uses ai Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * finish controller process close Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * root promise handlers Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * handler errors in stream and writer constructor finish implementation of stream finish in flight close Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix warnings Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement controller get chunk size Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * tidy the webidls Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * implement stream get writer Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix assertion of stream state when advancing queue if needed Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * add docs for value with size Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * use reject_error in abort Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove unnecessary allowances of unsafe code Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * turn writable-streams test suite on Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * update encodings test expectations Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * properly check if type is set on sink in stream constructor Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix double borrow in controller advance queue if needed Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * make the queue aware of the close sentinel when dequeuing a value Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix assertion of no backpressure in update backpressure Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * also clear strategy size when clearing algorithms Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove this object arg when calling into strategy size Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix has operations marked in flight Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix typo in has in flight write request Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * turn error into no-op when aborting a stream, if the stream is closed or errored. Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix error handling of calling into abort algorithm Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix error handling of calling into close and write algorithms Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix double borrow on queue fix logic in update_backpressure fix logic in get_desired_size fix logic in writer setup Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * update test expectations for aborting suite Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix controller get_backpressure Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix clippy Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * update test expectations to expect errors in tests using unsupported apis Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix error handling of calling into start algo in controller setup Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * update test expectations for test checking for undefined this in strategy size call Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * update test expectation to timeout for response-stream-with-broken-then.any.worker Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * update interfaces Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix use of global() and error to_jsval Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix use of crown for promise handlers Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove fail expectation from worker interface objects test Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove fail expectation for test expecting this to be undefined in callback Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix documentation link for writablestream state Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * refactor write_requests to use a vec deque uses ai Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove unnecessary doc Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * refactor reject_close_and_closed_promise_if_needed to take a safe js context as argument uses ai Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * pass globals and contexts by ref where possible uses ai Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix doc link for controller Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove unnecessary comment Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * change update_backpressure to be a method of the writablestream uses ai Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * rename writer method that resolve closed and ready promise for clarity uses ai Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * add comments for steps in peek queue value Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix doc link for the abort algorihtm fulfillment handler Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix step doc and variable name in abort algo rejection handler Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * Add must_root to pending abort request Co-authored-by: Josh Matthews <josh@joshmatthews.net> Signed-off-by: Gregory Terzian <2792687+gterzian@users.noreply.github.com> * limit visibility to crate for has_operations_marked_inflight Co-authored-by: Josh Matthews <josh@joshmatthews.net> Signed-off-by: Gregory Terzian <2792687+gterzian@users.noreply.github.com> * limit visibility to crate for get_stored_error Co-authored-by: Josh Matthews <josh@joshmatthews.net> Signed-off-by: Gregory Terzian <2792687+gterzian@users.noreply.github.com> * remove potention re-borrow risk in reject loop on write requests in finish_erroring Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove potential re-borrow risk when taking pending abort request in finish_erroring Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove potential re-borrow risk when taking close request in reject_close_and_closed_promise_if_needed Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove re-borrow risks in finish_in_flight_close Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove re-borrow risk on in_flight_close_request in finish_in_flight_close_with_error Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove unnecessary clone of of reason in abort Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix condition on backpressure and a writable state in close Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * limit visibility to crate for update_backpressure Co-authored-by: Josh Matthews <josh@joshmatthews.net> Signed-off-by: Gregory Terzian <2792687+gterzian@users.noreply.github.com> * remove mutability of reason in abort workflow Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove unnecessary use of ignore_malloc_size_of around Dom in controller Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix ignore malloc size of comment for strategy size Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * reduce visibility of public methods to crate in controller Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * remove use of JS_GetPendingException in controller get_chunk_size Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * return early on error in write Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * use is_some_and in assertion that stream.witer is writer in release Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * root pending abort request uses ai Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> * fix mutable re-borrow risk in writer Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> --------- Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> Signed-off-by: Gregory Terzian <2792687+gterzian@users.noreply.github.com> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
* feat: support pre-edit text display for IME (#35535)DK Liao2025-02-196-4/+91
| | | | | | | | | | | | | * feat: support pre-edit text display for IME Signed-off-by: DK Liao <dklassic@gmail.com> * enable ime by show_ime Signed-off-by: DK Liao <dklassic@gmail.com> --------- Signed-off-by: DK Liao <dklassic@gmail.com>
* pixels: Fix webp detection (#35474)Jonathan Schwender2025-02-191-2/+13
| | | | | | | | | According to the riff_container specification, the suffix is only WEBP. Additionally, this commit also verifies that the length of the byte buffer matches the length declared by the riff header. Source: https://developers.google.com/speed/webp/docs/riff_container Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* libservo: Rework and clarify the rendering model of the `WebView` (#35522)Martin Robinson2025-02-1910-161/+130
| | | | | | | | | | | | | | | | | Make the rendering model of the `WebView` clearer: 1. `WebViewDelegate::notify_new_frame_ready()` indicates that the WebView has become dirty and needs to be repainted. 2. `WebView::paint()` asks Servo to paint the contents of the `WebView` into the `RenderingContext`. 3. `RenderingContext::present()` does a buffer swap if the `RenderingContext` is actually double-buffered. This is documented and all in-tree embedders are updated to work with this new model. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* script: add skeleton implementation of `FontFace` API (#35262)Mukilan Thiyagarajan2025-02-1952-548/+1157
| | | | | | | | | | | | | | | | This patch implements the `FontFace` interface, but with some caveats 1. The interface is only exposed on `Window`. Support for Workers will be handled in the future. 2. The concept of `css-connected` `FontFace` is not implemented, so `@font-face` rules in stylesheets will not be represented in the DOM. 3. The constructor only supports using `url()` strings as source and `ArrayBuffer` and `ArrayBufferView` are not supported yet. A skeleton implementation of the `load` method of `FontFaceSet` is also implemented in this patch. The intention is to support some web pages that don't load without this method. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Ensure that qualified-name segments start with a valid start character (#35530)Simon Wülker2025-02-196-161/+141
| | | | | | | | | | | | | | | | | * Add spec comments to various methods Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Ensure that qualified-name segments start with a valid start character Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Fix android build on arm macs (#35516)Jonathan Schwender2025-02-181-1/+16
| | | | | | | | | | The prebuilt directory only contains an `darwin-x86_64` toolchain, but that is perfectly fine, since that also works. In General, if there is only one prebuilt toolchain available, it should be a very safe assumption that it is usable on the host platform, especially if the OS matches. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* build(deps): bump typenum from 1.17.0 to 1.18.0 (#35527)dependabot[bot]2025-02-181-2/+2
| | | | | | | | | | | | | | | | Bumps [typenum](https://github.com/paholg/typenum) from 1.17.0 to 1.18.0. - [Release notes](https://github.com/paholg/typenum/releases) - [Changelog](https://github.com/paholg/typenum/blob/main/CHANGELOG.md) - [Commits](https://github.com/paholg/typenum/compare/v1.17.0...v1.18.0) --- updated-dependencies: - dependency-name: typenum dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add `Notification` Web API binding (#34842)Jason Tsai2025-02-1821-370/+717
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: add Notification Web API binding Signed-off-by: Jason Tsai <git@pews.dev> * chore: update spec link Signed-off-by: Jason Tsai <git@pews.dev> * chore: fix clippy Signed-off-by: Jason Tsai <git@pews.dev> * fix: index overflow Signed-off-by: Jason Tsai <git@pews.dev> * test(tidy): add notification WebIDL standard URL Signed-off-by: Jason Tsai <git@pews.dev> * fix: allow crown::unrooted_must_root Signed-off-by: Jason Tsai <git@pews.dev> * implement GetPermission Signed-off-by: Jason Tsai <git@pews.dev> * fix silent type Signed-off-by: Jason Tsai <git@pews.dev> * add all properties Signed-off-by: Jason Tsai <git@pews.dev> * test: add Notification to global Signed-off-by: Jason Tsai <git@pews.dev> * chore: update wpt manifest and fix clippy Signed-off-by: Jason Tsai <git@pews.dev> * test: temp skip notifications Signed-off-by: Jason Tsai <git@pews.dev> * add vibration and apply suggestions Signed-off-by: Jason Tsai <git@pews.dev> * partially implement RequestPermission Signed-off-by: Jason Tsai <git@pews.dev> * call Permission request permission algorithm Signed-off-by: Jason Tsai <git@pews.dev> * chore: pub crate Notification Signed-off-by: Jason Tsai <git@pews.dev> * chore: fix clippy Signed-off-by: Jason Tsai <git@pews.dev> * chore: crown attribute Signed-off-by: Jason Tsai <git@pews.dev> * fix part of suggestions Signed-off-by: Jason Tsai <git@pews.dev> * fix: store private `Action` structure Signed-off-by: Jason Tsai <git@pews.dev> * chore: fix typo Signed-off-by: Jason Tsai <git@pews.dev> * fix: serialize images URL Signed-off-by: Jason Tsai <git@pews.dev> * fix: use globalscope as environment settings object Signed-off-by: Jason Tsai <git@pews.dev> * chore: add pref `dom_notification_enabled` and default to disabled Signed-off-by: Jason Tsai <git@pews.dev> * fix: use `descriptor_permission_state` Signed-off-by: Jason Tsai <git@pews.dev> * apply suggestions Signed-off-by: Jason Tsai <git@pews.dev> Co-authored-by: Josh Matthews <josh@joshmatthews.net> * test: remove passed meta Signed-off-by: Jason Tsai <git@pews.dev> * test: enable notification prefs in mozilla tests Signed-off-by: Jason Tsai <git@pews.dev> --------- Signed-off-by: Jason Tsai <git@pews.dev> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
* build(deps): bump clap from 4.5.29 to 4.5.30 (#35526)dependabot[bot]2025-02-181-4/+4
| | | | | | | | | | | | | | | | Bumps [clap](https://github.com/clap-rs/clap) from 4.5.29 to 4.5.30. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.29...clap_complete-v4.5.30) --- updated-dependencies: - dependency-name: clap dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump the gstreamer-related group with 22 updates (#35525)dependabot[bot]2025-02-181-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the gstreamer-related group with 22 updates: | Package | From | To | | --- | --- | --- | | gstreamer | `0.23.4` | `0.23.5` | | gstreamer-base | `0.23.4` | `0.23.5` | | gstreamer-gl | `0.23.4` | `0.23.5` | | gstreamer-gl-sys | `0.23.4` | `0.23.5` | | gstreamer-sys | `0.23.4` | `0.23.5` | | gstreamer-video | `0.23.4` | `0.23.5` | | gstreamer-app | `0.23.4` | `0.23.5` | | gstreamer-app-sys | `0.23.4` | `0.23.5` | | gstreamer-audio | `0.23.4` | `0.23.5` | | gstreamer-audio-sys | `0.23.4` | `0.23.5` | | gstreamer-base-sys | `0.23.4` | `0.23.5` | | gstreamer-gl-egl | `0.23.4` | `0.23.5` | | gstreamer-gl-egl-sys | `0.23.4` | `0.23.5` | | gstreamer-gl-x11 | `0.23.4` | `0.23.5` | | gstreamer-gl-x11-sys | `0.23.4` | `0.23.5` | | gstreamer-player | `0.23.4` | `0.23.5` | | gstreamer-player-sys | `0.23.4` | `0.23.5` | | gstreamer-sdp | `0.23.4` | `0.23.5` | | gstreamer-sdp-sys | `0.23.4` | `0.23.5` | | gstreamer-video-sys | `0.23.4` | `0.23.5` | | gstreamer-webrtc | `0.23.4` | `0.23.5` | | gstreamer-webrtc-sys | `0.23.4` | `0.23.5` | Updates `gstreamer` from 0.23.4 to 0.23.5 Updates `gstreamer-base` from 0.23.4 to 0.23.5 Updates `gstreamer-gl` from 0.23.4 to 0.23.5 Updates `gstreamer-gl-sys` from 0.23.4 to 0.23.5 Updates `gstreamer-sys` from 0.23.4 to 0.23.5 Updates `gstreamer-video` from 0.23.4 to 0.23.5 Updates `gstreamer-app` from 0.23.4 to 0.23.5 Updates `gstreamer-app-sys` from 0.23.4 to 0.23.5 Updates `gstreamer-audio` from 0.23.4 to 0.23.5 Updates `gstreamer-audio-sys` from 0.23.4 to 0.23.5 Updates `gstreamer-base-sys` from 0.23.4 to 0.23.5 Updates `gstreamer-gl-egl` from 0.23.4 to 0.23.5 Updates `gstreamer-gl-egl-sys` from 0.23.4 to 0.23.5 Updates `gstreamer-gl-x11` from 0.23.4 to 0.23.5 Updates `gstreamer-gl-x11-sys` from 0.23.4 to 0.23.5 Updates `gstreamer-player` from 0.23.4 to 0.23.5 Updates `gstreamer-player-sys` from 0.23.4 to 0.23.5 Updates `gstreamer-sdp` from 0.23.4 to 0.23.5 Updates `gstreamer-sdp-sys` from 0.23.4 to 0.23.5 Updates `gstreamer-video-sys` from 0.23.4 to 0.23.5 Updates `gstreamer-webrtc` from 0.23.4 to 0.23.5 Updates `gstreamer-webrtc-sys` from 0.23.4 to 0.23.5 --- updated-dependencies: - dependency-name: gstreamer dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-base dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-gl dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-gl-sys dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-sys dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-video dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-app dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-app-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-audio dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-audio-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-base-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-gl-egl dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-gl-egl-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-gl-x11 dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-gl-x11-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-player dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-player-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-sdp dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-sdp-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-video-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-webrtc dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gstreamer-webrtc-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* libservo: Expose `SoftwareRenderingContext` and `WindowRenderingContext` ↵Martin Robinson2025-02-1818-451/+495
| | | | | | | | | | | | | | (#35501) Expose two easy-to-use wrappers around `SurfmanRenderingContext` that make the API simpler to use: - `WindowRenderingContext`: This `RenderingContext` is a newtype around `SurfmanRenderingContext` takes a `raw-window-handle` display and window and creates a full window rendering context. - `SoftwareRenderingContext`: is wraps `SurfmanRenderingContext` and adds a swap chain in order to expose a software GL rendering context. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* script: Add custom logging representation for DOM interfaces. (#35416)Josh Matthews2025-02-181-14/+73
| | | Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Make WebBluetooth an optional feature. (#35479)Josh Matthews2025-02-1842-37/+124
| | | Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Don't attempt to report style attribute for non-htmlelements to devtools ↵Simon Wülker2025-02-171-3/+5
| | | | | (#35519) Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* layout: Fully support sizing keywords on main size property of flex item ↵Oriol Brufau2025-02-172-59/+70
| | | | | | | | (#35471) Still lacking support on min and max main size properties, and on the various cross size properties. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* build(deps): bump smallvec from 1.13.2 to 1.14.0 (#35515)dependabot[bot]2025-02-172-6/+6
| | | | | | | | | | | | | | | Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.13.2 to 1.14.0. - [Release notes](https://github.com/servo/rust-smallvec/releases) - [Commits](https://github.com/servo/rust-smallvec/compare/v1.13.2...v1.14.0) --- updated-dependencies: - dependency-name: smallvec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* layout: Partial support for sizing keywords on flex items (#35469)Oriol Brufau2025-02-179-52/+639
| | | | | | | | | | | | | | | | | | * Add tests for sizing keywords on flex items Signed-off-by: Oriol Brufau <obrufau@igalia.com> * layout: Partial support for sizing keywords on flex items When a flex item has `flex-basis: auto`, the used `flex-basis` is the value of the main size property. In that case, if the main size property was set to keyword, we were always assuming it was `auto`. Now we handle non-`auto` keywords correctly. Signed-off-by: Oriol Brufau <obrufau@igalia.com> --------- Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* build(deps): bump document-features from 0.2.10 to 0.2.11 (#35513)dependabot[bot]2025-02-171-2/+2
| | | | | | | | | | | | | | | | Bumps [document-features](https://github.com/slint-ui/document-features) from 0.2.10 to 0.2.11. - [Release notes](https://github.com/slint-ui/document-features/releases) - [Changelog](https://github.com/slint-ui/document-features/blob/master/CHANGELOG.md) - [Commits](https://github.com/slint-ui/document-features/commits) --- updated-dependencies: - dependency-name: document-features dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump equivalent from 1.0.1 to 1.0.2 (#35512)dependabot[bot]2025-02-171-2/+2
| | | | | | | | | | | | | | Bumps [equivalent](https://github.com/indexmap-rs/equivalent) from 1.0.1 to 1.0.2. - [Commits](https://github.com/indexmap-rs/equivalent/compare/v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: equivalent dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump smallbitvec from 2.5.3 to 2.6.0 (#35511)dependabot[bot]2025-02-172-3/+3
| | | | | | | | | | | | | | | Bumps [smallbitvec](https://github.com/servo/smallbitvec) from 2.5.3 to 2.6.0. - [Release notes](https://github.com/servo/smallbitvec/releases) - [Commits](https://github.com/servo/smallbitvec/compare/v2.5.3...v2.6.0) --- updated-dependencies: - dependency-name: smallbitvec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump the gstreamer-related group with 4 updates (#35510)dependabot[bot]2025-02-171-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the gstreamer-related group with 4 updates: [gio-sys](https://github.com/gtk-rs/gtk-rs-core), [glib](https://github.com/gtk-rs/gtk-rs-core), [glib-sys](https://github.com/gtk-rs/gtk-rs-core) and [gobject-sys](https://github.com/gtk-rs/gtk-rs-core). Updates `gio-sys` from 0.20.8 to 0.20.9 - [Release notes](https://github.com/gtk-rs/gtk-rs-core/releases) - [Changelog](https://github.com/gtk-rs/gtk-rs-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/gtk-rs/gtk-rs-core/compare/0.20.8...0.20.9) Updates `glib` from 0.20.7 to 0.20.9 - [Release notes](https://github.com/gtk-rs/gtk-rs-core/releases) - [Changelog](https://github.com/gtk-rs/gtk-rs-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/gtk-rs/gtk-rs-core/compare/0.20.7...0.20.9) Updates `glib-sys` from 0.20.7 to 0.20.9 - [Release notes](https://github.com/gtk-rs/gtk-rs-core/releases) - [Changelog](https://github.com/gtk-rs/gtk-rs-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/gtk-rs/gtk-rs-core/compare/0.20.7...0.20.9) Updates `gobject-sys` from 0.20.7 to 0.20.9 - [Release notes](https://github.com/gtk-rs/gtk-rs-core/releases) - [Changelog](https://github.com/gtk-rs/gtk-rs-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/gtk-rs/gtk-rs-core/compare/0.20.7...0.20.9) --- updated-dependencies: - dependency-name: gio-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: glib dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: glib-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related - dependency-name: gobject-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: gstreamer-related ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* window: avoid NonNull<JSObject> in NamedGetter (#35508)Gae242025-02-173-22/+8
| | | Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* Don't remove used fonts in collect_unused_webrender_resources (#35506)Simon Wülker2025-02-171-1/+1
| | | | | The check on whether or not a font should be retained was inverted. Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* implement Touchevent prevent default behavior (#35031)Bi Fuguo2025-02-1712-260/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * implement Touchevent prevent default behavior * The status change logic of the `TouchHandler` is changed. > The `WaitingForScript` state is canceled. TouchAction can be identified based on the current touch type and numbers if touch points. * Sends current event to script thread along with recognized `TouchAction`. > After dispatch event, script thread sends a `TouchEventProcess(EventResult)` message to main thread. If the event is set to `DefaultAllowed`, the corresponding `TouchAction` information is added. * After receiving `DefaultAllowed(TouchAction)` message, main thread executes corresponding action. > `DefaultPrevented(TouchEventType)` is received. Use `prevent_click` to mark that the default `Click` is blocked, and `prevent_move` to mark that the default `Scroll` and `Zoom` are blocked. In this way, all TouchActions implement preventDefault. Signed-off-by: Bi Fuguo <1782765876@qq.com> * fix some suggestions * support preventDefault fling * move `TouchAction` to share touch directory * check preventDefault everytime when touch * fix zoom ineffective Signed-off-by: Bi Fuguo <1782765876@qq.com> * fix some suggestions rename on_event_processed to on_touch_event_processed clear unused features Signed-off-by: Bi Fuguo <1782765876@qq.com> * Optimizes pan performance by continuously sliding without waiting for the eventhandler. Signed-off-by: kongbai1996 <1782765876@qq.com> * resolve conflict Signed-off-by: kongbai1996 <1782765876@qq.com> --------- Signed-off-by: Bi Fuguo <1782765876@qq.com> Signed-off-by: kongbai1996 <1782765876@qq.com>
* libservo: Expose an `OffscreenRenderingContext` and use it for servoshell ↵Martin Robinson2025-02-1715-608/+655
| | | | | | | | | | | | | | | | | | (#35465) Create a new `RenderingContext` which is used to render to a `SurfmanRenderingContext`-related offscreen buffer. This allows having a temporary place to render Servo and then blitting the results to a subsection of the parent `RenderingContext`. The goal with this change is to remove the details of how servoshell renders from the `Compositor` and prepare for the compositor-per-WebView world. Co-authred-by: Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me> Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* dom: expose obsolete `scheme` attribute for meta tag (#35505)Euclid Ye2025-02-174-123/+8
| | | | | | | | | | | | | * dom: expose obsolete `scheme` attribute for meta tag Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> * update tests Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
* servoshell: Actually set the Servo delegate in servoshell (#35502)Martin Robinson2025-02-163-8/+13
| | | | | | This was implemented, but unset. Fixes #35481. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* `DataTransferItem`: improve spec compliance (#35418)Gae242025-02-167-124/+197
| | | | | | | | | | | | | | | | | | | | | * DataTransfer: remove PlainString and Binary structs Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * add DataTransferItemList remove() test case Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * bring datatransferitem closer to the spec Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> * queue a task to invoke the callback Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com> --------- Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* chore: Update wgpu (#35503)Samson2025-02-165-634/+32
| | | | | | | | | | | | | | | | | | * Update wgpu https://github.com/gfx-rs/wgpu/commit/d8833d079833c62b4fd00325d0ba08ec0c8bc309 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * fix tidy Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* net: Use the unfiltered response status when comparing against cached ↵Josh Matthews2025-02-163-2/+29
| | | | | resources. (#35483) Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: implement HTMLHyperlinkElementUtils for HTMLAreaElement (#35482)shanehandley2025-02-1616-1903/+680
| | | | | | This makes some common functionality in HTMLAreaElement and HTMLAnchorElement shared code. Signed-off-by: Shane Handley <shanehandley@fastmail.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-02-16608-8328/+18642
| | | | | b'de61904887c13679551c32e5e3e70b4dc870c98a' (#35480) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>